freetype
[Top][All Lists]
Advanced

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

Re: [ft] FT_Set_Char_Size vs. FT_Set_Pixel_Sizes


From: Olumide
Subject: Re: [ft] FT_Set_Char_Size vs. FT_Set_Pixel_Sizes
Date: Tue, 22 Nov 2016 15:46:40 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0

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





reply via email to

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