@img/sharp-libvips-dev 1.1.0-rc3 → 1.1.0-rc5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/include/aom/aom_codec.h +18 -1
  2. package/include/aom/aom_encoder.h +2 -0
  3. package/include/aom/aom_image.h +3 -1
  4. package/include/aom/aomcx.h +52 -12
  5. package/include/archive.h +3 -3
  6. package/include/archive_entry.h +3 -2
  7. package/include/cairo/cairo-version.h +1 -1
  8. package/include/expat.h +6 -4
  9. package/include/expat_config.h +3 -3
  10. package/include/ffi.h +1 -1
  11. package/include/fontconfig/fcfreetype.h +5 -5
  12. package/include/fontconfig/fcprivate.h +86 -92
  13. package/include/fontconfig/fontconfig.h +337 -310
  14. package/include/gio-unix-2.0/gio/gdesktopappinfo.h +1 -1
  15. package/include/gio-unix-2.0/gio/gunixmounts.h +95 -23
  16. package/include/glib-2.0/gio/gdbusconnection.h +65 -5
  17. package/include/glib-2.0/gio/gdebugcontroller.h +1 -1
  18. package/include/glib-2.0/gio/gfile.h +4 -0
  19. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  20. package/include/glib-2.0/gio/gioenums.h +14 -3
  21. package/include/glib-2.0/gio/gioenumtypes.h +3 -3
  22. package/include/glib-2.0/gio/giotypes.h +4 -4
  23. package/include/glib-2.0/gio/gmemorymonitor.h +1 -1
  24. package/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
  25. package/include/glib-2.0/gio/gpowerprofilemonitor.h +1 -1
  26. package/include/glib-2.0/gio/gproxy.h +1 -1
  27. package/include/glib-2.0/gio/gproxyresolver.h +1 -1
  28. package/include/glib-2.0/gio/gresource.h +6 -0
  29. package/include/glib-2.0/gio/gtlsbackend.h +1 -1
  30. package/include/glib-2.0/gio/gvfs.h +3 -3
  31. package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
  32. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  33. package/include/glib-2.0/girepository/gicallableinfo.h +12 -0
  34. package/include/glib-2.0/girepository/gitypes.h +1 -0
  35. package/include/glib-2.0/glib/garray.h +1 -1
  36. package/include/glib-2.0/glib/gerror.h +1 -1
  37. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  38. package/include/glib-2.0/glib/gmacros.h +3 -3
  39. package/include/glib-2.0/glib/gmain.h +79 -1
  40. package/include/glib-2.0/glib/gmem.h +3 -0
  41. package/include/glib-2.0/glib/goption.h +58 -36
  42. package/include/glib-2.0/glib/gqueue.h +1 -1
  43. package/include/glib-2.0/glib/grefstring.h +4 -0
  44. package/include/glib-2.0/glib/gstdio.h +65 -0
  45. package/include/glib-2.0/glib/gstrfuncs.h +4 -0
  46. package/include/glib-2.0/glib/gtestutils.h +65 -33
  47. package/include/glib-2.0/glib/gthread.h +2 -0
  48. package/include/glib-2.0/glib/gtypes.h +1 -1
  49. package/include/glib-2.0/glib/gunicode.h +21 -5
  50. package/include/glib-2.0/glib/gvariant.h +50 -13
  51. package/include/glib-2.0/glib/gvarianttype.h +62 -46
  52. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  53. package/include/glib-2.0/glib-unix.h +21 -0
  54. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  55. package/include/glib-2.0/gobject/glib-enumtypes.h +1 -1
  56. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  57. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +1 -1
  58. package/include/glib-2.0/gobject/gparam.h +4 -2
  59. package/include/glib-2.0/gobject/gsignal.h +22 -7
  60. package/include/glib-2.0/gobject/gtype.h +10 -4
  61. package/include/harfbuzz/hb-buffer.h +62 -3
  62. package/include/harfbuzz/hb-common.h +11 -0
  63. package/include/harfbuzz/hb-draw.h +10 -2
  64. package/include/harfbuzz/hb-face.h +29 -2
  65. package/include/harfbuzz/hb-font.h +6 -0
  66. package/include/harfbuzz/hb-ft.h +15 -1
  67. package/include/harfbuzz/hb-ot-shape.h +6 -0
  68. package/include/harfbuzz/hb-paint.h +9 -1
  69. package/include/harfbuzz/hb-shape.h +2 -0
  70. package/include/harfbuzz/hb-subset-serialize.h +83 -0
  71. package/include/harfbuzz/hb-subset.h +12 -0
  72. package/include/harfbuzz/hb-version.h +3 -3
  73. package/include/lcms2.h +7 -5
  74. package/include/lcms2_plugin.h +1 -1
  75. package/include/libexif/exif-byte-order.h +2 -0
  76. package/include/libexif/exif-content.h +2 -0
  77. package/include/libexif/exif-data-type.h +2 -0
  78. package/include/libexif/exif-data.h +3 -2
  79. package/include/libexif/exif-entry.h +2 -0
  80. package/include/libexif/exif-format.h +2 -0
  81. package/include/libexif/exif-ifd.h +2 -0
  82. package/include/libexif/exif-loader.h +2 -0
  83. package/include/libexif/exif-log.h +2 -0
  84. package/include/libexif/exif-mem.h +2 -0
  85. package/include/libexif/exif-mnote-data.h +2 -0
  86. package/include/libexif/exif-tag.h +2 -0
  87. package/include/libexif/exif-utils.h +2 -0
  88. package/include/libheif/heif.h +12 -3
  89. package/include/libheif/heif_cxx.h +18 -12
  90. package/include/libheif/heif_items.h +2 -2
  91. package/include/libheif/heif_properties.h +4 -4
  92. package/include/libheif/heif_version.h +2 -2
  93. package/include/libpng16/png.h +120 -12
  94. package/include/libpng16/pngconf.h +2 -3
  95. package/include/libpng16/pnglibconf.h +11 -2
  96. package/include/librsvg-2.0/librsvg/rsvg-features.h +1 -1
  97. package/include/librsvg-2.0/librsvg/rsvg-pixbuf.h +1 -1
  98. package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
  99. package/include/librsvg-2.0/librsvg/rsvg.h +1 -1
  100. package/include/libxml2/libxml/xmlversion.h +4 -4
  101. package/include/pango-1.0/pango/pango-features.h +3 -3
  102. package/include/pango-1.0/pango/pango-font.h +32 -3
  103. package/include/pango-1.0/pango/pango-fontmap.h +4 -0
  104. package/include/pango-1.0/pango/pango-layout.h +10 -1
  105. package/include/pango-1.0/pango/pango-version-macros.h +52 -0
  106. package/include/pango-1.0/pango/pangofc-fontmap.h +6 -0
  107. package/include/pixman-1/pixman-version.h +3 -3
  108. package/include/png.h +120 -12
  109. package/include/pngconf.h +2 -3
  110. package/include/pnglibconf.h +11 -2
  111. package/include/vips/colour.h +2 -0
  112. package/include/vips/version.h +4 -4
  113. package/include/webp/encode.h +5 -4
  114. package/include/webp/sharpyuv/sharpyuv.h +14 -5
  115. package/include/webp/sharpyuv/sharpyuv_csp.h +5 -0
  116. package/include/webp/types.h +2 -2
  117. package/include/zlib.h +4 -4
  118. package/package.json +1 -1
  119. package/versions.json +20 -20
