Skip to content

GitLab

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Menu
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • A Armagetron Advanced
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Armagetron Advanced
  • Armagetron Advanced
  • Issues
  • #33
Closed
Open
Created Jul 18, 2020 by Manuel Moos@zmanuelOwner

Windows: DPI scaling behavior wrong

If the primary display on Windows is set to a scaling factor different than 100%, the only mode working correctly is Fullscreen on Armagetronad 0.4. Windows size gets increased by the scale factor, the contents blurrily scaled up. Even 0.2 fullscreen gets sized up, which of course makes the display larger than the actual screen and useless. Blurry, too.

Solution: Embed a manifest file that pretends we're perfectly DPI aware. That way, we get to keep our pixel sizes. Pretend we're "per monitor DPI aware" for that. "system DPI aware" only gets the correct behavior on the primary monitor, the game still gets resized and blurrily scaled if it is moved to a side monitor with different scaling.

Assignee
Assign to
Time tracking