freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] Caching questions


From: David Turner
Subject: Re: [Freetype] Caching questions
Date: Fri, 16 May 2003 12:25:45 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312

Hello Shoms,

Shoms W wrote:
Hello All,
I am using the cache subsystem of freetype and have a few questions about it. After I initialize everything, and and get a bitmap descriptor from a FTC_SBitCache_Lookup I would like to do some kerning using the function FT_Get_Kerning(face, previous, glyph_index,ft_kerning_mode_default, &delta ) which I assume does the needful. However, when I call the function with the proper parameters, I always get delta.x as 0.

Are you certain that you're using a FT_Face that corresponds to the face
the bitmaps were loaded from ? There is no kerning cache in FreeType for
now, which means that you'll need to use FTC_Lookup_Face to get the correct
source object for kerning information.

Apart from that, I don't see a reason why this shouldn't work !?

Hope this helps,

- David Turner
- The FreeType Project  (www.freetype.org)


--
This message and any attachments (the "message") is intended solely for the
addressees and is confidential. If you receive this message in error, please
delete it and immediately notify the sender.
Any use not in accordance with its purpose, any dissemination or disclosure,
either whole or partial, is prohibited except formal approval.
The E-Mail transmission can not guarantee the integrity of this message.
CANAL+TECHNOLOGIES will not therefore be liable for the message if modified.





reply via email to

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