@@ -25,25 +25,27 @@
25
25
  #ifndef _FONTCONFIG_H_
26
26
  #define _FONTCONFIG_H_
27
27
 
28
- #include <sys/types.h>
29
- #include <sys/stat.h>
30
- #include <stdarg.h>
31
28
  #include <limits.h>
29
+ #include <stdarg.h>
30
+ #include <sys/stat.h>
31
+ #include <sys/types.h>
32
32
 
33
33
  #if defined(__GNUC__) && (__GNUC__ >= 4)
34
- #define FC_ATTRIBUTE_SENTINEL(x) __attribute__((__sentinel__(0)))
34
+ # define FC_ATTRIBUTE_SENTINEL(x) __attribute__ ((__sentinel__ (0)))
35
+ # define FC_ATTRIBUTE_MAY_ALIAS __attribute__ ((may_alias))
35
36
  #else
36
- #define FC_ATTRIBUTE_SENTINEL(x)
37
+ # define FC_ATTRIBUTE_SENTINEL(x)
38
+ # define FC_ATTRIBUTE_MAY_ALIAS
37
39
  #endif
38
40
 
39
41
  #ifndef FcPublic
40
- #define FcPublic
42
+ # define FcPublic
41
43
  #endif
42
44
 
43
- typedef unsigned char FcChar8;
44
- typedef unsigned short FcChar16;
45
- typedef unsigned int FcChar32;
46
- typedef int FcBool;
45
+ typedef unsigned char FcChar8;
46
+ typedef unsigned short FcChar16;
47
+ typedef unsigned int FcChar32;
48
+ typedef int FcBool;
47
49
 
48
50
  /*
49
51
  * Current Fontconfig version number. This same number
@@ -51,11 +53,11 @@ typedef int FcBool;
51
53
  * it'a a pain to synchronize version numbers like this.
52
54
  */
53
55
 
54
- #define FC_MAJOR 2
55
- #define FC_MINOR 15
56
- #define FC_REVISION 0
56
+ #define FC_MAJOR 2
57
+ #define FC_MINOR 16
58
+ #define FC_REVISION 1
57
59
 
58
- #define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
60
+ #define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
59
61
 
60
62
  /*
61
63
  * Current font cache file format version
@@ -67,139 +69,139 @@ typedef int FcBool;
67
69
  * it means multiple copies of the font information.
68
70
  */
69
71
 
70
- #define FC_CACHE_VERSION_NUMBER 9
71
- #define _FC_STRINGIFY_(s) #s
72
- #define _FC_STRINGIFY(s) _FC_STRINGIFY_(s)
73
- #define FC_CACHE_VERSION _FC_STRINGIFY(FC_CACHE_VERSION_NUMBER)
74
-
75
- #define FcFalse 0
76
- #define FcTrue 1
77
- #define FcDontCare 2
78
-
79
- #define FC_FAMILY "family" /* String */
80
- #define FC_STYLE "style" /* String */
81
- #define FC_SLANT "slant" /* Int */
82
- #define FC_WEIGHT "weight" /* Int */
83
- #define FC_SIZE "size" /* Range (double) */
84
- #define FC_ASPECT "aspect" /* Double */
85
- #define FC_PIXEL_SIZE "pixelsize" /* Double */
86
- #define FC_SPACING "spacing" /* Int */
87
- #define FC_FOUNDRY "foundry" /* String */
88
- #define FC_ANTIALIAS "antialias" /* Bool (depends) */
89
- #define FC_HINTING "hinting" /* Bool (true) */
90
- #define FC_HINT_STYLE "hintstyle" /* Int */
91
- #define FC_VERTICAL_LAYOUT "verticallayout" /* Bool (false) */
92
- #define FC_AUTOHINT "autohint" /* Bool (false) */
72
+ #define FC_CACHE_VERSION_NUMBER 9
73
+ #define _FC_STRINGIFY_(s) #s
74
+ #define _FC_STRINGIFY(s) _FC_STRINGIFY_ (s)
75
+ #define FC_CACHE_VERSION _FC_STRINGIFY (FC_CACHE_VERSION_NUMBER)
76
+
77
+ #define FcFalse 0
78
+ #define FcTrue 1
79
+ #define FcDontCare 2
80
+
81
+ #define FC_FAMILY "family" /* String */
82
+ #define FC_STYLE "style" /* String */
83
+ #define FC_SLANT "slant" /* Int */
84
+ #define FC_WEIGHT "weight" /* Int */
85
+ #define FC_SIZE "size" /* Range (double) */
86
+ #define FC_ASPECT "aspect" /* Double */
87
+ #define FC_PIXEL_SIZE "pixelsize" /* Double */
88
+ #define FC_SPACING "spacing" /* Int */
89
+ #define FC_FOUNDRY "foundry" /* String */
90
+ #define FC_ANTIALIAS "antialias" /* Bool (depends) */
91
+ #define FC_HINTING "hinting" /* Bool (true) */
92
+ #define FC_HINT_STYLE "hintstyle" /* Int */
93
+ #define FC_VERTICAL_LAYOUT "verticallayout" /* Bool (false) */
94
+ #define FC_AUTOHINT "autohint" /* Bool (false) */
93
95
  /* FC_GLOBAL_ADVANCE is deprecated. this is simply ignored on freetype 2.4.5 or later */
