6114d638af01a99f6925cb156351b2b31ed29966
[platform/upstream/freetype2.git] / include / freetype / internal / services / svfntfmt.h
1 /****************************************************************************
2  *
3  * svfntfmt.h
4  *
5  *   The FreeType font format service (specification only).
6  *
7  * Copyright (C) 2003-2020 by
8  * David Turner, Robert Wilhelm, and Werner Lemberg.
9  *
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.
15  *
16  */
17
18
19 #ifndef SVFNTFMT_H_
20 #define SVFNTFMT_H_
21
22 #include <freetype/internal/ftserv.h>
23
24
25 FT_BEGIN_HEADER
26
27
28   /*
29    * A trivial service used to return the name of a face's font driver,
30    * according to the XFree86 nomenclature.  Note that the service data is a
31    * simple constant string pointer.
32    */
33
34 #define FT_SERVICE_ID_FONT_FORMAT  "font-format"
35
36 #define FT_FONT_FORMAT_TRUETYPE  "TrueType"
37 #define FT_FONT_FORMAT_TYPE_1    "Type 1"
38 #define FT_FONT_FORMAT_BDF       "BDF"
39 #define FT_FONT_FORMAT_PCF       "PCF"
40 #define FT_FONT_FORMAT_TYPE_42   "Type 42"
41 #define FT_FONT_FORMAT_CID       "CID Type 1"
42 #define FT_FONT_FORMAT_CFF       "CFF"
43 #define FT_FONT_FORMAT_PFR       "PFR"
44 #define FT_FONT_FORMAT_WINFNT    "Windows FNT"
45
46   /* */
47
48
49 FT_END_HEADER
50
51
52 #endif /* SVFNTFMT_H_ */
53
54
55 /* END */