antijingoist / opendyslexic

OpenDyslexic, a typeface that uses typeface shapes & features to help offset some visual symptoms of Dyslexia. Now in SIL-OFL.
https://opendyslexic.org
Other
610 stars 38 forks source link

Font does not display at correct size when using font-size-adjust. #77

Open muster-mark opened 1 year ago

muster-mark commented 1 year ago

When using font-size-adjust, the font goes much much smaller than it should.

Here is without font-size-adjust:

Screenshot 2022-10-06 at 11 42 46

And here is with font-size-adjust: 0.5:

Screenshot 2022-10-06 at 11 42 28

Which definitely seems wrong.

jessebc commented 1 year ago

This appears to render ok in Safari's new implementation of font-size-adjust, but is still broken in Firefox

muster-mark commented 1 year ago

Does anyone know if the bug is in the font, the browser, both or neither (i.e. spec is ambiguous). I don't know how this works, so don't have a clue. I was assuming it was the font on the basis that it is only this font I have experienced an issue with, but happy to be corrected.

jessebc commented 1 year ago

I think it's in the font. I noticed that version 3 of this font seems to behave as expected (or at least closer to what is expected) but it doesn't have italics.

bradmcclintock commented 11 months ago

I've been playing with OpenDyslexic in LaTeX and I think it is the font too. It looks like the 'ex' dimension specified in the font file is too large (I haven't yet tested the 'em' dimension).