2000-07-19 19:13:03 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* ftnames.h */
|
|
|
|
/* */
|
|
|
|
/* Simple interface to access SFNT name tables (which are used */
|
2000-07-20 08:57:41 +02:00
|
|
|
/* to hold font names, copyright info, notices, etc.). */
|
2000-07-19 19:13:03 +02:00
|
|
|
/* */
|
2000-07-20 08:57:41 +02:00
|
|
|
/* This is _not_ used to retrieve glyph names! */
|
2000-07-19 19:13:03 +02:00
|
|
|
/* */
|
|
|
|
/* Copyright 1996-2000 by */
|
|
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
|
|
|
/* */
|
|
|
|
/* This file is part of the FreeType project, and may only be used, */
|
|
|
|
/* modified, and distributed under the terms of the FreeType project */
|
|
|
|
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
|
|
|
|
/* this file you indicate that you have read the license and */
|
|
|
|
/* understand and accept it fully. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
2000-07-20 08:57:41 +02:00
|
|
|
|
2000-07-19 19:13:03 +02:00
|
|
|
#ifndef FTNAMES_H
|
|
|
|
#define FTNAMES_H
|
|
|
|
|
2000-07-20 08:57:41 +02:00
|
|
|
|
2000-07-19 19:13:03 +02:00
|
|
|
#include <freetype/freetype.h>
|
|
|
|
|
2000-07-20 08:57:41 +02:00
|
|
|
|
2000-08-01 15:17:04 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2000-07-20 08:57:41 +02:00
|
|
|
typedef struct FT_SfntName_
|
2000-07-19 19:13:03 +02:00
|
|
|
{
|
|
|
|
FT_UShort platform_id;
|
|
|
|
FT_UShort encoding_id;
|
|
|
|
FT_UShort language_id;
|
|
|
|
FT_UShort name_id;
|
|
|
|
|
|
|
|
FT_Byte* string;
|
|
|
|
FT_UInt string_len; /* in bytes */
|
|
|
|
|
|
|
|
} FT_SfntName;
|
|
|
|
|
|
|
|
|
2000-07-20 08:57:41 +02:00
|
|
|
FT_EXPORT_DEF( FT_UInt ) FT_Get_Sfnt_Name_Count( FT_Face face );
|
2000-07-19 19:13:03 +02:00
|
|
|
|
2000-07-20 08:57:41 +02:00
|
|
|
FT_EXPORT_DEF( FT_Error ) FT_Get_Sfnt_Name( FT_Face face,
|
|
|
|
FT_UInt index,
|
|
|
|
FT_SfntName* aname );
|
2000-07-19 19:13:03 +02:00
|
|
|
|
|
|
|
|
2000-08-01 15:17:04 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2000-07-19 19:13:03 +02:00
|
|
|
#endif /* FTNAMES_H */
|
2000-07-20 08:57:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|