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: Werner LEMBERG
Subject: Re: [ft] FT_Set_Char_Size vs. FT_Set_Pixel_Sizes
Date: Thu, 17 Nov 2016 17:46:24 +0100 (CET)

>> I am using FreeType not to render to screen but just to rasterize a
>> font for some esoteric purpose that I won't bother to describe.
>> That said should I be using FT_Set_Char_Size or FT_Set_Pixel_Sizes?

It doesn't matter.  Both work the same.

>> As I am not rendering to screen, dpi does not matter in the
>> slightest bit.

Well, then use FT_Set_Pixel_Sizes.

> Also, I am confused as to why the size (i.e. dimensions) of a face
> are specified before a glyph is selected, bearing in mind that
> glphys tend to have different widths and heights.  That said, why
> then specify a face size?

Just compare this to the font size in your browser if zoom in or out.
This essentially sets the global size for the currently used font.


    Werner



reply via email to

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