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

Unable to change fonts on Windows XP #261

Closed
nicolaasjan opened this issue Feb 8, 2024 · 5 comments
Closed

Unable to change fonts on Windows XP #261

nicolaasjan opened this issue Feb 8, 2024 · 5 comments

Comments

@nicolaasjan
Copy link

Supermium Version 121.0.6167.81 Hotfix 32bit, on 32bit XPSP3.

I want to change the default fonts to Noto Sans for better readability, but I'm greeted with greyed out options...:

screenshot_20240208-2

@win32ss
Copy link
Owner

win32ss commented Feb 8, 2024

This appears to be a limitation of GDI as implemented in Chromium. But I quickly checked version 49 and it does not have this issue. I'll be looking into this for sure.

@Vangelis66
Copy link

Vangelis66 commented Feb 8, 2024

... Looks like a similar issue as that one 😜 (well, the exact OS there was XP SP2 x64); the developer, weolar, seems to have come up with a solution, but since that project is still closed source, not much help to be found there, I suppose 😞 ...

FWIW, I can reproduce under Vista SP2 x86 OS, too, when enabling #force-gdi (which is, sadly, needed on that OS to properly display webfonts/glyphs, etc.).

@JoachimHenze
Copy link

The issue does persist in Supermium Supermium 122.0.6261.85 on Windows XPSP3:
image

@nyanpasu64
Copy link

nyanpasu64 commented Mar 8, 2024

As an additional bug, on XP Supermium picks a default "monospace" font that resolves to Times New Roman rather than an actual monospace font. This is caused because Supermium GDI is hard-coded to resolve monospace to Consolas, which is not present on XP; if I copy Consolas from a newer computer (eg. Windows 7) into XP's Control Panel -> Fonts, then monospace shows Consolas instead.

  • EDIT: From reading the source (IDS_FIXED_FONT_FAMILY_ALT_WIN -> PrefsTabHelper::RegisterProfilePrefs()), it's possible that Consolas is only incorrectly selected when XP is configured with ClearType enabled. I verified that Standard font smoothing (and presumably off) pick Courier New instead.

I haven't looked into the code that normally allows for font customization (and doesn't work under GDI rendering).

@JoachimHenze
Copy link

"Unable to change fonts on Windows XP" bug/limitation does still happen in latest "Supermium 122.0.6261.152 (R4)" 32bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants