> When I get width array of font with Free Type (say Shruti) I get
> array of 1491 glyphs/widths.
>
> When I try to add same font to pdf document with Adobe I get font
> dictionary with different widths (values and sizes). Is there some
> scaling that I'm missing?
>
> I use ::FT_Load_Glyph(ftFace, glyphIndex, FT_LOAD_NO_SCALE) to load
> glyph in slot and ftFace->glyph->metrics.width to access width.
This is far too generic. Adobe might
. do font subsetting
. use a different default width on which all other metric values
are based
. use fix metrics from TrueType to generic PostScript units
. use a scaling matrix for whatever reasons
etc., etc.
Please remember that FreeType is *not* a library to manipulate fonts.
Its primary usage is to *render* fonts.
Werner
_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype