freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] query font sizes


From: mpsuzuki
Subject: Re: [ft-devel] query font sizes
Date: Thu, 27 Nov 2008 02:31:33 +0900

Hi,

On Wed, 26 Nov 2008 08:57:47 -0800 (PST)
jameswh77 <address@hidden> wrote:
>im using freetype for rendering and its working fine.  however i would like
>to query the list of available sizes which the font has.  for example arial
>has 8,9,10,11,14,16,18 etc etc.  is it possible to enumurate these?  when i
>load arial, the "num_fixed_sizes" is 0.  ive tried enumarating the
>face->sizes_list too, but i cant get any useful data out of this.  

Excuse me, I guess you're asking about how to query
the list of available "bitmap" sizes (in pixel) in
given TrueType font. If so, please check
face->num_fixed_sizes and face->available_sizes.

Regards,
mpsuzuki




reply via email to

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