bramstein / stateofwebtype

Up-to-date data on support for type and typographic features on the web.
http://stateofwebtype.com
Other
65 stars 7 forks source link

usable metrics: untangle leading & baselines #4

Open kukulski opened 9 years ago

kukulski commented 9 years ago

As an old-school type nerd, it kills me that there's no reliable way to tease out and use the full set of positioning metrics in HTML/CSS-land.

I've had a hell of a time accurately placing text by its baseline. Could be that I'm missing something obvious, but I've had to do trial-and-error for a given face & size, and then it's only an approximation. Not a robust solution.

(Phrased another way -- HTML does "box text" and doesn't provide the metrics or style attributes necessary to place it with the accuracy that one would with "point text")