94
- #define FC_GLOBAL_ADVANCE "globaladvance" /* Bool (true) */
95
- #define FC_WIDTH "width" /* Int */
96
- #define FC_FILE "file" /* String */
97
- #define FC_INDEX "index" /* Int */
98
- #define FC_FT_FACE "ftface" /* FT_Face */
99
- #define FC_RASTERIZER "rasterizer" /* String (deprecated) */
100
- #define FC_OUTLINE "outline" /* Bool */
101
- #define FC_SCALABLE "scalable" /* Bool */
102
- #define FC_COLOR "color" /* Bool */
103
- #define FC_VARIABLE "variable" /* Bool */
104
- #define FC_SCALE "scale" /* double (deprecated) */
105
- #define FC_SYMBOL "symbol" /* Bool */
106
- #define FC_DPI "dpi" /* double */
107
- #define FC_RGBA "rgba" /* Int */
108
- #define FC_MINSPACE "minspace" /* Bool use minimum line spacing */
109
- #define FC_SOURCE "source" /* String (deprecated) */
110
- #define FC_CHARSET "charset" /* CharSet */
111
- #define FC_LANG "lang" /* LangSet Set of RFC 3066 langs */
112
- #define FC_FONTVERSION "fontversion" /* Int from 'head' table */
113
- #define FC_FULLNAME "fullname" /* String */
114
- #define FC_FAMILYLANG "familylang" /* String RFC 3066 langs */
115
- #define FC_STYLELANG "stylelang" /* String RFC 3066 langs */
116
- #define FC_FULLNAMELANG "fullnamelang" /* String RFC 3066 langs */
117
- #define FC_CAPABILITY "capability" /* String */
118
- #define FC_FONTFORMAT "fontformat" /* String */
119
- #define FC_EMBOLDEN "embolden" /* Bool - true if emboldening needed*/
120
- #define FC_EMBEDDED_BITMAP "embeddedbitmap" /* Bool - true to enable embedded bitmaps */
121
- #define FC_DECORATIVE "decorative" /* Bool - true if style is a decorative variant */
122
- #define FC_LCD_FILTER "lcdfilter" /* Int */
123
- #define FC_FONT_FEATURES "fontfeatures" /* String */
124
- #define FC_FONT_VARIATIONS "fontvariations" /* String */
125
- #define FC_NAMELANG "namelang" /* String RFC 3866 langs */
126
- #define FC_PRGNAME "prgname" /* String */
127
- #define FC_HASH "hash" /* String (deprecated) */
128
- #define FC_POSTSCRIPT_NAME "postscriptname" /* String */
129
- #define FC_FONT_HAS_HINT "fonthashint" /* Bool - true if font has hinting */
130
- #define FC_ORDER "order" /* Integer */
131
- #define FC_DESKTOP_NAME "desktop" /* String */
132
- #define FC_NAMED_INSTANCE "namedinstance" /* Bool - true if font is named instance */
133
- #define FC_FONT_WRAPPER "fontwrapper" /* String */
134
-
135
- #define FC_CACHE_SUFFIX ".cache-" FC_CACHE_VERSION
136
- #define FC_DIR_CACHE_FILE "fonts.cache-" FC_CACHE_VERSION
137
- #define FC_USER_CACHE_FILE ".fonts.cache-" FC_CACHE_VERSION
96
+ #define FC_GLOBAL_ADVANCE "globaladvance" /* Bool (true) */
97
+ #define FC_WIDTH "width" /* Int */
98
+ #define FC_FILE "file" /* String */
99
+ #define FC_INDEX "index" /* Int */
100
+ #define FC_FT_FACE "ftface" /* FT_Face */
101
+ #define FC_RASTERIZER "rasterizer" /* String (deprecated) */
102
+ #define FC_OUTLINE "outline" /* Bool */
103
+ #define FC_SCALABLE "scalable" /* Bool */
104
+ #define FC_COLOR "color" /* Bool */
105
+ #define FC_VARIABLE "variable" /* Bool */
106
+ #define FC_SCALE "scale" /* double (deprecated) */
107
+ #define FC_SYMBOL "symbol" /* Bool */
108
+ #define FC_DPI "dpi" /* double */
109
+ #define FC_RGBA "rgba" /* Int */
110
+ #define FC_MINSPACE "minspace" /* Bool use minimum line spacing */
111
+ #define FC_SOURCE "source" /* String (deprecated) */
112
+ #define FC_CHARSET "charset" /* CharSet */
113
+ #define FC_LANG "lang" /* LangSet Set of RFC 3066 langs */
114
+ #define FC_FONTVERSION "fontversion" /* Int from 'head' table */
115
+ #define FC_FULLNAME "fullname" /* String */
116
+ #define FC_FAMILYLANG "familylang" /* String RFC 3066 langs */
117
+ #define FC_STYLELANG "stylelang" /* String RFC 3066 langs */
118
+ #define FC_FULLNAMELANG "fullnamelang" /* String RFC 3066 langs */
119
+ #define FC_CAPABILITY "capability" /* String */
120
+ #define FC_FONTFORMAT "fontformat" /* String */
121
+ #define FC_EMBOLDEN "embolden" /* Bool - true if emboldening needed*/
122
+ #define FC_EMBEDDED_BITMAP "embeddedbitmap" /* Bool - true to enable embedded bitmaps */
123
+ #define FC_DECORATIVE "decorative" /* Bool - true if style is a decorative variant */
124
+ #define FC_LCD_FILTER "lcdfilter" /* Int */
125
+ #define FC_FONT_FEATURES "fontfeatures" /* String */
126
+ #define FC_FONT_VARIATIONS "fontvariations" /* String */
127
+ #define FC_NAMELANG "namelang" /* String RFC 3866 langs */
128
+ #define FC_PRGNAME "prgname" /* String */
129
+ #define FC_HASH "hash" /* String (deprecated) */
130
+ #define FC_POSTSCRIPT_NAME "postscriptname" /* String */
131
+ #define FC_FONT_HAS_HINT "fonthashint" /* Bool - true if font has hinting */
132
+ #define FC_ORDER "order" /* Integer */
133
+ #define FC_DESKTOP_NAME "desktop" /* String */
134
+ #define FC_NAMED_INSTANCE "namedinstance" /* Bool - true if font is named instance */
135
+ #define FC_FONT_WRAPPER "fontwrapper" /* String */
136
+
137
+ #define FC_CACHE_SUFFIX ".cache-" FC_CACHE_VERSION
138
+ #define FC_DIR_CACHE_FILE "fonts.cache-" FC_CACHE_VERSION
139
+ #define FC_USER_CACHE_FILE ".fonts.cache-" FC_CACHE_VERSION
138
140
 
139
141
  /* Adjust outline rasterizer */
