[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Are the following calls to "FT_Set_Pixel_Sizes" and "FT_Set_Cha
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Are the following calls to "FT_Set_Pixel_Sizes" and "FT_Set_Char_Size" equivalent? |
Date: |
Wed, 16 Nov 2016 21:21:48 +0100 (CET) |
> 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)
Yes, it's the same.
Werner