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

underline behavior #109

Closed
jraller opened this issue Nov 22, 2016 · 4 comments
Closed

underline behavior #109

jraller opened this issue Nov 22, 2016 · 4 comments
Labels

Comments

@jraller
Copy link

jraller commented Nov 22, 2016

The behavior of underlined text is different between Chrome and Firefox. Firefox renders the underline significantly lower than Chrome does under English text.

@khaledhosny
Copy link
Member

The underline position in the font is tailored for Arabic since fonts currently do not have different underline positions for different scripts. Firefox uses the value from the font while Chrome does not. See also w3c/csswg-drafts#459.

@attilatorcsvari
Copy link

I am aware, this is closed... yet similar behavior detected in Microsoft Word, whereas the line distance is also problematic.

Though this is not the primary purpose of this font, but, since even the Latin part is so beautiful,, couldn't there be a possibility to create a clone of this very same font with a distinguishable name, setting line height/underline distance for those would be delighted to use the Latin letters more than the Arabic letters? Thank you.

@khaledhosny
Copy link
Member

Any one is free to make such clone of course, or one can directly use the original Latin font I re-used in Amiri: https://github.com/skosch/Crimson

@tuomassalo
Copy link

See this underline issue in action here: https://codepen.io/anon/pen/NeprWX

Here's a screenshot from Firefox 64 (left) and Chrome 71 (right) on macOS 10.13:

amiri

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

No branches or pull requests

4 participants