freetype
[Top][All Lists]
Advanced

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

Re: [ft] Displacement


From: Chi
Subject: Re: [ft] Displacement
Date: Wed, 14 Jun 2006 12:34:43 +0800

Hi,
 
After some experiments, I have some new founding.
As I had mentioned I was using arial.ttf .
In freetype 2.1.4, when I set the point to 8.

FT_Set_Char_Size(* m_pFace, (unsigned int)0, (unsigned int)(point * 64.0f), 96, 96);

fontheight = (* m_pFace)->size->metrics.height * 0.015625f;

the metrics.height will be 832 , so returns 13.
set point to 8   in freetype 2.2.1 metrics.height will be 768, so returns 12.
for arialbd.ttf, 2.1.4 returns 15 while 2.2.1 returns 13.
 
I am going to upgrade to 2.2.1 but I afraid the metrics will change again in future version.
Any idea?
 
Thx,
 
Chi

reply via email to

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