Re: [css-houdini-drafts] [font-metrics-api] Revised proposal of font metrics for each character

At first I thought `codeUnitIndexes` should be a plural and an array and that UAs should not synthetize the individual code points because it's not possible for the API consumer to know that it is not safe to reuse. Though now I think about it, the same holds true if `kerning` is factored in, so you probably can't reuse anyway. Thoughts?

Also, I think this API needs to return first a "runs" array consisting of arrays of text runs of same font and directionality, otherwise how do you represent the position/advance of a glyph that is preceded by glyphs of another directionality?

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/828#issuecomment-433013206 using your GitHub account

Received on Thursday, 25 October 2018 11:21:33 UTC