freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] is it possible to retrieve whole kerning table?


From: mpsuzuki
Subject: Re: [ft-devel] is it possible to retrieve whole kerning table?
Date: Sun, 15 Jan 2006 02:23:27 +0900

Hi,

On Sat, 14 Jan 2006 15:46:03 +0100 (CET)
Werner LEMBERG <address@hidden> wrote:
>>>I am trying to figure out how to implement WIN32 GetKerningPairs[1]
>>>function in Wine.  Unfortunately, I can't find a similar function
>>>in freetype API.
>>
>>Yes, current FreeType2 does not provide the functions like Win32
>>GetKerningPairs().
>>We have to rewrite all entries explicitly.
>
>I have the feeling that such a function doesn't belong to FreeType but
>should be added one level higher.

Talking personally, as you say, such a function
should be out of FreeType. Although I'm not sure
how many, I guess many functions should be written
to emulate font functions in Win32 GDI, and there's
possibility that Win32 specific datatypes & macros
are required (for GetLastError). It's too early to
decide whether a module for Win32 GDI emulation is
reasonable, I think.

# I suppose, GetKerningPairs() assumes that the font
# data is already validated/restructured and loaded
# onto kernel space memory, so GetKerningPairs() just
# lookups the header of subtable and returns it.

Regards,
mpsuzuki




reply via email to

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