| 1 | // Generated from the installed fontconfig/fontconfig.h: every FC_*/Fc* macro and enum value. |
| 2 | module fontconfig |
| 3 | |
| 4 | // FC_MAJOR |
| 5 | pub const major = 2 |
| 6 | // FC_MINOR |
| 7 | pub const minor = 18 |
| 8 | // FC_REVISION |
| 9 | pub const revision = 4 |
| 10 | // FC_VERSION |
| 11 | pub const version = 21804 |
| 12 | // FC_CACHE_VERSION_NUMBER |
| 13 | pub const cache_version_number = 12 |
| 14 | // FC_CACHE_SNAP_VERSION_NUMBER |
| 15 | pub const cache_snap_version_number = 0 |
| 16 | // FC_NEXT_CACHE_VERSION_NUMBER |
| 17 | pub const next_cache_version_number = 0 |
| 18 | // FC_CACHE_MIN_COMPAT_VERSION |
| 19 | pub const cache_min_compat_version = 9 |
| 20 | // FC_CACHE_VERSION |
| 21 | pub const cache_version = '12' |
| 22 | // FcFalse |
| 23 | pub const fc_false = 0 |
| 24 | // FcTrue |
| 25 | pub const fc_true = 1 |
| 26 | // FcDontCare |
| 27 | pub const dont_care = 2 |
| 28 | // FC_FAMILY |
| 29 | pub const family = 'family' |
| 30 | // FC_STYLE |
| 31 | pub const style = 'style' |
| 32 | // FC_SLANT |
| 33 | pub const slant = 'slant' |
| 34 | // FC_WEIGHT |
| 35 | pub const weight = 'weight' |
| 36 | // FC_SIZE |
| 37 | pub const size = 'size' |
| 38 | // FC_ASPECT |
| 39 | pub const aspect = 'aspect' |
| 40 | // FC_PIXEL_SIZE |
| 41 | pub const pixel_size = 'pixelsize' |
| 42 | // FC_SPACING |
| 43 | pub const spacing = 'spacing' |
| 44 | // FC_FOUNDRY |
| 45 | pub const foundry = 'foundry' |
| 46 | // FC_ANTIALIAS |
| 47 | pub const antialias = 'antialias' |
| 48 | // FC_HINTING |
| 49 | pub const hinting = 'hinting' |
| 50 | // FC_HINT_STYLE |
| 51 | pub const hint_style = 'hintstyle' |
| 52 | // FC_VERTICAL_LAYOUT |
| 53 | pub const vertical_layout = 'verticallayout' |
| 54 | // FC_AUTOHINT |
| 55 | pub const autohint = 'autohint' |
| 56 | // FC_GLOBAL_ADVANCE |
| 57 | pub const global_advance = 'globaladvance' |
| 58 | // FC_WIDTH |
| 59 | pub const width = 'width' |
| 60 | // FC_FILE |
| 61 | pub const file = 'file' |
| 62 | // FC_INDEX |
| 63 | pub const index = 'index' |
| 64 | // FC_FT_FACE |
| 65 | pub const ft_face = 'ftface' |
| 66 | // FC_RASTERIZER |
| 67 | pub const rasterizer = 'rasterizer' |
| 68 | // FC_OUTLINE |
| 69 | pub const outline = 'outline' |
| 70 | // FC_SCALABLE |
| 71 | pub const scalable = 'scalable' |
| 72 | // FC_COLOR |
| 73 | pub const color = 'color' |
| 74 | // FC_VARIABLE |
| 75 | pub const variable = 'variable' |
| 76 | // FC_SCALE |
| 77 | pub const scale = 'scale' |
| 78 | // FC_SYMBOL |
| 79 | pub const symbol = 'symbol' |
| 80 | // FC_DPI |
| 81 | pub const dpi = 'dpi' |
| 82 | // FC_RGBA |
| 83 | pub const rgba = 'rgba' |
| 84 | // FC_MINSPACE |
| 85 | pub const minspace = 'minspace' |
| 86 | // FC_SOURCE |
| 87 | pub const source = 'source' |
| 88 | // FC_CHARSET |
| 89 | pub const charset = 'charset' |
| 90 | // FC_LANG |
| 91 | pub const lang = 'lang' |
| 92 | // FC_FONTVERSION |
| 93 | pub const fontversion = 'fontversion' |
| 94 | // FC_FULLNAME |
| 95 | pub const fullname = 'fullname' |
| 96 | // FC_FAMILYLANG |
| 97 | pub const familylang = 'familylang' |
| 98 | // FC_STYLELANG |
| 99 | pub const stylelang = 'stylelang' |
| 100 | // FC_FULLNAMELANG |
| 101 | pub const fullnamelang = 'fullnamelang' |
| 102 | // FC_CAPABILITY |
| 103 | pub const capability = 'capability' |
| 104 | // FC_FONTFORMAT |
| 105 | pub const fontformat = 'fontformat' |
| 106 | // FC_EMBOLDEN |
| 107 | pub const embolden = 'embolden' |
| 108 | // FC_EMBEDDED_BITMAP |
| 109 | pub const embedded_bitmap = 'embeddedbitmap' |
| 110 | // FC_DECORATIVE |
| 111 | pub const decorative = 'decorative' |
| 112 | // FC_LCD_FILTER |
| 113 | pub const lcd_filter = 'lcdfilter' |
| 114 | // FC_FONT_FEATURES |
| 115 | pub const font_features = 'fontfeatures' |
| 116 | // FC_FONT_VARIATIONS |
| 117 | pub const font_variations = 'fontvariations' |
| 118 | // FC_NAMELANG |
| 119 | pub const namelang = 'namelang' |
| 120 | // FC_PRGNAME |
| 121 | pub const prgname = 'prgname' |
| 122 | // FC_HASH |
| 123 | pub const hash = 'hash' |
| 124 | // FC_POSTSCRIPT_NAME |
| 125 | pub const postscript_name = 'postscriptname' |
| 126 | // FC_FONT_HAS_HINT |
| 127 | pub const font_has_hint = 'fonthashint' |
| 128 | // FC_ORDER |
| 129 | pub const order = 'order' |
| 130 | // FC_DESKTOP_NAME |
| 131 | pub const desktop_name = 'desktop' |
| 132 | // FC_NAMED_INSTANCE |
| 133 | pub const named_instance = 'namedinstance' |
| 134 | // FC_FONT_WRAPPER |
| 135 | pub const font_wrapper = 'fontwrapper' |
| 136 | // FC_GENERIC_FAMILY |
| 137 | pub const generic_family = 'genericfamily' |
| 138 | // FC_CACHE_SUFFIX |
| 139 | pub const cache_suffix = '.cache-12' |
| 140 | // FC_DIR_CACHE_FILE |
| 141 | pub const dir_cache_file = 'fonts.cache-12' |
| 142 | // FC_USER_CACHE_FILE |
| 143 | pub const user_cache_file = '.fonts.cache-12' |
| 144 | // FC_CHARWIDTH |
| 145 | pub const charwidth = 'charwidth' |
| 146 | // FC_CHAR_WIDTH |
| 147 | pub const char_width = 'charwidth' |
| 148 | // FC_CHAR_HEIGHT |
| 149 | pub const char_height = 'charheight' |
| 150 | // FC_MATRIX |
| 151 | pub const matrix = 'matrix' |
| 152 | // FC_WEIGHT_THIN |
| 153 | pub const weight_thin = 0 |
| 154 | // FC_WEIGHT_EXTRALIGHT |
| 155 | pub const weight_extralight = 40 |
| 156 | // FC_WEIGHT_ULTRALIGHT |
| 157 | pub const weight_ultralight = 40 |
| 158 | // FC_WEIGHT_LIGHT |
| 159 | pub const weight_light = 50 |
| 160 | // FC_WEIGHT_DEMILIGHT |
| 161 | pub const weight_demilight = 55 |
| 162 | // FC_WEIGHT_SEMILIGHT |
| 163 | pub const weight_semilight = 55 |
| 164 | // FC_WEIGHT_BOOK |
| 165 | pub const weight_book = 75 |
| 166 | // FC_WEIGHT_REGULAR |
| 167 | pub const weight_regular = 80 |
| 168 | // FC_WEIGHT_NORMAL |
| 169 | pub const weight_normal = 80 |
| 170 | // FC_WEIGHT_MEDIUM |
| 171 | pub const weight_medium = 100 |
| 172 | // FC_WEIGHT_DEMIBOLD |
| 173 | pub const weight_demibold = 180 |
| 174 | // FC_WEIGHT_SEMIBOLD |
| 175 | pub const weight_semibold = 180 |
| 176 | // FC_WEIGHT_BOLD |
| 177 | pub const weight_bold = 200 |
| 178 | // FC_WEIGHT_EXTRABOLD |
| 179 | pub const weight_extrabold = 205 |
| 180 | // FC_WEIGHT_ULTRABOLD |
| 181 | pub const weight_ultrabold = 205 |
| 182 | // FC_WEIGHT_BLACK |
| 183 | pub const weight_black = 210 |
| 184 | // FC_WEIGHT_HEAVY |
| 185 | pub const weight_heavy = 210 |
| 186 | // FC_WEIGHT_EXTRABLACK |
| 187 | pub const weight_extrablack = 215 |
| 188 | // FC_WEIGHT_ULTRABLACK |
| 189 | pub const weight_ultrablack = 215 |
| 190 | // FC_SLANT_ROMAN |
| 191 | pub const slant_roman = 0 |
| 192 | // FC_SLANT_ITALIC |
| 193 | pub const slant_italic = 100 |
| 194 | // FC_SLANT_OBLIQUE |
| 195 | pub const slant_oblique = 110 |
| 196 | // FC_WIDTH_ULTRACONDENSED |
| 197 | pub const width_ultracondensed = 50 |
| 198 | // FC_WIDTH_EXTRACONDENSED |
| 199 | pub const width_extracondensed = 63 |
| 200 | // FC_WIDTH_CONDENSED |
| 201 | pub const width_condensed = 75 |
| 202 | // FC_WIDTH_SEMICONDENSED |
| 203 | pub const width_semicondensed = 87 |
| 204 | // FC_WIDTH_NORMAL |
| 205 | pub const width_normal = 100 |
| 206 | // FC_WIDTH_SEMIEXPANDED |
| 207 | pub const width_semiexpanded = 113 |
| 208 | // FC_WIDTH_EXPANDED |
| 209 | pub const width_expanded = 125 |
| 210 | // FC_WIDTH_EXTRAEXPANDED |
| 211 | pub const width_extraexpanded = 150 |
| 212 | // FC_WIDTH_ULTRAEXPANDED |
| 213 | pub const width_ultraexpanded = 200 |
| 214 | // FC_SPACING_PROPORTIONAL |
| 215 | pub const spacing_proportional = 0 |
| 216 | // FC_SPACING_DUAL |
| 217 | pub const spacing_dual = 90 |
| 218 | // FC_SPACING_MONO |
| 219 | pub const spacing_mono = 100 |
| 220 | // FC_SPACING_CHARCELL |
| 221 | pub const spacing_charcell = 110 |
| 222 | // FC_PROPORTIONAL |
| 223 | pub const proportional = 0 |
| 224 | // FC_DUAL |
| 225 | pub const dual = 90 |
| 226 | // FC_MONO |
| 227 | pub const mono = 100 |
| 228 | // FC_CHARCELL |
| 229 | pub const charcell = 110 |
| 230 | // FC_RGBA_UNKNOWN |
| 231 | pub const rgba_unknown = 0 |
| 232 | // FC_RGBA_RGB |
| 233 | pub const rgba_rgb = 1 |
| 234 | // FC_RGBA_BGR |
| 235 | pub const rgba_bgr = 2 |
| 236 | // FC_RGBA_VRGB |
| 237 | pub const rgba_vrgb = 3 |
| 238 | // FC_RGBA_VBGR |
| 239 | pub const rgba_vbgr = 4 |
| 240 | // FC_RGBA_NONE |
| 241 | pub const rgba_none = 5 |
| 242 | // FC_HINT_NONE |
| 243 | pub const hint_none = 0 |
| 244 | // FC_HINT_SLIGHT |
| 245 | pub const hint_slight = 1 |
| 246 | // FC_HINT_MEDIUM |
| 247 | pub const hint_medium = 2 |
| 248 | // FC_HINT_FULL |
| 249 | pub const hint_full = 3 |
| 250 | // FC_LCD_NONE |
| 251 | pub const lcd_none = 0 |
| 252 | // FC_LCD_DEFAULT |
| 253 | pub const lcd_default = 1 |
| 254 | // FC_LCD_LIGHT |
| 255 | pub const lcd_light = 2 |
| 256 | // FC_LCD_LEGACY |
| 257 | pub const lcd_legacy = 3 |
| 258 | // FC_FAMILY_UNKNOWN |
| 259 | pub const family_unknown = 0 |
| 260 | // FC_FAMILY_SERIF |
| 261 | pub const family_serif = 1 |
| 262 | // FC_FAMILY_SANS |
| 263 | pub const family_sans = 2 |
| 264 | // FC_FAMILY_MONO |
| 265 | pub const family_mono = 3 |
| 266 | // FC_FAMILY_CURSIVE |
| 267 | pub const family_cursive = 4 |
| 268 | // FC_FAMILY_FANTASY |
| 269 | pub const family_fantasy = 5 |
| 270 | // FC_FAMILY_SYSTEM_UI |
| 271 | pub const family_system_ui = 6 |
| 272 | // FC_FAMILY_UI_SERIF |
| 273 | pub const family_ui_serif = 7 |
| 274 | // FC_FAMILY_UI_SANS |
| 275 | pub const family_ui_sans = 8 |
| 276 | // FC_FAMILY_UI_MONO |
| 277 | pub const family_ui_mono = 9 |
| 278 | // FC_FAMILY_UI_ROUNDED |
| 279 | pub const family_ui_rounded = 10 |
| 280 | // FC_FAMILY_EMOJI |
| 281 | pub const family_emoji = 11 |
| 282 | // FC_FAMILY_MATH |
| 283 | pub const family_math = 12 |
| 284 | // FC_FAMILY_FANGSONG |
| 285 | pub const family_fangsong = 13 |
| 286 | // FC_WARN_INVALID_ATTR |
| 287 | pub const warn_invalid_attr = 1 |
| 288 | // FC_CHARSET_MAP_SIZE |
| 289 | pub const charset_map_size = 8 |
| 290 | // FC_CHARSET_DONE |
| 291 | pub const charset_done = u32(4294967295) |
| 292 | // FC_UTF8_MAX_LEN |
| 293 | pub const utf8_max_len = 6 |
| 294 | // FcTypeUnknown |
| 295 | pub const type_unknown = -1 |
| 296 | // FcTypeVoid |
| 297 | pub const type_void = 0 |
| 298 | // FcTypeInteger |
| 299 | pub const type_integer = 1 |
| 300 | // FcTypeDouble |
| 301 | pub const type_double = 2 |
| 302 | // FcTypeString |
| 303 | pub const type_string = 3 |
| 304 | // FcTypeBool |
| 305 | pub const type_bool = 4 |
| 306 | // FcTypeMatrix |
| 307 | pub const type_matrix = 5 |
| 308 | // FcTypeCharSet |
| 309 | pub const type_char_set = 6 |
| 310 | // FcTypeFTFace |
| 311 | pub const type_ft_face = 7 |
| 312 | // FcTypeLangSet |
| 313 | pub const type_lang_set = 8 |
| 314 | // FcTypeRange |
| 315 | pub const type_range = 9 |
| 316 | // FcResultMatch |
| 317 | pub const result_match = 0 |
| 318 | // FcResultNoMatch |
| 319 | pub const result_no_match = 1 |
| 320 | // FcResultTypeMismatch |
| 321 | pub const result_type_mismatch = 2 |
| 322 | // FcResultNoId |
| 323 | pub const result_no_id = 3 |
| 324 | // FcResultOutOfMemory |
| 325 | pub const result_out_of_memory = 4 |
| 326 | // FcValueBindingWeak |
| 327 | pub const value_binding_weak = 0 |
| 328 | // FcValueBindingStrong |
| 329 | pub const value_binding_strong = 1 |
| 330 | // FcValueBindingSame |
| 331 | pub const value_binding_same = 2 |
| 332 | // FcValueBindingEnd |
| 333 | pub const value_binding_end = 2147483647 |
| 334 | // FcMatchPattern |
| 335 | pub const match_pattern = 0 |
| 336 | // FcMatchFont |
| 337 | pub const match_font = 1 |
| 338 | // FcMatchScan |
| 339 | pub const match_scan = 2 |
| 340 | // FcMatchKindEnd |
| 341 | pub const match_kind_end = 3 |
| 342 | // FcMatchKindBegin |
| 343 | pub const match_kind_begin = 0 |
| 344 | // FcLangEqual |
| 345 | pub const lang_equal = 0 |
| 346 | // FcLangDifferentCountry |
| 347 | pub const lang_different_country = 1 |
| 348 | // FcLangDifferentTerritory |
| 349 | pub const lang_different_territory = 1 |
| 350 | // FcLangDifferentLang |
| 351 | pub const lang_different_lang = 2 |
| 352 | // FcSetSystem |
| 353 | pub const set_system = 0 |
| 354 | // FcSetApplication |
| 355 | pub const set_application = 1 |
| 356 | // FcEndianBig |
| 357 | pub const endian_big = 0 |
| 358 | // FcEndianLittle |
| 359 | pub const endian_little = 1 |
| 360 | |