[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] enumerating truetype tables?
From: |
Werner LEMBERG |
Subject: |
Re: [Devel] enumerating truetype tables? |
Date: |
Wed, 11 Aug 2004 06:39:45 +0200 (CEST) |
David Somers suggested a few months ago:
> Have a function, FT_Enum_Sfnt_Table(FT_Face face, FT_Ulong*tag
> FT_Int n), which would return the tag name of the n'th table in the
> face.
I've now added such a function to the CVS (see below). Please test!
Werner
======================================================================
/**************************************************************************
*
* <Function>
* FT_Sfnt_Table_Info
*
* <Description>
* Returns information on an SFNT table.
*
* <Input>
* face ::
* A handle to the source face.
*
* table_index ::
* The index of an SFNT table. The function returns
* FT_Err_Table_Missing for an invalid value.
*
* <Output>
* tag ::
* The name tag of the SFNT table.
*
* length ::
* The length of the SFNT table.
*
* <Return>
* FreeType error code. 0 means success.
*
* <Note>
* SFNT tables with length zero are treated as missing by Windows.
*
*/
FT_EXPORT( FT_Error )
FT_Sfnt_Table_Info( FT_Face face,
FT_UInt table_index,
FT_ULong *tag,
FT_ULong *length );
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Devel] enumerating truetype tables?,
Werner LEMBERG <=