140
- #define FC_CHARWIDTH "charwidth" /* Int */
141
- #define FC_CHAR_WIDTH FC_CHARWIDTH
142
- #define FC_CHAR_HEIGHT "charheight"/* Int */
143
- #define FC_MATRIX "matrix" /* FcMatrix */
144
-
145
- #define FC_WEIGHT_THIN 0
146
- #define FC_WEIGHT_EXTRALIGHT 40
147
- #define FC_WEIGHT_ULTRALIGHT FC_WEIGHT_EXTRALIGHT
148
- #define FC_WEIGHT_LIGHT 50
149
- #define FC_WEIGHT_DEMILIGHT 55
150
- #define FC_WEIGHT_SEMILIGHT FC_WEIGHT_DEMILIGHT
151
- #define FC_WEIGHT_BOOK 75
152
- #define FC_WEIGHT_REGULAR 80
153
- #define FC_WEIGHT_NORMAL FC_WEIGHT_REGULAR
154
- #define FC_WEIGHT_MEDIUM 100
155
- #define FC_WEIGHT_DEMIBOLD 180
156
- #define FC_WEIGHT_SEMIBOLD FC_WEIGHT_DEMIBOLD
157
- #define FC_WEIGHT_BOLD 200
158
- #define FC_WEIGHT_EXTRABOLD 205
159
- #define FC_WEIGHT_ULTRABOLD FC_WEIGHT_EXTRABOLD
160
- #define FC_WEIGHT_BLACK 210
161
- #define FC_WEIGHT_HEAVY FC_WEIGHT_BLACK
162
- #define FC_WEIGHT_EXTRABLACK 215
163
- #define FC_WEIGHT_ULTRABLACK FC_WEIGHT_EXTRABLACK
164
-
165
- #define FC_SLANT_ROMAN 0
166
- #define FC_SLANT_ITALIC 100
167
- #define FC_SLANT_OBLIQUE 110
168
-
169
- #define FC_WIDTH_ULTRACONDENSED 50
170
- #define FC_WIDTH_EXTRACONDENSED 63
171
- #define FC_WIDTH_CONDENSED 75
172
- #define FC_WIDTH_SEMICONDENSED 87
173
- #define FC_WIDTH_NORMAL 100
174
- #define FC_WIDTH_SEMIEXPANDED 113
175
- #define FC_WIDTH_EXPANDED 125
176
- #define FC_WIDTH_EXTRAEXPANDED 150
177
- #define FC_WIDTH_ULTRAEXPANDED 200
178
-
179
- #define FC_PROPORTIONAL 0
180
- #define FC_DUAL 90
181
- #define FC_MONO 100
182
- #define FC_CHARCELL 110
142
+ #define FC_CHARWIDTH "charwidth" /* Int */
143
+ #define FC_CHAR_WIDTH FC_CHARWIDTH
144
+ #define FC_CHAR_HEIGHT "charheight" /* Int */
145
+ #define FC_MATRIX "matrix" /* FcMatrix */
146
+
147
+ #define FC_WEIGHT_THIN 0
148
+ #define FC_WEIGHT_EXTRALIGHT 40
149
+ #define FC_WEIGHT_ULTRALIGHT FC_WEIGHT_EXTRALIGHT
150
+ #define FC_WEIGHT_LIGHT 50
151
+ #define FC_WEIGHT_DEMILIGHT 55
152
+ #define FC_WEIGHT_SEMILIGHT FC_WEIGHT_DEMILIGHT
153
+ #define FC_WEIGHT_BOOK 75
154
+ #define FC_WEIGHT_REGULAR 80
155
+ #define FC_WEIGHT_NORMAL FC_WEIGHT_REGULAR
156
+ #define FC_WEIGHT_MEDIUM 100
157
+ #define FC_WEIGHT_DEMIBOLD 180
158
+ #define FC_WEIGHT_SEMIBOLD FC_WEIGHT_DEMIBOLD
159
+ #define FC_WEIGHT_BOLD 200
160
+ #define FC_WEIGHT_EXTRABOLD 205
161
+ #define FC_WEIGHT_ULTRABOLD FC_WEIGHT_EXTRABOLD
162
+ #define FC_WEIGHT_BLACK 210
163
+ #define FC_WEIGHT_HEAVY FC_WEIGHT_BLACK
164
+ #define FC_WEIGHT_EXTRABLACK 215
165
+ #define FC_WEIGHT_ULTRABLACK FC_WEIGHT_EXTRABLACK
166
+
167
+ #define FC_SLANT_ROMAN 0
168
+ #define FC_SLANT_ITALIC 100
169
+ #define FC_SLANT_OBLIQUE 110
170
+
171
+ #define FC_WIDTH_ULTRACONDENSED 50
172
+ #define FC_WIDTH_EXTRACONDENSED 63
173
+ #define FC_WIDTH_CONDENSED 75
174
+ #define FC_WIDTH_SEMICONDENSED 87
175
+ #define FC_WIDTH_NORMAL 100
176
+ #define FC_WIDTH_SEMIEXPANDED 113
177
+ #define FC_WIDTH_EXPANDED 125
178
+ #define FC_WIDTH_EXTRAEXPANDED 150
179
+ #define FC_WIDTH_ULTRAEXPANDED 200
180
+
181
+ #define FC_PROPORTIONAL 0
182
+ #define FC_DUAL 90
183
+ #define FC_MONO 100
184
+ #define FC_CHARCELL 110
183
185
 
184
186
  /* sub-pixel order */
185
- #define FC_RGBA_UNKNOWN 0
186
- #define FC_RGBA_RGB 1
187
- #define FC_RGBA_BGR 2
188
- #define FC_RGBA_VRGB 3
189
- #define FC_RGBA_VBGR 4
190
- #define FC_RGBA_NONE 5
187
+ #define FC_RGBA_UNKNOWN 0
188
+ #define FC_RGBA_RGB 1
189
+ #define FC_RGBA_BGR 2
190
+ #define FC_RGBA_VRGB 3
191
+ #define FC_RGBA_VBGR 4
192
+ #define FC_RGBA_NONE 5
191
193
 
192
194
  /* hinting style */
193
- #define FC_HINT_NONE 0
194
- #define FC_HINT_SLIGHT 1
195
- #define FC_HINT_MEDIUM 2
196
- #define FC_HINT_FULL 3
195
+ #define FC_HINT_NONE 0
196
+ #define FC_HINT_SLIGHT 1
197
+ #define FC_HINT_MEDIUM 2
198
+ #define FC_HINT_FULL 3
197
199
 
198
200
  /* LCD filter */
199
- #define FC_LCD_NONE 0
200
- #define FC_LCD_DEFAULT 1
201
- #define FC_LCD_LIGHT 2
202
- #define FC_LCD_LEGACY 3
201
+ #define FC_LCD_NONE 0
202
+ #define FC_LCD_DEFAULT 1
203
+ #define FC_LCD_LIGHT 2
204
+ #define FC_LCD_LEGACY 3
203
205
 
204
206
  typedef enum _FcType {
205
207
  FcTypeUnknown = -1,
@@ -219,8 +221,8 @@ typedef struct _FcMatrix {
219
221
  double xx, xy, yx, yy;
220
222
  } FcMatrix;
221
223
 
222
- #define FcMatrixInit(m) ((m)->xx = (m)->yy = 1, \
223
- (m)->xy = (m)->yx = 0)
224
+ #define FcMatrixInit(m) ((m)->xx = (m)->yy = 1, \
225
+ (m)->xy = (m)->yx = 0)
224
226
 
225
227
  /*
226
228
  * A data structure to represent the available glyphs in a font.
@@ -230,67 +232,74 @@ typedef struct _FcMatrix {
230
232
  typedef struct _FcCharSet FcCharSet;
231
233
 
232
234
  typedef struct _FcObjectType {
233
- char *object;
234
- FcType type;
235
+ char *object;
236
+ FcType type;
235
237
  } FcObjectType;
236
238
 
237
239
  typedef struct _FcConstant {
238
- const FcChar8 *name;
239
- const char *object;
240
- int value;
240
+ const FcChar8 *name;
241
+ const char *object;
242
+ int value;
241
243
  } FcConstant;
242
244
 
243
245
  typedef enum _FcResult {
244
- FcResultMatch, FcResultNoMatch, FcResultTypeMismatch, FcResultNoId,
246
+ FcResultMatch,
247
+ FcResultNoMatch,
248
+ FcResultTypeMismatch,
249
+ FcResultNoId,
245
250
  FcResultOutOfMemory
246
251
  } FcResult;
247
252
 
248
253
  typedef enum _FcValueBinding {
249
- FcValueBindingWeak, FcValueBindingStrong, FcValueBindingSame,
254
+ FcValueBindingWeak,
255
+ FcValueBindingStrong,
256
+ FcValueBindingSame,
250
257
  /* to make sure sizeof (FcValueBinding) == 4 even with -fshort-enums */
