Re: [css-houdini-drafts] [font-metrics] Strawperson for FontMetrics API

Maybe there could be separate APIs for measuring text within a DOM node vs custom layout calculations.

For custom layout we need more than just a rectangle.  We need access to the ascent, descent, and advance at the very least.  It would also be nice to have access to the left and right side bearings of each glyph as well.

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

Received on Sunday, 13 May 2018 19:40:18 UTC