freetype
[Top][All Lists]
Advanced

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

Re: getting outline data of a specified point size


From: Tamito KAJIYAMA
Subject: Re: getting outline data of a specified point size
Date: Tue, 18 Apr 2000 23:31:43 +0900

I wrote:
|
| The outline data is read by specifying 72 dpi in resolutions and
| a desired point size (e.g. 12 points):
| 
|   TT_Set_Instance_Resolutions(instance, 72, 72);
|   TT_Set_Instance_CharSize(instance, 12 * 62);
| 
| However, the size of resulting outlines seems larger than 12
| points.

I found the cause of my problem.  Although I mentioned the way
of calling the two library functions as quoted above, the actual
program had called them in the reverse order.  Thus, the default
resolutions (96 dpi) had remained unchanged.  I consulted the
source code to make sure that the order is important.  I think
this fact should be described in the Core Library Reference.

Regards,

-- 
KAJIYAMA, Tamito <address@hidden>



reply via email to

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