freetype
[Top][All Lists]
Advanced

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

[ft] Are the following calls to "FT_Set_Pixel_Sizes" and "FT_Set_Char_Si


From: Yaron Cohen-Tal
Subject: [ft] Are the following calls to "FT_Set_Pixel_Sizes" and "FT_Set_Char_Size" equivalent?
Date: Wed, 16 Nov 2016 21:56:14 +0200

Hi,

I was wondering whether the following r exactly equivalent:

float width, height;
int dpi;

...

1) FT_Set_Pixel_Sizes(face, width, height)
2) FT_Set_Char_Size(face, width*64*72/dpi, height*64*72/dpi, dpi, dpi)


.. or is there anything I'm missing?

Thanx!
Yaron

reply via email to

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