2018-06-03 22:00:42 +02:00
|
|
|
/****************************************************************************
|
|
|
|
*
|
|
|
|
* svttglyf.h
|
|
|
|
*
|
|
|
|
* The FreeType TrueType glyph service.
|
|
|
|
*
|
2019-02-23 10:07:09 +01:00
|
|
|
* Copyright (C) 2007-2019 by
|
2018-06-03 22:00:42 +02:00
|
|
|
* David Turner.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
*/
|
2007-06-10 22:51:04 +02:00
|
|
|
|
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 */
|