Replies: 5 comments 2 replies
-
@antonfirsov thx for the transfers this is maybe even for the Fonts library |
Beta Was this translation helpful? Give feedback.
-
Any news on this ? |
Beta Was this translation helpful? Give feedback.
-
In support of this feature, here's how I'm using the library now and what I'm attempting to do -- I'm trying to match the baseline of different font sizes: Right now I'm just using a "fudge" number to get them to appear on the same line: |
Beta Was this translation helpful? Give feedback.
-
As of 1.0.0-beta16 we've added a ton of metrics to our FontMetrics and GlyphMetrics classes. These are all given in font units and can be converted to the scaled values using the following formula.
There's a few more that can be parsed directly from the font but I'd need help finishing things off. |
Beta Was this translation helpful? Give feedback.
-
As somebody new to Fonts, I didn't know what measurements like AdvanceHeight or LeftSideBearing represented. So I wrote a program to illustrate them. Here are some examples: The bearing values can actually be negative. An example of a glpyh with a negative left side bearing: An example of a glyph with a negative right sight bearing: |
Beta Was this translation helpful? Give feedback.
-
Feature request:
Hi guys i want to say first of all great work we have been using your library for some time and it works perfectly.
We have a feature sugestion you might be interested in.
It would be nice if we could align or at least get these mesurments from the
TextMeasurer
classFor me i would like to see Cap Height as well as X-height
Beta Was this translation helpful? Give feedback.
All reactions