[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] The problem about FT_Set_Char_Size and FT_Set_Pixel_Sizes。
From: |
Lawrence D'Oliveiro |
Subject: |
Re: [ft] The problem about FT_Set_Char_Size and FT_Set_Pixel_Sizes。 |
Date: |
Thu, 23 Mar 2017 15:40:43 +1300 |
On Thu, 23 Mar 2017 09:06:55 +0800, haoyifan wrote:
> The main problem is don't know how parameters corresponding to the
> actual pixel size.
FT_Set_Char_Size sets what’s called the “design size” for the font. The
correspondence between this and the text metrics is entirely decided by
the font designer. A piece of text rendered with two different fonts
set to the same “design size” should look approximately similar in
size, but there are no guarantees about how their metrics relate.