freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] receive "correct" glyph-metrics.


From: Marcel Schneider
Subject: [ft] receive "correct" glyph-metrics.
Date: Tue, 4 Oct 2016 17:37:03 +0200

Hi,

i want receive the glyph metrics, but i have some litte troubles with.

within following steps:

1. load Face(*.ttf)
2. set CharSize(32)
3. get glyph-index by given char
3. load Glyph with default options.
4. read outline-points with line, conic and cubic segments (mulitplicate with 64 for dpi/pixel-relation)
5. render through open-gl

resulting to an midsize glyph-display output through a opengl-window.

now i want to receive glyph-metrics, but the values wide different from that of the outline-points, i dont know how to translate these width, advance, bearing metrics to compilant values for the outline points values.

please help.

thx pdx 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]