[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: |
Huw D M Davies |
Subject: |
Re: [Freetype] How to find a specific sfnt table? |
Date: |
Wed, 6 Mar 2002 12:07:50 +0000 |
User-agent: |
Mutt/1.2.5i |
> 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.
While I'm on a roll: any chance of a
FT_Get_Version(&maj, &min, &patch) function too ;)
Huw.