Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROM Properties tab uses mix of bitmapped and aliased fonts on Windows #28

Closed
GerbilSoft opened this issue Aug 5, 2017 · 3 comments
Closed
Assignees
Milestone

Comments

@GerbilSoft
Copy link
Owner

Issue by vaguerant
Monday Oct 24, 2016 at 07:04 GMT
Originally opened as https://github.com/GerbilSoft/rom-properties.reworking/issues/28


Windows uses some font with bitmapped glyphs at small font sizes (probably Arial?) by default in Properties dialogues, while rom-properties prefers to use an outlines-only, non-bitmapped font for its monospace text output on the ROM Properties tab. See the Entry Point field in this image.

aliased

This is probably not as noticeable/noticeable at all on systems with ClearType enabled (the default on any recent Windows) where the variable-width font will also look aliased, so this is likely a niche issue that only concerns systems where ClearType is disabled.

For reference, monospace, bitmapped fonts that are bundled with most Windows releases include Courier, Courier New, Fixedsys, Lucida Console and MS Gothic. Courier New is probably the one most commonly used/expected by end users, from this list, but I doubt any would be particularly jarring.

@GerbilSoft
Copy link
Owner Author

Comment by GerbilSoft
Monday Oct 24, 2016 at 07:06 GMT


With ClearType enabled, anti-aliasing is enabled for the standard dialog font, so it isn't noticeable in that case.

The solution is to set NONANTIALIASED_QUALITY when creating the monospaced font, but this makes it out of place with ClearType enabled. I'll have to have it dynamically adjust the font depending on the system ClearType setting, and update the fonts if the setting is changed.

@GerbilSoft
Copy link
Owner Author

Comment by GerbilSoft
Tuesday Oct 25, 2016 at 02:33 GMT


Should be fixed by commits a1285e9 and bce6635. If possible, can you compile the latest rom-properties from source and verify that it's fixed? (You'll need cmake and MSVC 2010 or later.)

@GerbilSoft
Copy link
Owner Author

Comment by DankRank
Sunday Jan 29, 2017 at 12:03 GMT


Here's how it looks now without cleartype:
image

The same image with cleartype enabled, for reference:
image

Looks like it's fixed.

@GerbilSoft GerbilSoft added this to the 0.9 milestone Aug 5, 2017
@GerbilSoft GerbilSoft changed the title [CLOSED] ROM Properties tab uses mix of bitmapped and aliased fonts on Windows ROM Properties tab uses mix of bitmapped and aliased fonts on Windows Aug 5, 2017
@GerbilSoft GerbilSoft self-assigned this Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant