cairo 1.12.6-x86-mingw32 → 1.12.7-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of cairo might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/NEWS +24 -0
- data/README.rdoc +1 -1
- data/Rakefile +57 -14
- data/ext/cairo/rb_cairo.h +1 -1
- data/ext/cairo/rb_cairo_surface.c +2 -0
- data/lib/1.9/cairo.so +0 -0
- data/lib/2.0/cairo.so +0 -0
- data/lib/2.1/cairo.so +0 -0
- data/lib/cairo/papers.rb +24 -0
- data/test/test_image_surface.rb +28 -0
- data/vendor/local/bin/fc-cache.exe +0 -0
- data/vendor/local/bin/fc-cat.exe +0 -0
- data/vendor/local/bin/fc-list.exe +0 -0
- data/vendor/local/bin/fc-match.exe +0 -0
- data/vendor/local/bin/fc-pattern.exe +0 -0
- data/vendor/local/bin/fc-query.exe +0 -0
- data/vendor/local/bin/fc-scan.exe +0 -0
- data/vendor/local/bin/fc-validate.exe +0 -0
- data/vendor/local/bin/freetype-config +6 -10
- data/vendor/local/bin/libcairo-2.dll +0 -0
- data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
- data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
- data/vendor/local/bin/libfontconfig-1.dll +0 -0
- data/vendor/local/bin/libfreetype-6.dll +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libpixman-1-0.dll +0 -0
- data/vendor/local/bin/libpng-config +1 -1
- data/vendor/local/bin/libpng16-16.dll +0 -0
- data/vendor/local/bin/libpng16-config +1 -1
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/png-fix-itxt.exe +0 -0
- data/vendor/local/bin/pngfix.exe +0 -0
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/fonts/conf.d/30-metric-aliases.conf +259 -53
- data/vendor/local/etc/fonts/conf.d/30-urw-aliases.conf +4 -20
- data/vendor/local/etc/fonts/conf.d/45-latin.conf +16 -0
- data/vendor/local/etc/fonts/conf.d/README +3 -3
- data/vendor/local/etc/fonts/fonts.conf +1 -1
- data/vendor/local/include/cairo/cairo-gobject.h +4 -0
- data/vendor/local/include/cairo/cairo-version.h +1 -1
- data/vendor/local/include/fontconfig/fcprivate.h +2 -1
- data/vendor/local/include/fontconfig/fontconfig.h +7 -3
- data/vendor/local/include/freetype2/{freetype/config → config}/ftconfig.h +105 -13
- data/vendor/local/include/freetype2/{freetype/config → config}/ftheader.h +71 -58
- data/vendor/local/include/freetype2/{freetype/config → config}/ftmodule.h +0 -0
- data/vendor/local/include/freetype2/{freetype/config → config}/ftoption.h +41 -35
- data/vendor/local/include/freetype2/{freetype/config → config}/ftstdlib.h +0 -0
- data/vendor/local/include/freetype2/{freetype/freetype.h → freetype.h} +83 -40
- data/vendor/local/include/freetype2/ft2build.h +42 -0
- data/vendor/local/include/freetype2/{freetype/ftadvanc.h → ftadvanc.h} +14 -11
- data/vendor/local/include/freetype2/{freetype/ftautoh.h → ftautoh.h} +11 -3
- data/vendor/local/include/freetype2/{freetype/ftbbox.h → ftbbox.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftbdf.h → ftbdf.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftbitmap.h → ftbitmap.h} +4 -4
- data/vendor/local/include/freetype2/{freetype/ftbzip2.h → ftbzip2.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftcache.h → ftcache.h} +4 -87
- data/vendor/local/include/freetype2/ftcffdrv.h +254 -0
- data/vendor/local/include/freetype2/{freetype/ftchapters.h → ftchapters.h} +4 -16
- data/vendor/local/include/freetype2/{freetype/ftcid.h → ftcid.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/fterrdef.h → fterrdef.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/fterrors.h → fterrors.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftgasp.h → ftgasp.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftglyph.h → ftglyph.h} +5 -5
- data/vendor/local/include/freetype2/{freetype/ftgxval.h → ftgxval.h} +5 -5
- data/vendor/local/include/freetype2/{freetype/ftgzip.h → ftgzip.h} +48 -1
- data/vendor/local/include/freetype2/{freetype/ftimage.h → ftimage.h} +20 -11
- data/vendor/local/include/freetype2/{freetype/ftincrem.h → ftincrem.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftlcdfil.h → ftlcdfil.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftlist.h → ftlist.h} +6 -6
- data/vendor/local/include/freetype2/{freetype/ftlzw.h → ftlzw.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftmac.h → ftmac.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftmm.h → ftmm.h} +3 -4
- data/vendor/local/include/freetype2/{freetype/ftmodapi.h → ftmodapi.h} +15 -8
- data/vendor/local/include/freetype2/{freetype/ftmoderr.h → ftmoderr.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftotval.h → ftotval.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftoutln.h → ftoutln.h} +16 -7
- data/vendor/local/include/freetype2/{freetype/ftpfr.h → ftpfr.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftrender.h → ftrender.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftsizes.h → ftsizes.h} +2 -2
- data/vendor/local/include/freetype2/{freetype/ftsnames.h → ftsnames.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftstroke.h → ftstroke.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftsynth.h → ftsynth.h} +2 -2
- data/vendor/local/include/freetype2/{freetype/ftsystem.h → ftsystem.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/fttrigon.h → fttrigon.h} +0 -0
- data/vendor/local/include/freetype2/ftttdrv.h +170 -0
- data/vendor/local/include/freetype2/{freetype/fttypes.h → fttypes.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftwinfnt.h → ftwinfnt.h} +4 -3
- data/vendor/local/include/freetype2/{freetype/ftxf86.h → ftxf86.h} +2 -2
- data/vendor/local/include/freetype2/{freetype/t1tables.h → t1tables.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ttnameid.h → ttnameid.h} +2 -2
- data/vendor/local/include/freetype2/{freetype/tttables.h → tttables.h} +24 -14
- data/vendor/local/include/freetype2/{freetype/tttags.h → tttags.h} +5 -1
- data/vendor/local/include/freetype2/{freetype/ttunpat.h → ttunpat.h} +0 -0
- data/vendor/local/include/libpng16/png.h +30 -12
- data/vendor/local/include/libpng16/pngconf.h +2 -1
- data/vendor/local/include/libpng16/pnglibconf.h +3 -3
- data/vendor/local/include/pixman-1/pixman-version.h +3 -3
- data/vendor/local/include/pixman-1/pixman.h +1 -1
- data/vendor/local/include/png.h +30 -12
- data/vendor/local/include/pngconf.h +2 -1
- data/vendor/local/include/pnglibconf.h +3 -3
- data/vendor/local/lib/fontconfig.def +2 -1
- data/vendor/local/lib/libcairo-gobject.a +0 -0
- data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
- data/vendor/local/lib/libcairo-gobject.la +3 -3
- data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.la +3 -3
- data/vendor/local/lib/libcairo.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libcairo.la +3 -3
- data/vendor/local/lib/libfontconfig.a +0 -0
- data/vendor/local/lib/libfontconfig.dll.a +0 -0
- data/vendor/local/lib/libfontconfig.la +3 -3
- data/vendor/local/lib/libfreetype.a +0 -0
- data/vendor/local/lib/libfreetype.dll.a +0 -0
- data/vendor/local/lib/libfreetype.la +3 -3
- data/vendor/local/lib/libpixman-1.a +0 -0
- data/vendor/local/lib/libpixman-1.dll.a +0 -0
- data/vendor/local/lib/libpixman-1.la +4 -4
- data/vendor/local/lib/libpng.a +0 -0
- data/vendor/local/lib/libpng.dll.a +0 -0
- data/vendor/local/lib/libpng.la +2 -2
- data/vendor/local/lib/libpng16.a +0 -0
- data/vendor/local/lib/libpng16.dll.a +0 -0
- data/vendor/local/lib/libpng16.la +2 -2
- data/vendor/local/lib/libxml2.a +0 -0
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-script.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo.pc +3 -3
- data/vendor/local/lib/pkgconfig/fontconfig.pc +6 -4
- data/vendor/local/lib/pkgconfig/freetype2.pc +4 -4
- data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
- data/vendor/local/lib/pkgconfig/pixman-1.pc +1 -1
- data/vendor/local/share/fontconfig/conf.avail/30-metric-aliases.conf +259 -53
- data/vendor/local/share/fontconfig/conf.avail/30-urw-aliases.conf +4 -20
- data/vendor/local/share/fontconfig/conf.avail/45-latin.conf +16 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +3 -3
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +3 -3
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +6 -6
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +3 -3
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +8 -8
- data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +3 -3
- data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +14 -14
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +5 -5
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +0 -8
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +3 -3
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +4 -4
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +2 -2
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +31 -31
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +11 -11
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +8 -8
- data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +11 -11
- data/vendor/local/share/gtk-doc/html/cairo/index.html +1 -1
- data/vendor/local/share/license/fontconfig/README +83 -2
- data/vendor/local/share/license/freetype/README +5 -5
- data/vendor/local/share/license/freetype/README.git +5 -1
- data/vendor/local/share/license/libpng/README +18 -18
- data/vendor/local/share/man/man3/libpng.3 +136 -54
- data/vendor/local/share/man/man3/libpngpf.3 +2 -2
- data/vendor/local/share/man/man5/png.5 +1 -1
- metadata +74 -80
- data/vendor/local/etc/fonts/fonts.conf.bak +0 -155
- data/vendor/local/include/freetype2/freetype/ftcffdrv.h +0 -150
- data/vendor/local/include/ft2build.h +0 -61
@@ -3,30 +3,14 @@
|
|
3
3
|
<fontconfig>
|
4
4
|
<!--
|
5
5
|
URW provides metric and shape compatible fonts for some Adobe families.
|
6
|
-
|
6
|
+
Most of these are handled in 30-metric-aliases.conf.
|
7
7
|
-->
|
8
8
|
<alias binding="same">
|
9
|
-
<family>
|
10
|
-
<accept><family>
|
11
|
-
</alias>
|
12
|
-
<alias binding="same">
|
13
|
-
<family>Bookman</family>
|
14
|
-
<accept><family>URW Bookman L</family></accept>
|
15
|
-
</alias>
|
16
|
-
<alias binding="same">
|
17
|
-
<family>New Century Schoolbook</family>
|
18
|
-
<accept><family>Century Schoolbook L</family></accept>
|
19
|
-
</alias>
|
20
|
-
<alias binding="same">
|
21
|
-
<family>Palatino</family>
|
22
|
-
<accept><family>URW Palladio L</family></accept>
|
23
|
-
</alias>
|
24
|
-
<alias binding="same">
|
25
|
-
<family>Zapf Chancery</family>
|
26
|
-
<accept><family>URW Chancery L</family></accept>
|
9
|
+
<family>Zapf Dingbats</family>
|
10
|
+
<accept><family>Dingbats</family></accept>
|
27
11
|
</alias>
|
28
12
|
<alias binding="same">
|
29
|
-
<family>Zapf Dingbats</family>
|
13
|
+
<family>ITC Zapf Dingbats</family>
|
30
14
|
<accept><family>Dingbats</family></accept>
|
31
15
|
</alias>
|
32
16
|
<match target="pattern">
|
@@ -45,6 +45,22 @@
|
|
45
45
|
<family>Thorndale</family>
|
46
46
|
<default><family>serif</family></default>
|
47
47
|
</alias>
|
48
|
+
<alias>
|
49
|
+
<family>Georgia</family>
|
50
|
+
<default><family>serif</family></default>
|
51
|
+
</alias>
|
52
|
+
<alias>
|
53
|
+
<family>Garamond</family>
|
54
|
+
<default><family>serif</family></default>
|
55
|
+
</alias>
|
56
|
+
<alias>
|
57
|
+
<family>Palatino Linotype</family>
|
58
|
+
<default><family>serif</family></default>
|
59
|
+
</alias>
|
60
|
+
<alias>
|
61
|
+
<family>Trebuchet MS</family>
|
62
|
+
<default><family>serif</family></default>
|
63
|
+
</alias>
|
48
64
|
<!--
|
49
65
|
Sans-serif faces
|
50
66
|
-->
|
@@ -2,9 +2,9 @@ conf.d/README
|
|
2
2
|
|
3
3
|
Each file in this directory is a fontconfig configuration file. Fontconfig
|
4
4
|
scans this directory, loading all files of the form [0-9][0-9]*.conf.
|
5
|
-
These files are normally installed in
|
6
|
-
allowing them to be easily installed and then
|
7
|
-
the symlinks.
|
5
|
+
These files are normally installed in /usr/share/fontconfig/conf.avail
|
6
|
+
and then symlinked here, allowing them to be easily installed and then
|
7
|
+
enabled/disabled by adjusting the symlinks.
|
8
8
|
|
9
9
|
The files are loaded in numeric order, the structure of the configuration
|
10
10
|
has led to the following conventions in usage:
|
@@ -55,6 +55,10 @@ cairo_gobject_context_get_type (void);
|
|
55
55
|
cairo_public GType
|
56
56
|
cairo_gobject_device_get_type (void);
|
57
57
|
|
58
|
+
#define CAIRO_GOBJECT_TYPE_MATRIX cairo_gobject_matrix_get_type ()
|
59
|
+
cairo_public GType
|
60
|
+
cairo_gobject_matrix_get_type (void);
|
61
|
+
|
58
62
|
#define CAIRO_GOBJECT_TYPE_PATTERN cairo_gobject_pattern_get_type ()
|
59
63
|
cairo_public GType
|
60
64
|
cairo_gobject_pattern_get_type (void);
|
@@ -48,8 +48,9 @@
|
|
48
48
|
__o__ = va_arg (va, const char *); \
|
49
49
|
if (!__o__) \
|
50
50
|
break; \
|
51
|
-
__v__.type = va_arg (va,
|
51
|
+
__v__.type = va_arg (va, int); \
|
52
52
|
switch (__v__.type) { \
|
53
|
+
case FcTypeUnknown: \
|
53
54
|
case FcTypeVoid: \
|
54
55
|
goto _FcPatternVapBuild_bail1; \
|
55
56
|
case FcTypeInteger: \
|
@@ -51,8 +51,8 @@ typedef int FcBool;
|
|
51
51
|
*/
|
52
52
|
|
53
53
|
#define FC_MAJOR 2
|
54
|
-
#define FC_MINOR
|
55
|
-
#define FC_REVISION
|
54
|
+
#define FC_MINOR 11
|
55
|
+
#define FC_REVISION 0
|
56
56
|
|
57
57
|
#define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
|
58
58
|
|
@@ -91,7 +91,7 @@ typedef int FcBool;
|
|
91
91
|
#define FC_FILE "file" /* String */
|
92
92
|
#define FC_INDEX "index" /* Int */
|
93
93
|
#define FC_FT_FACE "ftface" /* FT_Face */
|
94
|
-
#define FC_RASTERIZER "rasterizer" /* String */
|
94
|
+
#define FC_RASTERIZER "rasterizer" /* String (deprecated) */
|
95
95
|
#define FC_OUTLINE "outline" /* Bool */
|
96
96
|
#define FC_SCALABLE "scalable" /* Bool */
|
97
97
|
#define FC_SCALE "scale" /* double */
|
@@ -185,6 +185,7 @@ typedef int FcBool;
|
|
185
185
|
#define FC_LCD_LEGACY 3
|
186
186
|
|
187
187
|
typedef enum _FcType {
|
188
|
+
FcTypeUnknown = -1,
|
188
189
|
FcTypeVoid,
|
189
190
|
FcTypeInteger,
|
190
191
|
FcTypeDouble,
|
@@ -973,6 +974,9 @@ FcStrSetDestroy (FcStrSet *set);
|
|
973
974
|
FcPublic FcStrList *
|
974
975
|
FcStrListCreate (FcStrSet *set);
|
975
976
|
|
977
|
+
FcPublic void
|
978
|
+
FcStrListFirst (FcStrList *list);
|
979
|
+
|
976
980
|
FcPublic FcChar8 *
|
977
981
|
FcStrListNext (FcStrList *list);
|
978
982
|
|
@@ -28,9 +28,9 @@
|
|
28
28
|
/* Note however that if some specific modifications are needed, we */
|
29
29
|
/* advise you to place a modified copy in your build directory. */
|
30
30
|
/* */
|
31
|
-
/* The build directory is usually `
|
32
|
-
/*
|
33
|
-
/*
|
31
|
+
/* The build directory is usually `builds/<system>', and contains */
|
32
|
+
/* system-specific files that are always included first when building */
|
33
|
+
/* the library. */
|
34
34
|
/* */
|
35
35
|
/*************************************************************************/
|
36
36
|
|
@@ -53,7 +53,7 @@ FT_BEGIN_HEADER
|
|
53
53
|
/* These macros can be toggled to suit a specific system. The current */
|
54
54
|
/* ones are defaults used to compile FreeType in an ANSI C environment */
|
55
55
|
/* (16bit compilers are also supported). Copy this file to your own */
|
56
|
-
/* `
|
56
|
+
/* `builds/<system>' directory, and edit it to port the engine. */
|
57
57
|
/* */
|
58
58
|
/*************************************************************************/
|
59
59
|
|
@@ -87,7 +87,7 @@ FT_BEGIN_HEADER
|
|
87
87
|
#else /* !FT_USE_AUTOCONF_SIZEOF_TYPES */
|
88
88
|
|
89
89
|
/* Following cpp computation of the bit length of int and long */
|
90
|
-
/* is copied from default include/
|
90
|
+
/* is copied from default include/config/ftconfig.h. */
|
91
91
|
/* If any improvement is required for this file, it should be */
|
92
92
|
/* applied to the original header file for the builders that */
|
93
93
|
/* does not use configure script. */
|
@@ -243,6 +243,18 @@ FT_BEGIN_HEADER
|
|
243
243
|
/* */
|
244
244
|
typedef signed XXX FT_Int64;
|
245
245
|
|
246
|
+
|
247
|
+
/*************************************************************************/
|
248
|
+
/* */
|
249
|
+
/* <Type> */
|
250
|
+
/* FT_UInt64 */
|
251
|
+
/* */
|
252
|
+
/* A typedef for a 64bit unsigned integer type. The size depends on */
|
253
|
+
/* the configuration. Only defined if there is real 64bit support; */
|
254
|
+
/* otherwise, it gets emulated with a structure (if necessary). */
|
255
|
+
/* */
|
256
|
+
typedef unsigned XXX FT_UInt64;
|
257
|
+
|
246
258
|
/* */
|
247
259
|
|
248
260
|
#endif
|
@@ -282,13 +294,15 @@ FT_BEGIN_HEADER
|
|
282
294
|
|
283
295
|
/* FT_LONG64 must be defined if a 64-bit type is available */
|
284
296
|
#define FT_LONG64
|
285
|
-
#define FT_INT64
|
297
|
+
#define FT_INT64 long
|
298
|
+
#define FT_UINT64 unsigned long
|
286
299
|
|
287
300
|
#elif defined( _MSC_VER ) && _MSC_VER >= 900 /* Visual C++ (and Intel C++) */
|
288
301
|
|
289
302
|
/* this compiler provides the __int64 type */
|
290
303
|
#define FT_LONG64
|
291
|
-
#define FT_INT64
|
304
|
+
#define FT_INT64 __int64
|
305
|
+
#define FT_UINT64 unsigned __int64
|
292
306
|
|
293
307
|
#elif defined( __BORLANDC__ ) /* Borland C++ */
|
294
308
|
|
@@ -297,7 +311,8 @@ FT_BEGIN_HEADER
|
|
297
311
|
|
298
312
|
/* this compiler provides the __int64 type */
|
299
313
|
#define FT_LONG64
|
300
|
-
#define FT_INT64
|
314
|
+
#define FT_INT64 __int64
|
315
|
+
#define FT_UINT64 unsigned __int64
|
301
316
|
|
302
317
|
#elif defined( __WATCOMC__ ) /* Watcom C++ */
|
303
318
|
|
@@ -306,13 +321,15 @@ FT_BEGIN_HEADER
|
|
306
321
|
#elif defined( __MWERKS__ ) /* Metrowerks CodeWarrior */
|
307
322
|
|
308
323
|
#define FT_LONG64
|
309
|
-
#define FT_INT64
|
324
|
+
#define FT_INT64 long long int
|
325
|
+
#define FT_UINT64 unsigned long long int
|
310
326
|
|
311
327
|
#elif defined( __GNUC__ )
|
312
328
|
|
313
329
|
/* GCC provides the `long long' type */
|
314
330
|
#define FT_LONG64
|
315
|
-
#define FT_INT64
|
331
|
+
#define FT_INT64 long long int
|
332
|
+
#define FT_UINT64 unsigned long long int
|
316
333
|
|
317
334
|
#endif /* FT_SIZEOF_LONG == 8 */
|
318
335
|
|
@@ -340,7 +357,8 @@ FT_BEGIN_HEADER
|
|
340
357
|
#endif /* FT_LONG64 && !FT_CONFIG_OPTION_FORCE_INT64 */
|
341
358
|
|
342
359
|
#ifdef FT_LONG64
|
343
|
-
typedef FT_INT64
|
360
|
+
typedef FT_INT64 FT_Int64;
|
361
|
+
typedef FT_UINT64 FT_UInt64;
|
344
362
|
#endif
|
345
363
|
|
346
364
|
|
@@ -354,6 +372,7 @@ FT_BEGIN_HEADER
|
|
354
372
|
/* These must be defined `static __inline__' with GCC. */
|
355
373
|
|
356
374
|
#if defined( __CC_ARM ) || defined( __ARMCC__ ) /* RVCT */
|
375
|
+
|
357
376
|
#define FT_MULFIX_ASSEMBLER FT_MulFix_arm
|
358
377
|
|
359
378
|
/* documentation is in freetype.h */
|
@@ -383,8 +402,10 @@ FT_BEGIN_HEADER
|
|
383
402
|
|
384
403
|
#ifdef __GNUC__
|
385
404
|
|
386
|
-
#if defined( __arm__ )
|
405
|
+
#if defined( __arm__ ) && \
|
406
|
+
( !defined( __thumb__ ) || defined( __thumb2__ ) ) && \
|
387
407
|
!( defined( __CC_ARM ) || defined( __ARMCC__ ) )
|
408
|
+
|
388
409
|
#define FT_MULFIX_ASSEMBLER FT_MulFix_arm
|
389
410
|
|
390
411
|
/* documentation is in freetype.h */
|
@@ -399,7 +420,11 @@ FT_BEGIN_HEADER
|
|
399
420
|
__asm__ __volatile__ (
|
400
421
|
"smull %1, %2, %4, %3\n\t" /* (lo=%1,hi=%2) = a*b */
|
401
422
|
"mov %0, %2, asr #31\n\t" /* %0 = (hi >> 31) */
|
423
|
+
#ifdef __clang__
|
424
|
+
"add.w %0, %0, #0x8000\n\t" /* %0 += 0x8000 */
|
425
|
+
#else
|
402
426
|
"add %0, %0, #0x8000\n\t" /* %0 += 0x8000 */
|
427
|
+
#endif
|
403
428
|
"adds %1, %1, %0\n\t" /* %1 += %0 */
|
404
429
|
"adc %2, %2, #0\n\t" /* %2 += carry */
|
405
430
|
"mov %0, %1, lsr #16\n\t" /* %0 = %1 >> 16 */
|
@@ -410,9 +435,13 @@ FT_BEGIN_HEADER
|
|
410
435
|
return a;
|
411
436
|
}
|
412
437
|
|
413
|
-
#endif /* __arm__
|
438
|
+
#endif /* __arm__ && */
|
439
|
+
/* ( __thumb2__ || !__thumb__ ) && */
|
440
|
+
/* !( __CC_ARM || __ARMCC__ ) */
|
441
|
+
|
414
442
|
|
415
443
|
#if defined( __i386__ )
|
444
|
+
|
416
445
|
#define FT_MULFIX_ASSEMBLER FT_MulFix_i386
|
417
446
|
|
418
447
|
/* documentation is in freetype.h */
|
@@ -481,6 +510,66 @@ FT_BEGIN_HEADER
|
|
481
510
|
|
482
511
|
#endif /* _MSC_VER */
|
483
512
|
|
513
|
+
|
514
|
+
#if defined( __GNUC__ ) && defined( __x86_64__ )
|
515
|
+
|
516
|
+
#define FT_MULFIX_ASSEMBLER FT_MulFix_x86_64
|
517
|
+
|
518
|
+
static __inline__ FT_Int32
|
519
|
+
FT_MulFix_x86_64( FT_Int32 a,
|
520
|
+
FT_Int32 b )
|
521
|
+
{
|
522
|
+
/* Temporarily disable the warning that C90 doesn't support */
|
523
|
+
/* `long long'. */
|
524
|
+
#if ( __GNUC__ > 4 ) || ( ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ >= 6 ) )
|
525
|
+
#pragma GCC diagnostic push
|
526
|
+
#pragma GCC diagnostic ignored "-Wlong-long"
|
527
|
+
#endif
|
528
|
+
|
529
|
+
#if 1
|
530
|
+
/* Technically not an assembly fragment, but GCC does a really good */
|
531
|
+
/* job at inlining it and generating good machine code for it. */
|
532
|
+
long long ret, tmp;
|
533
|
+
|
534
|
+
|
535
|
+
ret = (long long)a * b;
|
536
|
+
tmp = ret >> 63;
|
537
|
+
ret += 0x8000 + tmp;
|
538
|
+
|
539
|
+
return (FT_Int32)( ret >> 16 );
|
540
|
+
#else
|
541
|
+
|
542
|
+
/* For some reason, GCC 4.6 on Ubuntu 12.04 generates invalid machine */
|
543
|
+
/* code from the lines below. The main issue is that `wide_a' is not */
|
544
|
+
/* properly initialized by sign-extending `a'. Instead, the generated */
|
545
|
+
/* machine code assumes that the register that contains `a' on input */
|
546
|
+
/* can be used directly as a 64-bit value, which is wrong most of the */
|
547
|
+
/* time. */
|
548
|
+
long long wide_a = (long long)a;
|
549
|
+
long long wide_b = (long long)b;
|
550
|
+
long long result;
|
551
|
+
|
552
|
+
|
553
|
+
__asm__ __volatile__ (
|
554
|
+
"imul %2, %1\n"
|
555
|
+
"mov %1, %0\n"
|
556
|
+
"sar $63, %0\n"
|
557
|
+
"lea 0x8000(%1, %0), %0\n"
|
558
|
+
"sar $16, %0\n"
|
559
|
+
: "=&r"(result), "=&r"(wide_a)
|
560
|
+
: "r"(wide_b)
|
561
|
+
: "cc" );
|
562
|
+
|
563
|
+
return (FT_Int32)result;
|
564
|
+
#endif
|
565
|
+
|
566
|
+
#if ( __GNUC__ > 4 ) || ( ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ >= 6 ) )
|
567
|
+
#pragma GCC diagnostic pop
|
568
|
+
#endif
|
569
|
+
}
|
570
|
+
|
571
|
+
#endif /* __GNUC__ && __x86_64__ */
|
572
|
+
|
484
573
|
#endif /* !FT_CONFIG_OPTION_NO_ASSEMBLER */
|
485
574
|
|
486
575
|
|
@@ -508,6 +597,9 @@ FT_BEGIN_HEADER
|
|
508
597
|
|
509
598
|
#endif /* FT_MAKE_OPTION_SINGLE_OBJECT */
|
510
599
|
|
600
|
+
#define FT_LOCAL_ARRAY( x ) extern const x
|
601
|
+
#define FT_LOCAL_ARRAY_DEF( x ) const x
|
602
|
+
|
511
603
|
|
512
604
|
#ifndef FT_BASE
|
513
605
|
|
@@ -107,7 +107,7 @@
|
|
107
107
|
*
|
108
108
|
*/
|
109
109
|
#ifndef FT_CONFIG_CONFIG_H
|
110
|
-
#define FT_CONFIG_CONFIG_H <
|
110
|
+
#define FT_CONFIG_CONFIG_H <config/ftconfig.h>
|
111
111
|
#endif
|
112
112
|
|
113
113
|
|
@@ -122,7 +122,7 @@
|
|
122
122
|
*
|
123
123
|
*/
|
124
124
|
#ifndef FT_CONFIG_STANDARD_LIBRARY_H
|
125
|
-
#define FT_CONFIG_STANDARD_LIBRARY_H <
|
125
|
+
#define FT_CONFIG_STANDARD_LIBRARY_H <config/ftstdlib.h>
|
126
126
|
#endif
|
127
127
|
|
128
128
|
|
@@ -137,7 +137,7 @@
|
|
137
137
|
*
|
138
138
|
*/
|
139
139
|
#ifndef FT_CONFIG_OPTIONS_H
|
140
|
-
#define FT_CONFIG_OPTIONS_H <
|
140
|
+
#define FT_CONFIG_OPTIONS_H <config/ftoption.h>
|
141
141
|
#endif
|
142
142
|
|
143
143
|
|
@@ -153,7 +153,7 @@
|
|
153
153
|
*
|
154
154
|
*/
|
155
155
|
#ifndef FT_CONFIG_MODULES_H
|
156
|
-
#define FT_CONFIG_MODULES_H <
|
156
|
+
#define FT_CONFIG_MODULES_H <config/ftmodule.h>
|
157
157
|
#endif
|
158
158
|
|
159
159
|
/* */
|
@@ -170,7 +170,7 @@
|
|
170
170
|
* base FreeType~2 API.
|
171
171
|
*
|
172
172
|
*/
|
173
|
-
#define FT_FREETYPE_H <freetype
|
173
|
+
#define FT_FREETYPE_H <freetype.h>
|
174
174
|
|
175
175
|
|
176
176
|
/*************************************************************************
|
@@ -185,7 +185,7 @@
|
|
185
185
|
* It is included by @FT_FREETYPE_H.
|
186
186
|
*
|
187
187
|
*/
|
188
|
-
#define FT_ERRORS_H <
|
188
|
+
#define FT_ERRORS_H <fterrors.h>
|
189
189
|
|
190
190
|
|
191
191
|
/*************************************************************************
|
@@ -198,7 +198,7 @@
|
|
198
198
|
* list of FreeType~2 module error offsets (and messages).
|
199
199
|
*
|
200
200
|
*/
|
201
|
-
#define FT_MODULE_ERRORS_H <
|
201
|
+
#define FT_MODULE_ERRORS_H <ftmoderr.h>
|
202
202
|
|
203
203
|
|
204
204
|
/*************************************************************************
|
@@ -214,7 +214,7 @@
|
|
214
214
|
* It is included by @FT_FREETYPE_H.
|
215
215
|
*
|
216
216
|
*/
|
217
|
-
#define FT_SYSTEM_H <
|
217
|
+
#define FT_SYSTEM_H <ftsystem.h>
|
218
218
|
|
219
219
|
|
220
220
|
/*************************************************************************
|
@@ -230,7 +230,7 @@
|
|
230
230
|
* It is included by @FT_FREETYPE_H.
|
231
231
|
*
|
232
232
|
*/
|
233
|
-
#define FT_IMAGE_H <
|
233
|
+
#define FT_IMAGE_H <ftimage.h>
|
234
234
|
|
235
235
|
|
236
236
|
/*************************************************************************
|
@@ -245,7 +245,7 @@
|
|
245
245
|
* It is included by @FT_FREETYPE_H.
|
246
246
|
*
|
247
247
|
*/
|
248
|
-
#define FT_TYPES_H <
|
248
|
+
#define FT_TYPES_H <fttypes.h>
|
249
249
|
|
250
250
|
|
251
251
|
/*************************************************************************
|
@@ -260,7 +260,7 @@
|
|
260
260
|
* (Most applications will never need to include this file.)
|
261
261
|
*
|
262
262
|
*/
|
263
|
-
#define FT_LIST_H <
|
263
|
+
#define FT_LIST_H <ftlist.h>
|
264
264
|
|
265
265
|
|
266
266
|
/*************************************************************************
|
@@ -273,7 +273,7 @@
|
|
273
273
|
* scalable outline management API of FreeType~2.
|
274
274
|
*
|
275
275
|
*/
|
276
|
-
#define FT_OUTLINE_H <
|
276
|
+
#define FT_OUTLINE_H <ftoutln.h>
|
277
277
|
|
278
278
|
|
279
279
|
/*************************************************************************
|
@@ -286,7 +286,7 @@
|
|
286
286
|
* API which manages multiple @FT_Size objects per face.
|
287
287
|
*
|
288
288
|
*/
|
289
|
-
#define FT_SIZES_H <
|
289
|
+
#define FT_SIZES_H <ftsizes.h>
|
290
290
|
|
291
291
|
|
292
292
|
/*************************************************************************
|
@@ -299,7 +299,7 @@
|
|
299
299
|
* module management API of FreeType~2.
|
300
300
|
*
|
301
301
|
*/
|
302
|
-
#define FT_MODULE_H <
|
302
|
+
#define FT_MODULE_H <ftmodapi.h>
|
303
303
|
|
304
304
|
|
305
305
|
/*************************************************************************
|
@@ -312,7 +312,7 @@
|
|
312
312
|
* renderer module management API of FreeType~2.
|
313
313
|
*
|
314
314
|
*/
|
315
|
-
#define FT_RENDER_H <
|
315
|
+
#define FT_RENDER_H <ftrender.h>
|
316
316
|
|
317
317
|
|
318
318
|
/*************************************************************************
|
@@ -325,7 +325,7 @@
|
|
325
325
|
* structures and macros related to the auto-hinting module.
|
326
326
|
*
|
327
327
|
*/
|
328
|
-
#define FT_AUTOHINTER_H <
|
328
|
+
#define FT_AUTOHINTER_H <ftautoh.h>
|
329
329
|
|
330
330
|
|
331
331
|
/*************************************************************************
|
@@ -338,7 +338,20 @@
|
|
338
338
|
* structures and macros related to the CFF driver module.
|
339
339
|
*
|
340
340
|
*/
|
341
|
-
#define FT_CFF_DRIVER_H <
|
341
|
+
#define FT_CFF_DRIVER_H <ftcffdrv.h>
|
342
|
+
|
343
|
+
|
344
|
+
/*************************************************************************
|
345
|
+
*
|
346
|
+
* @macro:
|
347
|
+
* FT_TRUETYPE_DRIVER_H
|
348
|
+
*
|
349
|
+
* @description:
|
350
|
+
* A macro used in #include statements to name the file containing
|
351
|
+
* structures and macros related to the TrueType driver module.
|
352
|
+
*
|
353
|
+
*/
|
354
|
+
#define FT_TRUETYPE_DRIVER_H <ftttdrv.h>
|
342
355
|
|
343
356
|
|
344
357
|
/*************************************************************************
|
@@ -351,7 +364,7 @@
|
|
351
364
|
* types and API specific to the Type~1 format.
|
352
365
|
*
|
353
366
|
*/
|
354
|
-
#define FT_TYPE1_TABLES_H <
|
367
|
+
#define FT_TYPE1_TABLES_H <t1tables.h>
|
355
368
|
|
356
369
|
|
357
370
|
/*************************************************************************
|
@@ -366,7 +379,7 @@
|
|
366
379
|
* definitions, taken from the TrueType and OpenType specifications.
|
367
380
|
*
|
368
381
|
*/
|
369
|
-
#define FT_TRUETYPE_IDS_H <
|
382
|
+
#define FT_TRUETYPE_IDS_H <ttnameid.h>
|
370
383
|
|
371
384
|
|
372
385
|
/*************************************************************************
|
@@ -379,7 +392,7 @@
|
|
379
392
|
* types and API specific to the TrueType (as well as OpenType) format.
|
380
393
|
*
|
381
394
|
*/
|
382
|
-
#define FT_TRUETYPE_TABLES_H <
|
395
|
+
#define FT_TRUETYPE_TABLES_H <tttables.h>
|
383
396
|
|
384
397
|
|
385
398
|
/*************************************************************************
|
@@ -393,7 +406,7 @@
|
|
393
406
|
* SFNT-based font formats (i.e., TrueType and OpenType).
|
394
407
|
*
|
395
408
|
*/
|
396
|
-
#define FT_TRUETYPE_TAGS_H <
|
409
|
+
#define FT_TRUETYPE_TAGS_H <tttags.h>
|
397
410
|
|
398
411
|
|
399
412
|
/*************************************************************************
|
@@ -407,7 +420,7 @@
|
|
407
420
|
* face.
|
408
421
|
*
|
409
422
|
*/
|
410
|
-
#define FT_BDF_H <
|
423
|
+
#define FT_BDF_H <ftbdf.h>
|
411
424
|
|
412
425
|
|
413
426
|
/*************************************************************************
|
@@ -421,7 +434,7 @@
|
|
421
434
|
* face.
|
422
435
|
*
|
423
436
|
*/
|
424
|
-
#define FT_CID_H <
|
437
|
+
#define FT_CID_H <ftcid.h>
|
425
438
|
|
426
439
|
|
427
440
|
/*************************************************************************
|
@@ -434,7 +447,7 @@
|
|
434
447
|
* definitions of an API which supports gzip-compressed files.
|
435
448
|
*
|
436
449
|
*/
|
437
|
-
#define FT_GZIP_H <
|
450
|
+
#define FT_GZIP_H <ftgzip.h>
|
438
451
|
|
439
452
|
|
440
453
|
/*************************************************************************
|
@@ -447,7 +460,7 @@
|
|
447
460
|
* definitions of an API which supports LZW-compressed files.
|
448
461
|
*
|
449
462
|
*/
|
450
|
-
#define FT_LZW_H <
|
463
|
+
#define FT_LZW_H <ftlzw.h>
|
451
464
|
|
452
465
|
|
453
466
|
/*************************************************************************
|
@@ -460,7 +473,7 @@
|
|
460
473
|
* definitions of an API which supports bzip2-compressed files.
|
461
474
|
*
|
462
475
|
*/
|
463
|
-
#define FT_BZIP2_H <
|
476
|
+
#define FT_BZIP2_H <ftbzip2.h>
|
464
477
|
|
465
478
|
|
466
479
|
/*************************************************************************
|
@@ -473,7 +486,7 @@
|
|
473
486
|
* definitions of an API which supports Windows FNT files.
|
474
487
|
*
|
475
488
|
*/
|
476
|
-
#define FT_WINFONTS_H <
|
489
|
+
#define FT_WINFONTS_H <ftwinfnt.h>
|
477
490
|
|
478
491
|
|
479
492
|
/*************************************************************************
|
@@ -486,7 +499,7 @@
|
|
486
499
|
* API of the optional glyph management component.
|
487
500
|
*
|
488
501
|
*/
|
489
|
-
#define FT_GLYPH_H <
|
502
|
+
#define FT_GLYPH_H <ftglyph.h>
|
490
503
|
|
491
504
|
|
492
505
|
/*************************************************************************
|
@@ -499,7 +512,7 @@
|
|
499
512
|
* API of the optional bitmap conversion component.
|
500
513
|
*
|
501
514
|
*/
|
502
|
-
#define FT_BITMAP_H <
|
515
|
+
#define FT_BITMAP_H <ftbitmap.h>
|
503
516
|
|
504
517
|
|
505
518
|
/*************************************************************************
|
@@ -512,7 +525,7 @@
|
|
512
525
|
* API of the optional exact bounding box computation routines.
|
513
526
|
*
|
514
527
|
*/
|
515
|
-
#define FT_BBOX_H <
|
528
|
+
#define FT_BBOX_H <ftbbox.h>
|
516
529
|
|
517
530
|
|
518
531
|
/*************************************************************************
|
@@ -525,7 +538,7 @@
|
|
525
538
|
* API of the optional FreeType~2 cache sub-system.
|
526
539
|
*
|
527
540
|
*/
|
528
|
-
#define FT_CACHE_H <
|
541
|
+
#define FT_CACHE_H <ftcache.h>
|
529
542
|
|
530
543
|
|
531
544
|
/*************************************************************************
|
@@ -599,7 +612,7 @@
|
|
599
612
|
* compiled on the Mac (note that the base API still works though).
|
600
613
|
*
|
601
614
|
*/
|
602
|
-
#define FT_MAC_H <
|
615
|
+
#define FT_MAC_H <ftmac.h>
|
603
616
|
|
604
617
|
|
605
618
|
/*************************************************************************
|
@@ -612,7 +625,7 @@
|
|
612
625
|
* optional multiple-masters management API of FreeType~2.
|
613
626
|
*
|
614
627
|
*/
|
615
|
-
#define FT_MULTIPLE_MASTERS_H <
|
628
|
+
#define FT_MULTIPLE_MASTERS_H <ftmm.h>
|
616
629
|
|
617
630
|
|
618
631
|
/*************************************************************************
|
@@ -626,7 +639,7 @@
|
|
626
639
|
* SFNT-based font formats (i.e., TrueType and OpenType).
|
627
640
|
*
|
628
641
|
*/
|
629
|
-
#define FT_SFNT_NAMES_H <
|
642
|
+
#define FT_SFNT_NAMES_H <ftsnames.h>
|
630
643
|
|
631
644
|
|
632
645
|
/*************************************************************************
|
@@ -640,7 +653,7 @@
|
|
640
653
|
* GPOS, GSUB, JSTF).
|
641
654
|
*
|
642
655
|
*/
|
643
|
-
#define FT_OPENTYPE_VALIDATE_H <
|
656
|
+
#define FT_OPENTYPE_VALIDATE_H <ftotval.h>
|
644
657
|
|
645
658
|
|
646
659
|
/*************************************************************************
|
@@ -654,7 +667,7 @@
|
|
654
667
|
* mort, morx, bsln, just, kern, opbd, trak, prop).
|
655
668
|
*
|
656
669
|
*/
|
657
|
-
#define FT_GX_VALIDATE_H <
|
670
|
+
#define FT_GX_VALIDATE_H <ftgxval.h>
|
658
671
|
|
659
672
|
|
660
673
|
/*************************************************************************
|
@@ -667,7 +680,7 @@
|
|
667
680
|
* FreeType~2 API which accesses PFR-specific data.
|
668
681
|
*
|
669
682
|
*/
|
670
|
-
#define FT_PFR_H <
|
683
|
+
#define FT_PFR_H <ftpfr.h>
|
671
684
|
|
672
685
|
|
673
686
|
/*************************************************************************
|
@@ -679,7 +692,7 @@
|
|
679
692
|
* A macro used in #include statements to name the file containing the
|
680
693
|
* FreeType~2 API which provides functions to stroke outline paths.
|
681
694
|
*/
|
682
|
-
#define FT_STROKER_H <
|
695
|
+
#define FT_STROKER_H <ftstroke.h>
|
683
696
|
|
684
697
|
|
685
698
|
/*************************************************************************
|
@@ -691,7 +704,7 @@
|
|
691
704
|
* A macro used in #include statements to name the file containing the
|
692
705
|
* FreeType~2 API which performs artificial obliquing and emboldening.
|
693
706
|
*/
|
694
|
-
#define FT_SYNTHESIS_H <
|
707
|
+
#define FT_SYNTHESIS_H <ftsynth.h>
|
695
708
|
|
696
709
|
|
697
710
|
/*************************************************************************
|
@@ -704,7 +717,7 @@
|
|
704
717
|
* FreeType~2 API which provides functions specific to the XFree86 and
|
705
718
|
* X.Org X11 servers.
|
706
719
|
*/
|
707
|
-
#define FT_XFREE86_H <
|
720
|
+
#define FT_XFREE86_H <ftxf86.h>
|
708
721
|
|
709
722
|
|
710
723
|
/*************************************************************************
|
@@ -717,7 +730,7 @@
|
|
717
730
|
* FreeType~2 API which performs trigonometric computations (e.g.,
|
718
731
|
* cosines and arc tangents).
|
719
732
|
*/
|
720
|
-
#define FT_TRIGONOMETRY_H <
|
733
|
+
#define FT_TRIGONOMETRY_H <fttrigon.h>
|
721
734
|
|
722
735
|
|
723
736
|
/*************************************************************************
|
@@ -729,7 +742,7 @@
|
|
729
742
|
* A macro used in #include statements to name the file containing the
|
730
743
|
* FreeType~2 API which performs color filtering for subpixel rendering.
|
731
744
|
*/
|
732
|
-
#define FT_LCD_FILTER_H <
|
745
|
+
#define FT_LCD_FILTER_H <ftlcdfil.h>
|
733
746
|
|
734
747
|
|
735
748
|
/*************************************************************************
|
@@ -741,7 +754,7 @@
|
|
741
754
|
* A macro used in #include statements to name the file containing the
|
742
755
|
* FreeType~2 API which performs color filtering for subpixel rendering.
|
743
756
|
*/
|
744
|
-
#define FT_UNPATENTED_HINTING_H <
|
757
|
+
#define FT_UNPATENTED_HINTING_H <ttunpat.h>
|
745
758
|
|
746
759
|
|
747
760
|
/*************************************************************************
|
@@ -753,7 +766,7 @@
|
|
753
766
|
* A macro used in #include statements to name the file containing the
|
754
767
|
* FreeType~2 API which performs color filtering for subpixel rendering.
|
755
768
|
*/
|
756
|
-
#define FT_INCREMENTAL_H <
|
769
|
+
#define FT_INCREMENTAL_H <ftincrem.h>
|
757
770
|
|
758
771
|
|
759
772
|
/*************************************************************************
|
@@ -765,7 +778,7 @@
|
|
765
778
|
* A macro used in #include statements to name the file containing the
|
766
779
|
* FreeType~2 API which returns entries from the TrueType GASP table.
|
767
780
|
*/
|
768
|
-
#define FT_GASP_H <
|
781
|
+
#define FT_GASP_H <ftgasp.h>
|
769
782
|
|
770
783
|
|
771
784
|
/*************************************************************************
|
@@ -777,38 +790,38 @@
|
|
777
790
|
* A macro used in #include statements to name the file containing the
|
778
791
|
* FreeType~2 API which returns individual and ranged glyph advances.
|
779
792
|
*/
|
780
|
-
#define FT_ADVANCES_H <
|
793
|
+
#define FT_ADVANCES_H <ftadvanc.h>
|
781
794
|
|
782
795
|
|
783
796
|
/* */
|
784
797
|
|
785
|
-
#define FT_ERROR_DEFINITIONS_H <
|
798
|
+
#define FT_ERROR_DEFINITIONS_H <fterrdef.h>
|
786
799
|
|
787
800
|
|
788
801
|
/* The internals of the cache sub-system are no longer exposed. We */
|
789
802
|
/* default to FT_CACHE_H at the moment just in case, but we know of */
|
790
803
|
/* no rogue client that uses them. */
|
791
804
|
/* */
|
792
|
-
#define FT_CACHE_MANAGER_H <
|
793
|
-
#define FT_CACHE_INTERNAL_MRU_H <
|
794
|
-
#define FT_CACHE_INTERNAL_MANAGER_H <
|
795
|
-
#define FT_CACHE_INTERNAL_CACHE_H <
|
796
|
-
#define FT_CACHE_INTERNAL_GLYPH_H <
|
797
|
-
#define FT_CACHE_INTERNAL_IMAGE_H <
|
798
|
-
#define FT_CACHE_INTERNAL_SBITS_H <
|
805
|
+
#define FT_CACHE_MANAGER_H <ftcache.h>
|
806
|
+
#define FT_CACHE_INTERNAL_MRU_H <ftcache.h>
|
807
|
+
#define FT_CACHE_INTERNAL_MANAGER_H <ftcache.h>
|
808
|
+
#define FT_CACHE_INTERNAL_CACHE_H <ftcache.h>
|
809
|
+
#define FT_CACHE_INTERNAL_GLYPH_H <ftcache.h>
|
810
|
+
#define FT_CACHE_INTERNAL_IMAGE_H <ftcache.h>
|
811
|
+
#define FT_CACHE_INTERNAL_SBITS_H <ftcache.h>
|
799
812
|
|
800
813
|
|
801
|
-
#define FT_INCREMENTAL_H <
|
814
|
+
#define FT_INCREMENTAL_H <ftincrem.h>
|
802
815
|
|
803
|
-
#define FT_TRUETYPE_UNPATENTED_H <
|
816
|
+
#define FT_TRUETYPE_UNPATENTED_H <ttunpat.h>
|
804
817
|
|
805
818
|
|
806
819
|
/*
|
807
|
-
* Include internal headers definitions from <
|
820
|
+
* Include internal headers definitions from <internal/...>
|
808
821
|
* only when building the library.
|
809
822
|
*/
|
810
823
|
#ifdef FT2_BUILD_LIBRARY
|
811
|
-
#define FT_INTERNAL_INTERNAL_H <
|
824
|
+
#define FT_INTERNAL_INTERNAL_H <internal/internal.h>
|
812
825
|
#include FT_INTERNAL_INTERNAL_H
|
813
826
|
#endif /* FT2_BUILD_LIBRARY */
|
814
827
|
|