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
[font-metrics-api] Clarification on internal leadings #307
Comments
After re-reading the current draft, it reads to me that I'm fine with that, but maybe we want to add methods that includes internal leadings? |
That's a good idea. I'll clarify it. What would you suggest as a name for metrics that include internal leadings? |
Not particular, but what about:
|
Thanks, I'll update the doc to clarify it and to add internal leading. |
Regarding whether to return |
There once was confusion about handling of internal leading in font metrics. Microsoft published a few good kb articles 32667 or 74299 to clarify this, but I think some web developers still have different understanding on this, especially when their native scripts do not use accents.
I wish this new spec clearly defines whether the ascent includes the internal leading or not (I believe it should but I'm ok either way), and hopefully the naming clarifies this point to let web developers think about it, or provide both methods for convenience.
It may make the method names long and redundant though. Thoughts?
cc @astearns @eaenet
The text was updated successfully, but these errors were encountered: