Skip to content

Implement cleaner scaling for on-screen text/icons on HiDPI screens #422

@klazoklazo

Description

@klazoklazo

On HiDPI displays with scaling, on-screen text and icons will look blurry. For example, here's a screenshot of puNES on my 4K monitor being scaled up 200%:

Image

Closeups:

Image

Image

As you can see, compared to the text/icons in the status bar, the on-screen text/icons are much blurrier. I presume this is probably because the text/icons are being rendered at 100% and then get scaled up to 200% after the fact. Text should instead be rendered at proper scale to match the native resolution, and any scaling of icons should be done either with a bilinear sharp filter or with nearest neighbor for integer display scaling (like how I use 200% scaling).

Additionally it would be nice if there was an option to choose how far text/icons are scaled in puNES.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions