Imported Upstream version 2.12.1
[platform/upstream/fontconfig.git] / src / fcobjs.h
1 /*
2  * fontconfig/src/fcobjs.h
3  *
4  * Copyright © 2000 Keith Packard
5  *
6  * Permission to use, copy, modify, distribute, and sell this software and its
7  * documentation for any purpose is hereby granted without fee, provided that
8  * the above copyright notice appear in all copies and that both that
9  * copyright notice and this permission notice appear in supporting
10  * documentation, and that the name of the author(s) not be used in
11  * advertising or publicity pertaining to distribution of the software without
12  * specific, written prior permission.  The authors make no
13  * representations about the suitability of this software for any purpose.  It
14  * is provided "as is" without express or implied warranty.
15  *
16  * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18  * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22  * PERFORMANCE OF THIS SOFTWARE.
23  */
24 /* DON'T REORDER!  The order is part of the cache signature. */
25 FC_OBJECT (FAMILY,              FcTypeString,   FcCompareFamily)
26 FC_OBJECT (FAMILYLANG,          FcTypeString,   NULL)
27 FC_OBJECT (STYLE,               FcTypeString,   FcCompareString)
28 FC_OBJECT (STYLELANG,           FcTypeString,   NULL)
29 FC_OBJECT (FULLNAME,            FcTypeString,   NULL)
30 FC_OBJECT (FULLNAMELANG,        FcTypeString,   NULL)
31 FC_OBJECT (SLANT,               FcTypeInteger,  FcCompareNumber)
32 FC_OBJECT (WEIGHT,              FcTypeInteger,  FcCompareNumber)
33 FC_OBJECT (WIDTH,               FcTypeInteger,  FcCompareNumber)
34 FC_OBJECT (SIZE,                FcTypeRange,    FcCompareSizeRange)
35 FC_OBJECT (ASPECT,              FcTypeDouble,   NULL)
36 FC_OBJECT (PIXEL_SIZE,          FcTypeDouble,   FcCompareSize)
37 FC_OBJECT (SPACING,             FcTypeInteger,  FcCompareNumber)
38 FC_OBJECT (FOUNDRY,             FcTypeString,   FcCompareString)
39 FC_OBJECT (ANTIALIAS,           FcTypeBool,     FcCompareBool)
40 FC_OBJECT (HINT_STYLE,          FcTypeInteger,  NULL)
41 FC_OBJECT (HINTING,             FcTypeBool,     NULL)
42 FC_OBJECT (VERTICAL_LAYOUT,     FcTypeBool,     NULL)
43 FC_OBJECT (AUTOHINT,            FcTypeBool,     NULL)
44 FC_OBJECT (GLOBAL_ADVANCE,      FcTypeBool,     NULL)   /* deprecated */
45 FC_OBJECT (FILE,                FcTypeString,   FcCompareFilename)
46 FC_OBJECT (INDEX,               FcTypeInteger,  NULL)
47 FC_OBJECT (RASTERIZER,          FcTypeString,   FcCompareString)        /* deprecated */
48 FC_OBJECT (OUTLINE,             FcTypeBool,     FcCompareBool)
49 FC_OBJECT (SCALABLE,            FcTypeBool,     FcCompareBool)
50 FC_OBJECT (DPI,                 FcTypeDouble,   NULL)
51 FC_OBJECT (RGBA,                FcTypeInteger,  NULL)
52 FC_OBJECT (SCALE,               FcTypeDouble,   NULL)
53 FC_OBJECT (MINSPACE,            FcTypeBool,     NULL)
54 FC_OBJECT (CHAR_WIDTH,          FcTypeInteger,  NULL)
55 FC_OBJECT (CHAR_HEIGHT,         FcTypeInteger,  NULL)
56 FC_OBJECT (MATRIX,              FcTypeMatrix,   NULL)
57 FC_OBJECT (CHARSET,             FcTypeCharSet,  FcCompareCharSet)
58 FC_OBJECT (LANG,                FcTypeLangSet,  FcCompareLang)
59 FC_OBJECT (FONTVERSION,         FcTypeInteger,  FcCompareNumber)
60 FC_OBJECT (CAPABILITY,          FcTypeString,   NULL)
61 FC_OBJECT (FONTFORMAT,          FcTypeString,   FcCompareString)
62 FC_OBJECT (EMBOLDEN,            FcTypeBool,     NULL)
63 FC_OBJECT (EMBEDDED_BITMAP,     FcTypeBool,     NULL)
64 FC_OBJECT (DECORATIVE,          FcTypeBool,     FcCompareBool)
65 FC_OBJECT (LCD_FILTER,          FcTypeInteger,  NULL)
66 FC_OBJECT (NAMELANG,            FcTypeString,   NULL)
67 FC_OBJECT (FONT_FEATURES,       FcTypeString,   NULL)
68 FC_OBJECT (PRGNAME,             FcTypeString,   NULL)
69 FC_OBJECT (HASH,                FcTypeString,   NULL)   /* deprecated */
70 FC_OBJECT (POSTSCRIPT_NAME,     FcTypeString,   FcComparePostScript)
71 FC_OBJECT (COLOR,               FcTypeBool,     FcCompareBool)
72 FC_OBJECT (SYMBOL,              FcTypeBool,     FcCompareBool)
73 /* ^-------------- Add new objects here. */