251
258
  FcValueBindingEnd = INT_MAX
252
259
  } FcValueBinding;
253
260
 
254
- typedef struct _FcPattern FcPattern;
261
+ typedef struct _FcPattern FcPattern;
255
262
 
256
- typedef struct _FcPatternIter {
263
+ typedef struct FC_ATTRIBUTE_MAY_ALIAS _FcPatternIter {
257
264
  void *dummy1;
258
265
  void *dummy2;
259
266
  } FcPatternIter;
260
267
 
261
- typedef struct _FcLangSet FcLangSet;
268
+ typedef struct _FcLangSet FcLangSet;
262
269
 
263
- typedef struct _FcRange FcRange;
270
+ typedef struct _FcRange FcRange;
264
271
 
265
272
  typedef struct _FcValue {
266
- FcType type;
273
+ FcType type;
267
274
  union {
268
- const FcChar8 *s;
269
- int i;
270
- FcBool b;
271
- double d;
272
- const FcMatrix *m;
273
- const FcCharSet *c;
274
- void *f;
275
- const FcLangSet *l;
276
- const FcRange *r;
275
+ const FcChar8 *s;
276
+ int i;
277
+ FcBool b;
278
+ double d;
279
+ const FcMatrix *m;
280
+ const FcCharSet *c;
281
+ void *f;
282
+ const FcLangSet *l;
283
+ const FcRange *r;
277
284
  } u;
278
285
  } FcValue;
279
286
 
280
287
  typedef struct _FcFontSet {
281
- int nfont;
282
- int sfont;
283
- FcPattern **fonts;
288
+ int nfont;
289
+ int sfont;
290
+ FcPattern **fonts;
284
291
  } FcFontSet;
285
292
 
286
293
  typedef struct _FcObjectSet {
287
- int nobject;
288
- int sobject;
289
- const char **objects;
294
+ int nobject;
295
+ int sobject;
296
+ const char **objects;
290
297
  } FcObjectSet;
291
298
 
292
299
  typedef enum _FcMatchKind {
293
- FcMatchPattern, FcMatchFont, FcMatchScan,
300
+ FcMatchPattern,
301
+ FcMatchFont,
302
+ FcMatchScan,
294
303
  FcMatchKindEnd,
295
304
  FcMatchKindBegin = FcMatchPattern
296
305
  } FcMatchKind;
@@ -308,34 +317,38 @@ typedef enum _FcSetName {
308
317
  } FcSetName;
309
318
 
310
319
  typedef struct _FcConfigFileInfoIter {
311
- void *dummy1;
312
- void *dummy2;
313
- void *dummy3;
320
+ void *dummy1;
321
+ void *dummy2;
322
+ void *dummy3;
314
323
  } FcConfigFileInfoIter;
315
324
 
316
325
  typedef struct _FcAtomic FcAtomic;
317
326
 
318
327
  #if defined(__cplusplus) || defined(c_plusplus) /* for C++ V2.0 */
319
- #define _FCFUNCPROTOBEGIN extern "C" { /* do not leave open across includes */
320
- #define _FCFUNCPROTOEND }
328
+ # define _FCFUNCPROTOBEGIN extern "C" { /* do not leave open across includes */
329
+ # define _FCFUNCPROTOEND }
321
330
  #else
322
- #define _FCFUNCPROTOBEGIN
323
- #define _FCFUNCPROTOEND
331
+ # define _FCFUNCPROTOBEGIN
332
+ # define _FCFUNCPROTOEND
324
333
  #endif
325
334
 
326
- typedef enum { FcEndianBig, FcEndianLittle } FcEndian;
335
+ typedef enum { FcEndianBig,
336
+ FcEndianLittle } FcEndian;
337
+
338
+ typedef struct _FcConfig FcConfig;
327
339
 
328
- typedef struct _FcConfig FcConfig;
340
+ typedef struct _FcGlobalCache FcFileCache;
329
341
 
330
- typedef struct _FcGlobalCache FcFileCache;
342
+ typedef struct _FcBlanks FcBlanks;
331
343
 
332
- typedef struct _FcBlanks FcBlanks;
344
+ typedef struct _FcStrList FcStrList;
333
345
 
334
- typedef struct _FcStrList FcStrList;
346
+ typedef struct _FcStrSet FcStrSet;
335
347
 
336
- typedef struct _FcStrSet FcStrSet;
348
+ typedef struct _FcCache FcCache;
337
349
 
338
- typedef struct _FcCache FcCache;
350
+ typedef void (*FcDestroyFunc) (void *data);
351
+ typedef FcBool (*FcFilterFontSetFunc) (const FcPattern *font, void *user_data);
339
352
 
340
353
  _FCFUNCPROTOBEGIN
341
354
 
@@ -355,10 +368,10 @@ FcBlanksIsMember (FcBlanks *b, FcChar32 ucs4);
355
368
  /* fccache.c */
356
369
 
357
370
  FcPublic const FcChar8 *
358
- FcCacheDir(const FcCache *c);
371
+ FcCacheDir (const FcCache *c);
359
372
 
360
373
  FcPublic FcFontSet *
361
- FcCacheCopySet(const FcCache *c);
374
+ FcCacheCopySet (const FcCache *c);
362
375
 
363
376
  FcPublic const FcChar8 *
364
377
  FcCacheSubdir (const FcCache *c, int i);
@@ -383,12 +396,12 @@ FcCacheCreateTagFile (FcConfig *config);
383
396
 
384
397
  FcPublic FcBool
385
398
  FcDirCacheCreateUUID (FcChar8 *dir,
386
- FcBool force,
387
- FcConfig *config);
399
+ FcBool force,
400
+ FcConfig *config);
388
401
 
389
402
  FcPublic FcBool
390
- FcDirCacheDeleteUUID (const FcChar8 *dir,
391
- FcConfig *config);
403
+ FcDirCacheDeleteUUID (const FcChar8 *dir,
404
+ FcConfig *config);
392
405
 
393
406
  /* fccfg.c */
394
407
  FcPublic FcChar8 *
@@ -399,7 +412,7 @@ FcConfigEnableHome (FcBool enable);
399
412
 
400
413
  FcPublic FcChar8 *
401
414
  FcConfigGetFilename (FcConfig *config,
402
- const FcChar8 *url);
415
+ const FcChar8 *url);
403
416
 
404
417
  FcPublic FcChar8 *
405
418
  FcConfigFilename (const FcChar8 *url);
@@ -426,22 +439,22 @@ FcPublic FcBool
426
439
  FcConfigBuildFonts (FcConfig *config);
427
440
 
428
441
  FcPublic FcStrList *
429
- FcConfigGetFontDirs (FcConfig *config);
442
+ FcConfigGetFontDirs (FcConfig *config);
430
443
 
