[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] How to find a specific sfnt table?
From: |
Lars Clausen |
Subject: |
Re: [Freetype] How to find a specific sfnt table? |
Date: |
06 Mar 2002 14:53:53 -0600 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
On Wed, 6 Mar 2002, Huw D. M. Davies wrote:
>> Huw D M Davies a écrit :
>> >
>> > Hi,
>> >
>> > I'm wondering what is the correct way to load a given sfnt table.
>> > What I'd like is exactly the functionality of:
>> >
>> > FT_Face face;
>> > SFNT_Interface *sfnt = ((TT_Face)face)->sfnt;
>> >
>> > err = sfnt->load_any((TT_Face)face, table, offs, buf, &len);
>> >
>> > but I'm worried that the structures TT_Face and SFNT_Interface are
>> > subject to change from version to version.
>> >
>>
>> I think you need a new API, something that we could call
>> "FT_Load_Sfnt_Table". I'll try to add that after the 2.0.9 release
>> which should happen real soon now..
>
> Hi David,
>
> Thanks that would be great. It's basically needed to implement the
> Windows api GetFontData in Wine. Lars could also use this to generate
> type42 fonts.
Arg! Are you saying that there isn't any way to get the truetype revision
information through freetype at the moment? That's annoying -- I'd rather
not have to be that bleeding-edge. No wonder nobody has dumped Type42
fonts with freetype before.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?