On 22/11/2016 15:26, Werner LEMBERG wrote:

Here is a sample program; and here's the output that I'm getting:

Output:
    Num rows (char |): 32
    Num rows (char f): 38

[...]

    const char* filename = "C:\\Windows\\Fonts\\frank.ttf";

Have you ever looked at this font?  The vertical bar is *much* smaller
than the `f' glyph!

I apologize.

I assumed the pipe symbol was the tallest glyph in the font.

I guess the only way to determine the tallest or widest glyph (or the FT_Size_RequestRec parameters) is, as you said, by trial and error.

Regards,

- Olumide



_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to