431
444
  FcPublic FcStrList *
432
- FcConfigGetConfigDirs (FcConfig *config);
445
+ FcConfigGetConfigDirs (FcConfig *config);
433
446
 
434
447
  FcPublic FcStrList *
435
- FcConfigGetConfigFiles (FcConfig *config);
448
+ FcConfigGetConfigFiles (FcConfig *config);
436
449
 
437
450
  FcPublic FcChar8 *
438
- FcConfigGetCache (FcConfig *config);
451
+ FcConfigGetCache (FcConfig *config);
439
452
 
440
453
  FcPublic FcBlanks *
441
454
  FcConfigGetBlanks (FcConfig *config);
442
455
 
443
456
  FcPublic FcStrList *
444
- FcConfigGetCacheDirs (FcConfig *config);
457
+ FcConfigGetCacheDirs (FcConfig *config);
445
458
 
446
459
  FcPublic int
447
460
  FcConfigGetRescanInterval (FcConfig *config);
@@ -450,55 +463,69 @@ FcPublic FcBool
450
463
  FcConfigSetRescanInterval (FcConfig *config, int rescanInterval);
451
464
 
452
465
  FcPublic FcFontSet *
453
- FcConfigGetFonts (FcConfig *config,
454
- FcSetName set);
466
+ FcConfigGetFonts (FcConfig *config,
467
+ FcSetName set);
455
468
 
456
469
  FcPublic FcBool
457
- FcConfigAppFontAddFile (FcConfig *config,
458
- const FcChar8 *file);
470
+ FcConfigAcceptFont (FcConfig *config,
471
+ const FcPattern *font);
459
472
 
460
473
  FcPublic FcBool
461
- FcConfigAppFontAddDir (FcConfig *config,
462
- const FcChar8 *dir);
474
+ FcConfigAcceptFilter (FcConfig *config,
475
+ const FcPattern *font);
476
+
477
+ FcPublic FcBool
478
+ FcConfigAppFontAddFile (FcConfig *config,
479
+ const FcChar8 *file);
480
+
481
+ FcPublic FcBool
482
+ FcConfigAppFontAddDir (FcConfig *config,
483
+ const FcChar8 *dir);
463
484
 
464
485
  FcPublic void
465
- FcConfigAppFontClear (FcConfig *config);
486
+ FcConfigAppFontClear (FcConfig *config);
466
487
 
467
488
  FcPublic FcBool
468
- FcConfigSubstituteWithPat (FcConfig *config,
469
- FcPattern *p,
470
- FcPattern *p_pat,
471
- FcMatchKind kind);
489
+ FcConfigSubstituteWithPat (FcConfig *config,
490
+ FcPattern *p,
491
+ FcPattern *p_pat,
492
+ FcMatchKind kind);
472
493
 
473
494
  FcPublic FcBool
474
- FcConfigSubstitute (FcConfig *config,
475
- FcPattern *p,
476
- FcMatchKind kind);
495
+ FcConfigSubstitute (FcConfig *config,
496
+ FcPattern *p,
497
+ FcMatchKind kind);
477
498
 
478
499
  FcPublic const FcChar8 *
479
500
  FcConfigGetSysRoot (const FcConfig *config);
480
501
 
481
502
  FcPublic void
482
503
  FcConfigSetSysRoot (FcConfig *config,
483
- const FcChar8 *sysroot);
504
+ const FcChar8 *sysroot);
505
+
506
+ FcPublic FcConfig *
507
+ FcConfigSetFontSetFilter (FcConfig *config,
508
+ FcFilterFontSetFunc filter_func,
509
+ FcDestroyFunc destroy_data_func,
510
+ void *user_data);
484
511
 
485
512
  FcPublic void
486
- FcConfigFileInfoIterInit (FcConfig *config,
487
- FcConfigFileInfoIter *iter);
513
+ FcConfigFileInfoIterInit (FcConfig *config,
514
+ FcConfigFileInfoIter *iter);
488
515
 
489
516
  FcPublic FcBool
490
- FcConfigFileInfoIterNext (FcConfig *config,
491
- FcConfigFileInfoIter *iter);
517
+ FcConfigFileInfoIterNext (FcConfig *config,
518
+ FcConfigFileInfoIter *iter);
492
519
 
493
520
  FcPublic FcBool
494
- FcConfigFileInfoIterGet (FcConfig *config,
495
- FcConfigFileInfoIter *iter,
496
- FcChar8 **name,
497
- FcChar8 **description,
498
- FcBool *enabled);
521
+ FcConfigFileInfoIterGet (FcConfig *config,
522
+ FcConfigFileInfoIter *iter,
523
+ FcChar8 **name,
524
+ FcChar8 **description,
525
+ FcBool *enabled);
499
526
 
500
527
  /* fccharset.c */
501
- FcPublic FcCharSet*
528
+ FcPublic FcCharSet *
502
529
  FcCharSetCreate (void);
503
530
 
504
531
  /* deprecated alias for FcCharSetCreate */
@@ -514,19 +541,19 @@ FcCharSetAddChar (FcCharSet *fcs, FcChar32 ucs4);
514
541
  FcPublic FcBool
515
542
  FcCharSetDelChar (FcCharSet *fcs, FcChar32 ucs4);
516
543
 
517
- FcPublic FcCharSet*
544
+ FcPublic FcCharSet *
518
545
  FcCharSetCopy (FcCharSet *src);
519
546
 
520
547
  FcPublic FcBool
521
548
  FcCharSetEqual (const FcCharSet *a, const FcCharSet *b);
522
549
 
523
- FcPublic FcCharSet*
550
+ FcPublic FcCharSet *
524
551
  FcCharSetIntersect (const FcCharSet *a, const FcCharSet *b);
525
552
 
526
- FcPublic FcCharSet*
553
+ FcPublic FcCharSet *
527
554
  FcCharSetUnion (const FcCharSet *a, const FcCharSet *b);
528
555
 
529
- FcPublic FcCharSet*
556
+ FcPublic FcCharSet *
530
557
  FcCharSetSubtract (const FcCharSet *a, const FcCharSet *b);
531
558
 
532
559
  FcPublic FcBool
@@ -547,18 +574,18 @@ FcCharSetSubtractCount (const FcCharSet *a, const FcCharSet *b);
547
574
  FcPublic FcBool
548
575
  FcCharSetIsSubset (const FcCharSet *a, const FcCharSet *b);
549
576
 
550
- #define FC_CHARSET_MAP_SIZE (256/32)
551
- #define FC_CHARSET_DONE ((FcChar32) -1)
577
+ #define FC_CHARSET_MAP_SIZE (256 / 32)
578
+ #define FC_CHARSET_DONE ((FcChar32) - 1)
552
579
 
553
580
  FcPublic FcChar32
554
581
  FcCharSetFirstPage (const FcCharSet *a,
555
- FcChar32 map[FC_CHARSET_MAP_SIZE],
556
- FcChar32 *next);
582
+ FcChar32 map[FC_CHARSET_MAP_SIZE],
583
+ FcChar32 *next);
557
584
 
