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

Failed to decode downloaded font #138

Open
brynne8 opened this issue Dec 29, 2023 · 5 comments
Open

Failed to decode downloaded font #138

brynne8 opened this issue Dec 29, 2023 · 5 comments

Comments

@brynne8
Copy link

brynne8 commented Dec 29, 2023

I'm using webfont in woff and ttf formats, with supermium 119 on Windows 7. But the fonts are failed to decode:

Failed to decode downloaded font <URL>
OTS parsing error: Unable to instiante font face from font data
@win32ss
Copy link
Owner

win32ss commented Dec 29, 2023

Are you using GDI? Otherwise, do you have Platform Update?

It seems there are problems with remote fonts with early DirectWrite and GDI.

@brynne8
Copy link
Author

brynne8 commented Dec 30, 2023

I just ran the installer from the releases. The font (just some iconfont like font awesome) works well on Chrome as well as Chromium. I didn't enforce the GDI flag.

@win32ss
Copy link
Owner

win32ss commented Dec 30, 2023

Have you installed the Windows 7 Platform Update (KB2670838)?

Anyway, I will attempt to force the use of remote fonts in DirectWrite v1. I confirmed that the fonts appeared in GDI with everything from XP to Windows 10.

@brynne8
Copy link
Author

brynne8 commented Dec 31, 2023

I didn't install that Windows Update. Maybe it's the cause.

@ghost
Copy link

ghost commented Jan 9, 2024

Fonts do look uglier on GDI. 7 without Platform Update is just fine rendering web fonts on older Chromium (109) with DirectWrite.

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

2 participants