2007-06-10 22:51:04 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
2007-06-11 06:55:58 +02:00
|
|
|
/* svttglyf.h */
|
2007-06-10 22:51:04 +02:00
|
|
|
/* */
|
|
|
|
/* The FreeType TrueType glyph service. */
|
|
|
|
/* */
|
2018-01-02 09:33:57 +01:00
|
|
|
/* Copyright 2007-2018 by */
|
2015-01-17 20:11:10 +01:00
|
|
|
/* David Turner. */
|
2007-06-10 22:51:04 +02:00
|
|
|
/* */
|
|
|
|
/* 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. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
#ifndef SVTTGLYF_H_
|
|
|
|
#define SVTTGLYF_H_
|
2007-06-10 22:51:04 +02:00
|
|
|
|
|
|
|
#include FT_INTERNAL_SERVICE_H
|
|
|
|
#include FT_TRUETYPE_TABLES_H
|
|
|
|
|
|
|
|
|
|
|
|
FT_BEGIN_HEADER
|
|
|
|
|
|
|
|
|
2012-02-06 22:42:11 +01:00
|
|
|
#define FT_SERVICE_ID_TT_GLYF "tt-glyf"
|
2007-06-10 22:51:04 +02:00
|
|
|
|
|
|
|
|
|
|
|
typedef FT_ULong
|
|
|
|
(*TT_Glyf_GetLocationFunc)( FT_Face face,
|
|
|
|
FT_UInt gindex,
|
|
|
|
FT_ULong *psize );
|
|
|
|
|
|
|
|
FT_DEFINE_SERVICE( TTGlyf )
|
|
|
|
{
|
|
|
|
TT_Glyf_GetLocationFunc get_location;
|
|
|
|
};
|
|
|
|
|
2012-02-06 22:42:11 +01:00
|
|
|
|
2012-02-06 22:14:51 +01:00
|
|
|
#define FT_DEFINE_SERVICE_TTGLYFREC( class_, get_location_ ) \
|
|
|
|
static const FT_Service_TTGlyfRec class_ = \
|
2009-04-05 17:03:02 +02:00
|
|
|
{ \
|
|
|
|
get_location_ \
|
|
|
|
};
|
|
|
|
|
2007-06-10 22:51:04 +02:00
|
|
|
/* */
|
|
|
|
|
|
|
|
|
|
|
|
FT_END_HEADER
|
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
#endif /* SVTTGLYF_H_ */
|
2007-06-10 22:51:04 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|