Get a font's kerning data #320
-
I am upgrading a library that used a previous beta version of SixLabors.Fonts, in which we could get the kerning from How can I retrieve data from a font's kerning table? I am currently on 1.0.0-beta19. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
What version did you upgrade from? From memory that method was removed because it did not tell the complete story. A glyph will be offset by a combination of glyph shaping and kerning. |
Beta Was this translation helpful? Give feedback.
No worries 😉
I can get that re-added with little effort.
What other metric discrepancies are you seeing? I’ve reworked the metrics over time to match FreeType output. I can normally overlay the output over browser generated equivalents without discernible discrepancy.