1 /****************************************************************************
5 * The FreeType CID font services (specification).
7 * Copyright (C) 2007-2023 by
8 * Derek Clegg and Michael Toftdal.
10 * This file is part of the FreeType project, and may only be used,
11 * modified, and distributed under the terms of the FreeType project
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute
13 * this file you indicate that you have read the license and
14 * understand and accept it fully.
22 #include <freetype/internal/ftserv.h>
28 #define FT_SERVICE_ID_CID "CID"
31 (*FT_CID_GetRegistryOrderingSupplementFunc)( FT_Face face,
32 const char* *registry,
33 const char* *ordering,
36 (*FT_CID_GetIsInternallyCIDKeyedFunc)( FT_Face face,
39 (*FT_CID_GetCIDFromGlyphIndexFunc)( FT_Face face,
43 FT_DEFINE_SERVICE( CID )
45 FT_CID_GetRegistryOrderingSupplementFunc get_ros;
46 FT_CID_GetIsInternallyCIDKeyedFunc get_is_cid;
47 FT_CID_GetCIDFromGlyphIndexFunc get_cid_from_glyph_index;
51 #define FT_DEFINE_SERVICE_CIDREC( class_, \
54 get_cid_from_glyph_index_ ) \
55 static const FT_Service_CIDRec class_ = \
57 get_ros_, get_is_cid_, get_cid_from_glyph_index_ \