freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Finding which glyphs are available


From: Tom Kacvinsky
Subject: Re: [Devel] Finding which glyphs are available
Date: Wed, 12 Sep 2001 12:19:07 -0400 (EDT)

Get the glyph index for the char code (FT_Get_Char_Index is the function
you will want to use).  If it returns glyph index 0, then the glyph is not
avaiable.

Hoep that helps,

Tom

On Wed, 12 Sep 2001, Scott Long wrote:

> First of all, thanks for FreeType. It's been tremendously useful to us.
>
> I've been looking for a way to determine, given a character code,
> whether the corresponding glyph is present in a face. For example, I
> select the Unicode charmap, and wish to determine if the glyph
> corresponding to character 'A' is present. I can try to load the glyph,
> but this seems like a heavyweight operation, and all I really need to do
> is find whether the character is present.
>
> Is there a lightweight way to do this? I'm willing to try anything, even
> if it requires poking at FreeType internal structures.
>
> Thanks for any help,
> Scott Long
>
> Scott Long
> Applications Developer
> SwiftView, Inc.
> www.swiftview.com
>
> _______________________________________________
> Devel mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/devel
>





reply via email to

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