558
585
  FcPublic FcChar32
559
- FcCharSetNextPage (const FcCharSet *a,
560
- FcChar32 map[FC_CHARSET_MAP_SIZE],
561
- FcChar32 *next);
586
+ FcCharSetNextPage (const FcCharSet *a,
587
+ FcChar32 map[FC_CHARSET_MAP_SIZE],
588
+ FcChar32 *next);
562
589
 
563
590
  /*
564
591
  * old coverage API, rather hard to use correctly
@@ -589,20 +616,20 @@ FcPublic FcBool
589
616
  FcFileIsDir (const FcChar8 *file);
590
617
 
591
618
  FcPublic FcBool
592
- FcFileScan (FcFontSet *set,
593
- FcStrSet *dirs,
594
- FcFileCache *cache,
595
- FcBlanks *blanks,
596
- const FcChar8 *file,
597
- FcBool force);
619
+ FcFileScan (FcFontSet *set,
620
+ FcStrSet *dirs,
621
+ FcFileCache *cache,
622
+ FcBlanks *blanks,
623
+ const FcChar8 *file,
624
+ FcBool force);
598
625
 
599
626
  FcPublic FcBool
600
- FcDirScan (FcFontSet *set,
601
- FcStrSet *dirs,
602
- FcFileCache *cache,
603
- FcBlanks *blanks,
604
- const FcChar8 *dir,
605
- FcBool force);
627
+ FcDirScan (FcFontSet *set,
628
+ FcStrSet *dirs,
629
+ FcFileCache *cache,
630
+ FcBlanks *blanks,
631
+ const FcChar8 *dir,
632
+ FcBool force);
606
633
 
607
634
  FcPublic FcBool
608
635
  FcDirSave (FcFontSet *set, FcStrSet *dirs, const FcChar8 *dir);
@@ -627,7 +654,7 @@ FcPublic FcPattern *
627
654
  FcFreeTypeQuery (const FcChar8 *file, unsigned int id, FcBlanks *blanks, int *count);
628
655
 
629
656
  FcPublic unsigned int
630
- FcFreeTypeQueryAll(const FcChar8 *file, unsigned int id, FcBlanks *blanks, int *count, FcFontSet *set);
657
+ FcFreeTypeQueryAll (const FcChar8 *file, unsigned int id, FcBlanks *blanks, int *count, FcFontSet *set);
631
658
 
632
659
  /* fcfs.c */
633
660
 
@@ -672,13 +699,13 @@ FcLangNormalize (const FcChar8 *lang);
672
699
  FcPublic const FcCharSet *
673
700
  FcLangGetCharSet (const FcChar8 *lang);
674
701
 
675
- FcPublic FcLangSet*
702
+ FcPublic FcLangSet *
676
703
  FcLangSetCreate (void);
677
704
 
678
705
  FcPublic void
679
706
  FcLangSetDestroy (FcLangSet *ls);
680
707
 
681
- FcPublic FcLangSet*
708
+ FcPublic FcLangSet *
682
709
  FcLangSetCopy (const FcLangSet *ls);
683
710
 
684
711
  FcPublic FcBool
@@ -725,24 +752,24 @@ FcPublic FcObjectSet *
725
752
  FcObjectSetVaBuild (const char *first, va_list va);
726
753
 
727
754
  FcPublic FcObjectSet *
728
- FcObjectSetBuild (const char *first, ...) FC_ATTRIBUTE_SENTINEL(0);
755
+ FcObjectSetBuild (const char *first, ...) FC_ATTRIBUTE_SENTINEL (0);
729
756
 
730
757
  FcPublic FcFontSet *
731
- FcFontSetList (FcConfig *config,
732
- FcFontSet **sets,
733
- int nsets,
734
- FcPattern *p,
735
- FcObjectSet *os);
758
+ FcFontSetList (FcConfig *config,
759
+ FcFontSet **sets,
760
+ int nsets,
761
+ FcPattern *p,
762
+ FcObjectSet *os);
736
763
 
737
764
  FcPublic FcFontSet *
738
- FcFontList (FcConfig *config,
739
- FcPattern *p,
740
- FcObjectSet *os);
765
+ FcFontList (FcConfig *config,
766
+ FcPattern *p,
767
+ FcObjectSet *os);
741
768
 
742
769
  /* fcatomic.c */
743
770
 
744
771
  FcPublic FcAtomic *
745
- FcAtomicCreate (const FcChar8 *file);
772
+ FcAtomicCreate (const FcChar8 *file);
746
773
 
747
774
  FcPublic FcBool
748
775
  FcAtomicLock (FcAtomic *atomic);
@@ -767,37 +794,37 @@ FcAtomicDestroy (FcAtomic *atomic);
767
794
 
768
795
  /* fcmatch.c */
769
796
  FcPublic FcPattern *
770
- FcFontSetMatch (FcConfig *config,
771
- FcFontSet **sets,
772
- int nsets,
773
- FcPattern *p,
774
- FcResult *result);
797
+ FcFontSetMatch (FcConfig *config,
798
+ FcFontSet **sets,
799
+ int nsets,
800
+ FcPattern *p,
801
+ FcResult *result);
775
802
 
776
803
  FcPublic FcPattern *
777
- FcFontMatch (FcConfig *config,
778
- FcPattern *p,
779
- FcResult *result);
804
+ FcFontMatch (FcConfig *config,
805
+ FcPattern *p,
806
+ FcResult *result);
780
807
 
781
808
  FcPublic FcPattern *
782
- FcFontRenderPrepare (FcConfig *config,
783
- FcPattern *pat,
784
- FcPattern *font);
809
+ FcFontRenderPrepare (FcConfig *config,
810
+ FcPattern *pat,
811
+ FcPattern *font);
785
812
 
786
813
  FcPublic FcFontSet *
787
- FcFontSetSort (FcConfig *config,
788
- FcFontSet **sets,
789
- int nsets,
790
- FcPattern *p,
791
- FcBool trim,
792
- FcCharSet **csp,
793
- FcResult *result);
814
+ FcFontSetSort (FcConfig *config,
815
+ FcFontSet **sets,
816
+ int nsets,
817
+ FcPattern *p,
818
+ FcBool trim,
819
+ FcCharSet **csp,
820
+ FcResult *result);
794
821
 
795
822
  FcPublic FcFontSet *
796
- FcFontSort (FcConfig *config,
797
- FcPattern *p,
798
- FcBool trim,
799
- FcCharSet **csp,
800
- FcResult *result);
823
+ FcFontSort (FcConfig *config,
824
+ FcPattern *p,
825
+ FcBool trim,
826
+ FcCharSet **csp,
827
+ FcResult *result);
801
828
 
802
829
  FcPublic void
803
830
  FcFontSetSortDestroy (FcFontSet *fs);
@@ -943,7 +970,7 @@ FcPublic FcResult
943
970
  FcPatternGetDouble (const FcPattern *p, const char *object, int n, double *d);
944
971
 
945
972
  FcPublic FcResult
