tttables.h   tttables.h 
/************************************************************************** */ /************************************************************************** */
/* */ /* */
/* tttables.h */ /* tttables.h */
/* */ /* */
/* Basic SFNT/TrueType tables definitions and interface */ /* Basic SFNT/TrueType tables definitions and interface */
/* (specification only). */ /* (specification only). */
/* */ /* */
/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2008, 2009 by */ /* Copyright 1996-2005, 2008-2011 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
/* modified, and distributed under the terms of the FreeType project */ /* modified, and distributed under the terms of the FreeType project */
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */ /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
/* this file you indicate that you have read the license and */ /* this file you indicate that you have read the license and */
/* understand and accept it fully. */ /* understand and accept it fully. */
/* */ /* */
/************************************************************************** */ /************************************************************************** */
skipping to change at line 549 skipping to change at line 549
/* */ /* */
/* <Enum> */ /* <Enum> */
/* FT_Sfnt_Tag */ /* FT_Sfnt_Tag */
/* */ /* */
/* <Description> */ /* <Description> */
/* An enumeration used to specify the index of an SFNT table. */ /* An enumeration used to specify the index of an SFNT table. */
/* Used in the @FT_Get_Sfnt_Table API function. */ /* Used in the @FT_Get_Sfnt_Table API function. */
/* */ /* */
typedef enum FT_Sfnt_Tag_ typedef enum FT_Sfnt_Tag_
{ {
ft_sfnt_head = 0, ft_sfnt_head = 0, /* TT_Header */
ft_sfnt_maxp = 1, ft_sfnt_maxp = 1, /* TT_MaxProfile */
ft_sfnt_os2 = 2, ft_sfnt_os2 = 2, /* TT_OS2 */
ft_sfnt_hhea = 3, ft_sfnt_hhea = 3, /* TT_HoriHeader */
ft_sfnt_vhea = 4, ft_sfnt_vhea = 4, /* TT_VertHeader */
ft_sfnt_post = 5, ft_sfnt_post = 5, /* TT_Postscript */
ft_sfnt_pclt = 6, ft_sfnt_pclt = 6, /* TT_PCLT */
sfnt_max /* internal end mark */ sfnt_max /* internal end mark */
} FT_Sfnt_Tag; } FT_Sfnt_Tag;
/* */ /* */
/************************************************************************ */ /************************************************************************ */
/* */ /* */
/* <Function> */ /* <Function> */
skipping to change at line 581 skipping to change at line 581
/* <Input> */ /* <Input> */
/* face :: A handle to the source. */ /* face :: A handle to the source. */
/* */ /* */
/* tag :: The index of the SFNT table. */ /* tag :: The index of the SFNT table. */
/* */ /* */
/* <Return> */ /* <Return> */
/* A type-less pointer to the table. This will be~0 in case of */ /* A type-less pointer to the table. This will be~0 in case of */
/* error, or if the corresponding table was not found *OR* loaded */ /* error, or if the corresponding table was not found *OR* loaded */
/* from the file. */ /* from the file. */
/* */ /* */
/* Use a typecast according to `tag' to access the structure
*/
/* elements.
*/
/*
*/
/* <Note> */ /* <Note> */
/* The table is owned by the face object and disappears with it. */ /* The table is owned by the face object and disappears with it. */
/* */ /* */
/* This function is only useful to access SFNT tables that are loaded */ /* This function is only useful to access SFNT tables that are loaded */
/* by the sfnt, truetype, and opentype drivers. See @FT_Sfnt_Tag for */ /* by the sfnt, truetype, and opentype drivers. See @FT_Sfnt_Tag for */
/* a list. */ /* a list. */
/* */ /* */
FT_EXPORT( void* ) FT_EXPORT( void* )
FT_Get_Sfnt_Table( FT_Face face, FT_Get_Sfnt_Table( FT_Face face,
FT_Sfnt_Tag tag ); FT_Sfnt_Tag tag );
skipping to change at line 673 skipping to change at line 676
* Return information on an SFNT table. * Return information on an SFNT table.
* *
* @input: * @input:
* face :: * face ::
* A handle to the source face. * A handle to the source face.
* *
* table_index :: * table_index ::
* The index of an SFNT table. The function returns * The index of an SFNT table. The function returns
* FT_Err_Table_Missing for an invalid value. * FT_Err_Table_Missing for an invalid value.
* *
* @output: * @inout:
* tag :: * tag ::
* The name tag of the SFNT table. * The name tag of the SFNT table. If the value is NULL, `table_index
'
* is ignored, and `length' returns the number of SFNT tables in the
* font.
* *
* @output:
* length :: * length ::
* The length of the SFNT table. * The length of the SFNT table (or the number of SFNT tables, dependi
ng
* on `tag').
* *
* @return: * @return:
* FreeType error code. 0~means success. * FreeType error code. 0~means success.
* *
* @note: * @note:
* SFNT tables with length zero are treated as missing. * SFNT tables with length zero are treated as missing.
* *
*/ */
FT_EXPORT( FT_Error ) FT_EXPORT( FT_Error )
FT_Sfnt_Table_Info( FT_Face face, FT_Sfnt_Table_Info( FT_Face face,
 End of changes. 7 change blocks. 
11 lines changed or deleted 23 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/