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

Diacritics shift when generating woff2 for OpenDyslexic font #139

Open
in0ni opened this issue Apr 28, 2021 · 3 comments
Open

Diacritics shift when generating woff2 for OpenDyslexic font #139

in0ni opened this issue Apr 28, 2021 · 3 comments

Comments

@in0ni
Copy link

in0ni commented Apr 28, 2021

When generating a woff2 from OpenDyslexic the diacritics (acute specifically) are shifted much higher.

I am attaching a screenshot that compares fonts from OTF vs the generated WOFF2, as well as original OTF and generated WOFF2.

otf_vs_woff
fonts.zip

@jfkthame
Copy link

How exactly are you generating the WOFF2 file from the original, and how are you testing the fonts?

@moyogo
Copy link

moyogo commented Apr 28, 2021

The OTF has the same issue as the WOFF2 in the fonts.zip attached.

@in0ni
Copy link
Author

in0ni commented Apr 28, 2021

Thanks for your responses.

I am testing the fonts on a browser. The first section (in orange) simply uses "font-family: OpenDyslexic;"... so loads from OS. The second section (purple) I am using @font-face, with the style/weight set to normal/400.

After your replies I have been able to determine the reason why the accent marks on the headings are different is because of default CSS styles (headings are in bold). So it's using a different variant, and that is why there is a difference. The @font-face rule forces regular style, which I overlooked.

So no, apparently there is no difference -- this can be closed. Thank you for your help!

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

3 participants