946
- FcPatternGetString (const FcPattern *p, const char *object, int n, FcChar8 ** s);
973
+ FcPatternGetString (const FcPattern *p, const char *object, int n, FcChar8 **s);
947
974
 
948
975
  FcPublic FcResult
949
976
  FcPatternGetMatrix (const FcPattern *p, const char *object, int n, FcMatrix **s);
@@ -964,7 +991,7 @@ FcPublic FcPattern *
964
991
  FcPatternVaBuild (FcPattern *p, va_list va);
965
992
 
966
993
  FcPublic FcPattern *
967
- FcPatternBuild (FcPattern *p, ...) FC_ATTRIBUTE_SENTINEL(0);
994
+ FcPatternBuild (FcPattern *p, ...) FC_ATTRIBUTE_SENTINEL (0);
968
995
 
969
996
  FcPublic FcChar8 *
970
997
  FcPatternFormat (FcPattern *pat, const FcChar8 *format);
@@ -983,7 +1010,7 @@ FcPublic FcRange *
983
1010
  FcRangeCopy (const FcRange *r);
984
1011
 
985
1012
  FcPublic FcBool
986
- FcRangeGetDouble(const FcRange *range, double *begin, double *end);
1013
+ FcRangeGetDouble (const FcRange *range, double *begin, double *end);
987
1014
 
988
1015
  FcPublic void
989
1016
  FcPatternIterStart (const FcPattern *pat, FcPatternIter *iter);
@@ -993,7 +1020,7 @@ FcPatternIterNext (const FcPattern *pat, FcPatternIter *iter);
993
1020
 
994
1021
  FcPublic FcBool
995
1022
  FcPatternIterEqual (const FcPattern *p1, FcPatternIter *i1,
996
- const FcPattern *p2, FcPatternIter *i2);
1023
+ const FcPattern *p2, FcPatternIter *i2);
997
1024
 
998
1025
  FcPublic FcBool
999
1026
  FcPatternFindIter (const FcPattern *pat, FcPatternIter *iter, const char *object);
@@ -1039,9 +1066,9 @@ FcPublic void
1039
1066
  FcStrFree (FcChar8 *s);
1040
1067
 
1041
1068
  /* These are ASCII only, suitable only for pattern element names */
1042
- #define FcIsUpper(c) ((0101 <= (c) && (c) <= 0132))
1043
- #define FcIsLower(c) ((0141 <= (c) && (c) <= 0172))
1044
- #define FcToLower(c) (FcIsUpper(c) ? (c) - 0101 + 0141 : (c))
1069
+ #define FcIsUpper(c) ((0101 <= (c) && (c) <= 0132))
1070
+ #define FcIsLower(c) ((0141 <= (c) && (c) <= 0172))
1071
+ #define FcToLower(c) (FcIsUpper (c) ? (c) - 0101 + 0141 : (c))
1045
1072
 
1046
1073
  FcPublic FcChar8 *
1047
1074
  FcStrDowncase (const FcChar8 *s);
@@ -1060,37 +1087,37 @@ FcStrStr (const FcChar8 *s1, const FcChar8 *s2);
1060
1087
 
1061
1088
  FcPublic int
1062
1089
  FcUtf8ToUcs4 (const FcChar8 *src_orig,
1063
- FcChar32 *dst,
1064
- int len);
1090
+ FcChar32 *dst,
1091
+ int len);
1065
1092
 
1066
1093
  FcPublic FcBool
1067
- FcUtf8Len (const FcChar8 *string,
1068
- int len,
1069
- int *nchar,
1070
- int *wchar);
1094
+ FcUtf8Len (const FcChar8 *string,
1095
+ int len,
1096
+ int *nchar,
1097
+ int *wchar);
1071
1098
 
1072
- #define FC_UTF8_MAX_LEN 6
1099
+ #define FC_UTF8_MAX_LEN 6
1073
1100
 
1074
1101
  FcPublic int
1075
- FcUcs4ToUtf8 (FcChar32 ucs4,
1076
- FcChar8 dest[FC_UTF8_MAX_LEN]);
1102
+ FcUcs4ToUtf8 (FcChar32 ucs4,
1103
+ FcChar8 dest[FC_UTF8_MAX_LEN]);
1077
1104
 
1078
1105
  FcPublic int
1079
- FcUtf16ToUcs4 (const FcChar8 *src_orig,
1080
- FcEndian endian,
1081
- FcChar32 *dst,
1082
- int len); /* in bytes */
1106
+ FcUtf16ToUcs4 (const FcChar8 *src_orig,
1107
+ FcEndian endian,
1108
+ FcChar32 *dst,
1109
+ int len); /* in bytes */
1083
1110
 
1084
1111
  FcPublic FcBool
1085
- FcUtf16Len (const FcChar8 *string,
1086
- FcEndian endian,
1087
- int len, /* in bytes */
1088
- int *nchar,
1089
- int *wchar);
1112
+ FcUtf16Len (const FcChar8 *string,
1113
+ FcEndian endian,
1114
+ int len, /* in bytes */
1115
+ int *nchar,
1116
+ int *wchar);
1090
1117
 
1091
1118
  FcPublic FcChar8 *
1092
1119
  FcStrBuildFilename (const FcChar8 *path,
1093
- ...);
1120
+ ...);
1094
1121
 
1095
1122
  FcPublic FcChar8 *
1096
1123
  FcStrDirname (const FcChar8 *file);
@@ -1136,14 +1163,14 @@ FcPublic FcBool
1136
1163
  FcConfigParseAndLoad (FcConfig *config, const FcChar8 *file, FcBool complain);
1137
1164
 
1138
1165
  FcPublic FcBool
1139
- FcConfigParseAndLoadFromMemory (FcConfig *config,
1140
- const FcChar8 *buffer,
1141
- FcBool complain);
1166
+ FcConfigParseAndLoadFromMemory (FcConfig *config,
1167
+ const FcChar8 *buffer,
1168
+ FcBool complain);
1142
1169
 
1143
1170
  _FCFUNCPROTOEND
1144
1171
 
1145
1172
  #undef FC_ATTRIBUTE_SENTINEL
1146
-
1173
+ #undef FC_ATTRIBUTE_MAY_ALIAS
1147
1174
 
1148
1175
  #ifndef _FCINT_H_
1149
1176
 
@@ -1152,8 +1179,8 @@ _FCFUNCPROTOEND
1152
1179
  * digging through documentation
1153
1180
  */
1154
1181
 
1155
- #define FcConfigGetRescanInverval FcConfigGetRescanInverval_REPLACE_BY_FcConfigGetRescanInterval
1156
- #define FcConfigSetRescanInverval FcConfigSetRescanInverval_REPLACE_BY_FcConfigSetRescanInterval
1182
+ # define FcConfigGetRescanInverval FcConfigGetRescanInverval_REPLACE_BY_FcConfigGetRescanInterval
1183
+ # define FcConfigSetRescanInverval FcConfigSetRescanInverval_REPLACE_BY_FcConfigSetRescanInterval
1157
1184
 
1158
1185
  #endif
1159
1186