1 /****************************************************************************
5 * The FreeType BDF services (specification).
7 * Copyright (C) 2003-2020 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
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/ftbdf.h>
23 #include <freetype/internal/ftserv.h>
29 #define FT_SERVICE_ID_BDF "bdf"
32 (*FT_BDF_GetCharsetIdFunc)( FT_Face face,
33 const char* *acharset_encoding,
34 const char* *acharset_registry );
37 (*FT_BDF_GetPropertyFunc)( FT_Face face,
38 const char* prop_name,
39 BDF_PropertyRec *aproperty );
42 FT_DEFINE_SERVICE( BDF )
44 FT_BDF_GetCharsetIdFunc get_charset_id;
45 FT_BDF_GetPropertyFunc get_property;
49 #define FT_DEFINE_SERVICE_BDFRec( class_, \
52 static const FT_Service_BDFRec class_ = \
54 get_charset_id_, get_property_ \