cairo 1.14.1-x86-mingw32 → 1.14.2-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 +4 -4
- data/NEWS +21 -0
- data/Rakefile +18 -7
- data/ext/cairo/cairo.def +1 -0
- data/ext/cairo/extconf.rb +23 -10
- data/ext/cairo/rb_cairo.c +3 -0
- data/ext/cairo/rb_cairo.h +3 -3
- data/ext/cairo/rb_cairo_context.c +1 -1
- data/ext/cairo/rb_cairo_io.c +4 -0
- data/ext/cairo/rb_cairo_io.h +2 -0
- data/ext/cairo/rb_cairo_pattern.c +4 -4
- data/ext/cairo/rb_cairo_private.h +2 -0
- data/ext/cairo/rb_cairo_surface.c +64 -232
- data/lib/2.0/cairo.so +0 -0
- data/lib/2.1/cairo.so +0 -0
- data/lib/2.2/cairo.so +0 -0
- data/lib/cairo.rb +20 -19
- data/lib/cairo/region.rb +14 -0
- data/test/test_region.rb +26 -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 +2 -2
- 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/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- 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/include/cairo/cairo-version.h +1 -1
- data/vendor/local/include/freetype2/config/ftconfig.h +19 -2
- data/vendor/local/include/freetype2/config/ftheader.h +7 -5
- data/vendor/local/include/freetype2/config/ftoption.h +9 -22
- data/vendor/local/include/freetype2/config/ftstdlib.h +2 -3
- data/vendor/local/include/freetype2/freetype.h +38 -17
- data/vendor/local/include/freetype2/ft2build.h +1 -1
- data/vendor/local/include/freetype2/ftadvanc.h +2 -2
- data/vendor/local/include/freetype2/ftautoh.h +50 -2
- data/vendor/local/include/freetype2/ftbbox.h +1 -1
- data/vendor/local/include/freetype2/ftbdf.h +1 -1
- data/vendor/local/include/freetype2/ftbitmap.h +11 -3
- data/vendor/local/include/freetype2/ftbzip2.h +1 -1
- data/vendor/local/include/freetype2/ftcache.h +3 -3
- data/vendor/local/include/freetype2/ftcffdrv.h +1 -1
- data/vendor/local/include/freetype2/ftcid.h +2 -1
- data/vendor/local/include/freetype2/fterrdef.h +1 -1
- data/vendor/local/include/freetype2/fterrors.h +1 -1
- data/vendor/local/include/freetype2/{ftxf86.h → ftfntfmt.h} +22 -14
- data/vendor/local/include/freetype2/ftgasp.h +1 -1
- data/vendor/local/include/freetype2/ftglyph.h +1 -1
- data/vendor/local/include/freetype2/ftgxval.h +1 -1
- data/vendor/local/include/freetype2/ftgzip.h +1 -1
- data/vendor/local/include/freetype2/ftimage.h +7 -13
- data/vendor/local/include/freetype2/ftincrem.h +1 -1
- data/vendor/local/include/freetype2/ftlcdfil.h +2 -2
- data/vendor/local/include/freetype2/ftlist.h +1 -1
- data/vendor/local/include/freetype2/ftlzw.h +1 -1
- data/vendor/local/include/freetype2/ftmac.h +1 -1
- data/vendor/local/include/freetype2/ftmm.h +17 -11
- data/vendor/local/include/freetype2/ftmodapi.h +4 -2
- data/vendor/local/include/freetype2/ftmoderr.h +1 -1
- data/vendor/local/include/freetype2/ftotval.h +1 -1
- data/vendor/local/include/freetype2/ftoutln.h +1 -1
- data/vendor/local/include/freetype2/ftpfr.h +1 -1
- data/vendor/local/include/freetype2/ftrender.h +3 -8
- data/vendor/local/include/freetype2/ftsizes.h +1 -1
- data/vendor/local/include/freetype2/ftsnames.h +1 -1
- data/vendor/local/include/freetype2/ftstroke.h +1 -1
- data/vendor/local/include/freetype2/ftsynth.h +5 -3
- data/vendor/local/include/freetype2/ftsystem.h +10 -1
- data/vendor/local/include/freetype2/fttrigon.h +1 -1
- data/vendor/local/include/freetype2/ftttdrv.h +85 -22
- data/vendor/local/include/freetype2/fttypes.h +1 -1
- data/vendor/local/include/freetype2/ftwinfnt.h +3 -3
- data/vendor/local/include/freetype2/t1tables.h +4 -3
- data/vendor/local/include/freetype2/ttnameid.h +116 -116
- data/vendor/local/include/freetype2/tttables.h +2 -2
- data/vendor/local/include/freetype2/tttags.h +1 -1
- data/vendor/local/include/freetype2/ttunpat.h +1 -1
- data/vendor/local/include/libpng16/png.h +63 -80
- data/vendor/local/include/libpng16/pngconf.h +8 -30
- data/vendor/local/include/libpng16/pnglibconf.h +10 -4
- data/vendor/local/include/png.h +63 -80
- data/vendor/local/include/pngconf.h +8 -30
- data/vendor/local/include/pnglibconf.h +10 -4
- 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 +2 -2
- 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 +2 -2
- data/vendor/local/lib/libcairo.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libcairo.la +2 -2
- data/vendor/local/lib/libfontconfig.dll.a +0 -0
- data/vendor/local/lib/libfreetype.a +0 -0
- data/vendor/local/lib/libfreetype.dll.a +0 -0
- data/vendor/local/lib/libfreetype.la +4 -4
- data/vendor/local/lib/libpixman-1.a +0 -0
- data/vendor/local/lib/libpixman-1.dll.a +0 -0
- data/vendor/local/lib/libpng.a +0 -0
- data/vendor/local/lib/libpng.dll.a +0 -0
- data/vendor/local/lib/libpng.la +4 -4
- data/vendor/local/lib/libpng16.a +0 -0
- data/vendor/local/lib/libpng16.dll.a +0 -0
- data/vendor/local/lib/libpng16.la +4 -4
- 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 +1 -1
- data/vendor/local/lib/pkgconfig/freetype2.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
- data/vendor/local/share/aclocal/freetype2.m4 +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +35 -35
- data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +10 -10
- data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +11 -11
- data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +294 -225
- data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +387 -269
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +432 -302
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +325 -217
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +298 -193
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +1121 -812
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +513 -383
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +126 -83
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +172 -119
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +581 -372
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +179 -130
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +888 -539
- data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +287 -192
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html +374 -231
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +395 -219
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +125 -75
- data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +630 -464
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +225 -200
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +336 -214
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +277 -186
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +495 -350
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +557 -362
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +158 -111
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +655 -441
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +389 -280
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +667 -451
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +579 -351
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +2006 -1545
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +892 -618
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +1624 -1188
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +2903 -2104
- data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +1115 -758
- data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +419 -604
- data/vendor/local/share/gtk-doc/html/cairo/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +56 -56
- data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +70 -70
- data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +58 -58
- data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +39 -39
- data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +30 -30
- data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +38 -38
- data/vendor/local/share/gtk-doc/html/cairo/index-all.html +426 -426
- data/vendor/local/share/gtk-doc/html/cairo/index.html +6 -6
- data/vendor/local/share/gtk-doc/html/cairo/index.sgml +234 -325
- data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/style.css +221 -26
- data/vendor/local/share/gtk-doc/html/cairo/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/up.png +0 -0
- data/vendor/local/share/license/cairo/README +1 -1
- data/vendor/local/share/license/freetype/README +6 -6
- data/vendor/local/share/license/freetype/README.git +1 -1
- data/vendor/local/share/license/libpng/README +2 -2
- data/vendor/local/share/man/man1/freetype-config.1 +1 -1
- data/vendor/local/share/man/man3/libpng.3 +85 -92
- data/vendor/local/share/man/man3/libpngpf.3 +2 -2
- data/vendor/local/share/man/man5/png.5 +1 -1
- metadata +23 -19
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType Multiple Master font interface (specification). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 1996-
|
7
|
+
/* Copyright 1996-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -95,8 +95,8 @@ FT_BEGIN_HEADER
|
|
95
95
|
/* */
|
96
96
|
/* num_designs :: Number of designs; should be normally 2^num_axis */
|
97
97
|
/* even though the Type~1 specification strangely */
|
98
|
-
/* allows for intermediate designs to be present.
|
99
|
-
/* number cannot exceed~16.
|
98
|
+
/* allows for intermediate designs to be present. */
|
99
|
+
/* This number cannot exceed~16. */
|
100
100
|
/* */
|
101
101
|
/* axis :: A table of axis descriptors. */
|
102
102
|
/* */
|
@@ -201,10 +201,10 @@ FT_BEGIN_HEADER
|
|
201
201
|
/* associated with them. The font can tell the */
|
202
202
|
/* user that, for example, Weight=1.5 is `Bold'. */
|
203
203
|
/* */
|
204
|
-
/* axis ::
|
204
|
+
/* axis :: An axis descriptor table. */
|
205
205
|
/* GX fonts contain slightly more data than MM. */
|
206
206
|
/* */
|
207
|
-
/*
|
207
|
+
/* namedstyle :: A named style table. */
|
208
208
|
/* Only meaningful with GX. */
|
209
209
|
/* */
|
210
210
|
typedef struct FT_MM_Var_
|
@@ -280,8 +280,10 @@ FT_BEGIN_HEADER
|
|
280
280
|
/* face :: A handle to the source face. */
|
281
281
|
/* */
|
282
282
|
/* <Input> */
|
283
|
-
/* num_coords :: The number of design coordinates
|
284
|
-
/* the number of axes
|
283
|
+
/* num_coords :: The number of available design coordinates. If it */
|
284
|
+
/* is larger than the number of axes, ignore the excess */
|
285
|
+
/* values. If it is smaller than the number of axes, */
|
286
|
+
/* use default values for the remaining axes. */
|
285
287
|
/* */
|
286
288
|
/* coords :: An array of design coordinates. */
|
287
289
|
/* */
|
@@ -307,8 +309,10 @@ FT_BEGIN_HEADER
|
|
307
309
|
/* face :: A handle to the source face. */
|
308
310
|
/* */
|
309
311
|
/* <Input> */
|
310
|
-
/* num_coords :: The number of design coordinates
|
311
|
-
/* the number of axes
|
312
|
+
/* num_coords :: The number of available design coordinates. If it */
|
313
|
+
/* is larger than the number of axes, ignore the excess */
|
314
|
+
/* values. If it is smaller than the number of axes, */
|
315
|
+
/* use default values for the remaining axes. */
|
312
316
|
/* */
|
313
317
|
/* coords :: An array of design coordinates. */
|
314
318
|
/* */
|
@@ -334,8 +338,10 @@ FT_BEGIN_HEADER
|
|
334
338
|
/* face :: A handle to the source face. */
|
335
339
|
/* */
|
336
340
|
/* <Input> */
|
337
|
-
/* num_coords :: The number of design coordinates
|
338
|
-
/* the number of axes
|
341
|
+
/* num_coords :: The number of available design coordinates. If it */
|
342
|
+
/* is larger than the number of axes, ignore the excess */
|
343
|
+
/* values. If it is smaller than the number of axes, */
|
344
|
+
/* use default values for the remaining axes. */
|
339
345
|
/* */
|
340
346
|
/* coords :: The design coordinates array (each element must be */
|
341
347
|
/* between 0 and 1.0). */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType modules public interface (specification). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 1996-
|
7
|
+
/* Copyright 1996-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -469,7 +469,9 @@ FT_BEGIN_HEADER
|
|
469
469
|
/* <Description> */
|
470
470
|
/* This function is used to create a new FreeType library instance */
|
471
471
|
/* from a given memory object. It is thus possible to use libraries */
|
472
|
-
/* with distinct memory allocators within the same program.
|
472
|
+
/* with distinct memory allocators within the same program. Note, */
|
473
|
+
/* however, that the used @FT_Memory structure is expected to remain */
|
474
|
+
/* valid for the life of the @FT_Library object. */
|
473
475
|
/* */
|
474
476
|
/* Normally, you would call this function (followed by a call to */
|
475
477
|
/* @FT_Add_Default_Modules or a series of calls to @FT_Add_Module) */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType module error offsets (specification). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 2001-
|
7
|
+
/* Copyright 2001-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType API for validating OpenType tables (specification). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 2004-
|
7
|
+
/* Copyright 2004-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -5,7 +5,7 @@
|
|
5
5
|
/* Support for the FT_Outline type used to store glyph shapes of */
|
6
6
|
/* most scalable font formats (specification). */
|
7
7
|
/* */
|
8
|
-
/* Copyright 1996-
|
8
|
+
/* Copyright 1996-2015 by */
|
9
9
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
10
10
|
/* */
|
11
11
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType API for accessing PFR-specific data (specification only). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 2002
|
7
|
+
/* Copyright 2002-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType renderer modules public interface (specification). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 1996-
|
7
|
+
/* Copyright 1996-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -212,13 +212,8 @@ FT_BEGIN_HEADER
|
|
212
212
|
/* */
|
213
213
|
/* This doesn't change the current renderer for other formats. */
|
214
214
|
/* */
|
215
|
-
/* Currently,
|
216
|
-
/*
|
217
|
-
/* anti-aliasing mode; this option must be set directly in */
|
218
|
-
/* `ftraster.c' and is undefined by default) accepts a single tag */
|
219
|
-
/* `pal5' to set its gray palette as a character string with */
|
220
|
-
/* 5~elements. Consequently, the third and fourth argument are zero */
|
221
|
-
/* normally. */
|
215
|
+
/* Currently, no FreeType renderer module uses `parameters'; you */
|
216
|
+
/* should thus always pass NULL as the value. */
|
222
217
|
/* */
|
223
218
|
FT_EXPORT( FT_Error )
|
224
219
|
FT_Set_Renderer( FT_Library library,
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType size objects management (specification). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 1996-
|
7
|
+
/* Copyright 1996-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -7,7 +7,7 @@
|
|
7
7
|
/* */
|
8
8
|
/* This is _not_ used to retrieve glyph names! */
|
9
9
|
/* */
|
10
|
-
/* Copyright 1996-
|
10
|
+
/* Copyright 1996-2015 by */
|
11
11
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
12
12
|
/* */
|
13
13
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType path stroker (specification). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 2002-
|
7
|
+
/* Copyright 2002-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -5,7 +5,7 @@
|
|
5
5
|
/* FreeType synthesizing code for emboldening and slanting */
|
6
6
|
/* (specification). */
|
7
7
|
/* */
|
8
|
-
/* Copyright 2000-
|
8
|
+
/* Copyright 2000-2015 by */
|
9
9
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
10
10
|
/* */
|
11
11
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -62,8 +62,10 @@ FT_BEGIN_HEADER
|
|
62
62
|
/* a wrapper for @FT_Outline_Embolden and @FT_Bitmap_Embolden. */
|
63
63
|
/* */
|
64
64
|
/* For emboldened outlines the height, width, and advance metrics are */
|
65
|
-
/* increased by the strength of the emboldening
|
66
|
-
/*
|
65
|
+
/* increased by the strength of the emboldening -- this even affects */
|
66
|
+
/* mono-width fonts! */
|
67
|
+
/* */
|
68
|
+
/* You can also call @FT_Outline_Get_CBox to get precise values. */
|
67
69
|
FT_EXPORT( void )
|
68
70
|
FT_GlyphSlot_Embolden( FT_GlyphSlot slot );
|
69
71
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType low-level system interface definition (specification). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 1996-
|
7
|
+
/* Copyright 1996-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -192,6 +192,10 @@ FT_BEGIN_HEADER
|
|
192
192
|
* @description:
|
193
193
|
* A handle to an input stream.
|
194
194
|
*
|
195
|
+
* @also:
|
196
|
+
* See @FT_StreamRec for the publicly accessible fields of a given
|
197
|
+
* stream object.
|
198
|
+
*
|
195
199
|
*/
|
196
200
|
typedef struct FT_StreamRec_* FT_Stream;
|
197
201
|
|
@@ -285,6 +289,11 @@ FT_BEGIN_HEADER
|
|
285
289
|
* size ::
|
286
290
|
* The stream size in bytes.
|
287
291
|
*
|
292
|
+
* In case of compressed streams where the size is unknown before
|
293
|
+
* actually doing the decompression, the value is set to 0x7FFFFFFF.
|
294
|
+
* (Note that this size value can occur for normal streams also; it is
|
295
|
+
* thus just a hint.)
|
296
|
+
*
|
288
297
|
* pos ::
|
289
298
|
* The current position within the stream.
|
290
299
|
*
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType trigonometric functions (specification). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 2001
|
7
|
+
/* Copyright 2001-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -5,7 +5,7 @@
|
|
5
5
|
/* FreeType API for controlling the TrueType driver */
|
6
6
|
/* (specification only). */
|
7
7
|
/* */
|
8
|
-
/* Copyright 2013 by
|
8
|
+
/* Copyright 2013-2015 by */
|
9
9
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
10
10
|
/* */
|
11
11
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -67,13 +67,13 @@ FT_BEGIN_HEADER
|
|
67
67
|
* TT_CONFIG_OPTION_SUBPIXEL_HINTING is defined, and no subpixel
|
68
68
|
* support otherwise (since it isn't available then).
|
69
69
|
*
|
70
|
-
* If subpixel hinting is on, many TrueType bytecode instructions
|
71
|
-
*
|
72
|
-
* main idea is to render at a
|
73
|
-
* then sampling down the created
|
74
|
-
* However, many older fonts are not
|
75
|
-
* specially taken care of by applying
|
76
|
-
* tweaks.
|
70
|
+
* If subpixel hinting is on, many TrueType bytecode instructions behave
|
71
|
+
* differently compared to B/W or grayscale rendering (except if `native
|
72
|
+
* ClearType' is selected by the font). The main idea is to render at a
|
73
|
+
* much increased horizontal resolution, then sampling down the created
|
74
|
+
* output to subpixel precision. However, many older fonts are not
|
75
|
+
* suited to this and must be specially taken care of by applying
|
76
|
+
* (hardcoded) font-specific tweaks.
|
77
77
|
*
|
78
78
|
* Details on subpixel hinting and some of the necessary tweaks can be
|
79
79
|
* found in Greg Hitchcock's whitepaper at
|
@@ -135,24 +135,87 @@ FT_BEGIN_HEADER
|
|
135
135
|
* `FT_Err_Unimplemented_Feature' error.
|
136
136
|
*
|
137
137
|
* Depending on the graphics framework, Microsoft uses different
|
138
|
-
* bytecode engines. As a consequence, the version
|
139
|
-
* a call to the `GETINFO
|
140
|
-
* than desired.
|
138
|
+
* bytecode and rendering engines. As a consequence, the version
|
139
|
+
* numbers returned by a call to the `GETINFO' bytecode instruction are
|
140
|
+
* more convoluted than desired.
|
141
|
+
*
|
142
|
+
* Here are two tables that try to shed some light on the possible
|
143
|
+
* values for the MS rasterizer engine, together with the additional
|
144
|
+
* features introduced by it.
|
145
|
+
*
|
146
|
+
* {
|
147
|
+
* GETINFO framework version feature
|
148
|
+
* -------------------------------------------------------------------
|
149
|
+
* 3 GDI (Win 3.1), v1.0 16-bit, first version
|
150
|
+
* TrueImage
|
151
|
+
* 33 GDI (Win NT 3.1), v1.5 32-bit
|
152
|
+
* HP Laserjet
|
153
|
+
* 34 GDI (Win 95) v1.6 font smoothing,
|
154
|
+
* new SCANTYPE opcode
|
155
|
+
* 35 GDI (Win 98/2000) v1.7 (UN)SCALED_COMPONENT_OFFSET
|
156
|
+
* bits in composite glyphs
|
157
|
+
* 36 MGDI (Win CE 2) v1.6+ classic ClearType
|
158
|
+
* 37 GDI (XP and later), v1.8 ClearType
|
159
|
+
* GDI+ old (before Vista)
|
160
|
+
* 38 GDI+ old (Vista, Win 7), v1.9 subpixel ClearType,
|
161
|
+
* WPF Y-direction ClearType,
|
162
|
+
* additional error checking
|
163
|
+
* 39 DWrite (before Win 8) v2.0 subpixel ClearType flags
|
164
|
+
* in GETINFO opcode,
|
165
|
+
* bug fixes
|
166
|
+
* 40 GDI+ (after Win 7), v2.1 Y-direction ClearType flag
|
167
|
+
* DWrite (Win 8) in GETINFO opcode,
|
168
|
+
* Gray ClearType
|
169
|
+
* }
|
170
|
+
*
|
171
|
+
* The `version' field gives a rough orientation only, since some
|
172
|
+
* applications provided certain features much earlier (as an example,
|
173
|
+
* Microsoft Reader used subpixel and Y-direction ClearType already in
|
174
|
+
* Windows 2000). Similarly, updates to a given framework might include
|
175
|
+
* improved hinting support.
|
141
176
|
*
|
142
177
|
* {
|
143
|
-
*
|
144
|
-
*
|
145
|
-
*
|
146
|
-
*
|
147
|
-
*
|
148
|
-
* GDI
|
149
|
-
*
|
150
|
-
*
|
151
|
-
*
|
178
|
+
* version sampling rendering comment
|
179
|
+
* x y x y
|
180
|
+
* --------------------------------------------------------------
|
181
|
+
* v1.0 normal normal B/W B/W bi-level
|
182
|
+
* v1.6 high high gray gray grayscale
|
183
|
+
* v1.8 high normal color-filter B/W (GDI) ClearType
|
184
|
+
* v1.9 high high color-filter gray Color ClearType
|
185
|
+
* v2.1 high normal gray B/W Gray ClearType
|
186
|
+
* v2.1 high high gray gray Gray ClearType
|
152
187
|
* }
|
153
188
|
*
|
154
|
-
*
|
155
|
-
*
|
189
|
+
* Color and Gray ClearType are the two available variants of
|
190
|
+
* `Y-direction ClearType', meaning grayscale rasterization along the
|
191
|
+
* Y-direction; the name used in the TrueType specification for this
|
192
|
+
* feature is `symmetric smoothing'. `Classic ClearType' is the
|
193
|
+
* original algorithm used before introducing a modified version in
|
194
|
+
* Win~XP. Another name for v1.6's grayscale rendering is `font
|
195
|
+
* smoothing', and `Color ClearType' is sometimes also called `DWrite
|
196
|
+
* ClearType'. To differentiate between today's Color ClearType and the
|
197
|
+
* earlier ClearType variant with B/W rendering along the vertical axis,
|
198
|
+
* the latter is sometimes called `GDI ClearType'.
|
199
|
+
*
|
200
|
+
* `Normal' and `high' sampling describe the (virtual) resolution to
|
201
|
+
* access the rasterized outline after the hinting process. `Normal'
|
202
|
+
* means 1 sample per grid line (i.e., B/W). In the current Microsoft
|
203
|
+
* implementation, `high' means an extra virtual resolution of 16x16 (or
|
204
|
+
* 16x1) grid lines per pixel for bytecode instructions like `MIRP'.
|
205
|
+
* After hinting, these 16 grid lines are mapped to 6x5 (or 6x1) grid
|
206
|
+
* lines for color filtering if Color ClearType is activated.
|
207
|
+
*
|
208
|
+
* Note that `Gray ClearType' is essentially the same as v1.6's
|
209
|
+
* grayscale rendering. However, the GETINFO instruction handles it
|
210
|
+
* differently: v1.6 returns bit~12 (hinting for grayscale), while v2.1
|
211
|
+
* returns bits~13 (hinting for ClearType), 18 (symmetrical smoothing),
|
212
|
+
* and~19 (Gray ClearType). Also, this mode respects bits 2 and~3 for
|
213
|
+
* the version~1 gasp table exclusively (like Color ClearType), while
|
214
|
+
* v1.6 only respects the values of version~0 (bits 0 and~1).
|
215
|
+
*
|
216
|
+
* FreeType doesn't provide all capabilities of the most recent
|
217
|
+
* ClearType incarnation, thus we identify our subpixel support as
|
218
|
+
* version~38.
|
156
219
|
*
|
157
220
|
*/
|
158
221
|
#define TT_INTERPRETER_VERSION_35 35
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType simple types definitions (specification only). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 1996-
|
7
|
+
/* Copyright 1996-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType API for accessing Windows fnt-specific data. */
|
6
6
|
/* */
|
7
|
-
/* Copyright 2003
|
7
|
+
/* Copyright 2003-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -59,7 +59,7 @@ FT_BEGIN_HEADER
|
|
59
59
|
* A list of valid values for the `charset' byte in
|
60
60
|
* @FT_WinFNT_HeaderRec. Exact mapping tables for the various cpXXXX
|
61
61
|
* encodings (except for cp1361) can be found at
|
62
|
-
* ftp://ftp.unicode.org/
|
62
|
+
* ftp://ftp.unicode.org/Public in the MAPPINGS/VENDORS/MICSFT/WINDOWS
|
63
63
|
* subdirectory. cp1361 is roughly a superset of
|
64
64
|
* MAPPINGS/OBSOLETE/EASTASIA/KSC/JOHAB.TXT.
|
65
65
|
*
|
@@ -95,7 +95,7 @@ FT_BEGIN_HEADER
|
|
95
95
|
* second default codepage that most international versions of
|
96
96
|
* Windows have. It is one of the OEM codepages from
|
97
97
|
*
|
98
|
-
*
|
98
|
+
* https://msdn.microsoft.com/en-us/goglobal/bb964655,
|
99
99
|
*
|
100
100
|
* and is used for the `DOS boxes', to support legacy applications.
|
101
101
|
* A German Windows version for example usually uses ANSI codepage
|
@@ -5,7 +5,7 @@
|
|
5
5
|
/* Basic Type 1/Type 2 tables definitions and interface (specification */
|
6
6
|
/* only). */
|
7
7
|
/* */
|
8
|
-
/* Copyright 1996-
|
8
|
+
/* Copyright 1996-2015 by */
|
9
9
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
10
10
|
/* */
|
11
11
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -492,8 +492,9 @@ FT_BEGIN_HEADER
|
|
492
492
|
* FreeType error code. 0~means success.
|
493
493
|
*
|
494
494
|
* @note:
|
495
|
-
*
|
496
|
-
* the face and don't need to be freed by the caller.
|
495
|
+
* String pointers within the @PS_FontInfoRec structure are owned by
|
496
|
+
* the face and don't need to be freed by the caller. Missing entries
|
497
|
+
* in the font's FontInfo dictionary are represented by NULL pointers.
|
497
498
|
*
|
498
499
|
* If the font's format is not PostScript-based, this function will
|
499
500
|
* return the `FT_Err_Invalid_Argument' error code.
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* TrueType name ID definitions (specification only). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 1996-
|
7
|
+
/* Copyright 1996-2015 by */
|
8
8
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|
@@ -321,7 +321,7 @@ FT_BEGIN_HEADER
|
|
321
321
|
/* */
|
322
322
|
/* The canonical source for the Apple assigned Language ID's is at */
|
323
323
|
/* */
|
324
|
-
/* https://developer.apple.com/fonts/
|
324
|
+
/* https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6name.html */
|
325
325
|
/* */
|
326
326
|
#define TT_MAC_LANGID_ENGLISH 0
|
327
327
|
#define TT_MAC_LANGID_FRENCH 1
|
@@ -470,26 +470,26 @@ FT_BEGIN_HEADER
|
|
470
470
|
#define TT_MS_LANGID_ARABIC_GENERAL 0x0001
|
471
471
|
#define TT_MS_LANGID_ARABIC_SAUDI_ARABIA 0x0401
|
472
472
|
#define TT_MS_LANGID_ARABIC_IRAQ 0x0801
|
473
|
-
#define TT_MS_LANGID_ARABIC_EGYPT
|
473
|
+
#define TT_MS_LANGID_ARABIC_EGYPT 0x0C01
|
474
474
|
#define TT_MS_LANGID_ARABIC_LIBYA 0x1001
|
475
475
|
#define TT_MS_LANGID_ARABIC_ALGERIA 0x1401
|
476
476
|
#define TT_MS_LANGID_ARABIC_MOROCCO 0x1801
|
477
|
-
#define TT_MS_LANGID_ARABIC_TUNISIA
|
477
|
+
#define TT_MS_LANGID_ARABIC_TUNISIA 0x1C01
|
478
478
|
#define TT_MS_LANGID_ARABIC_OMAN 0x2001
|
479
479
|
#define TT_MS_LANGID_ARABIC_YEMEN 0x2401
|
480
480
|
#define TT_MS_LANGID_ARABIC_SYRIA 0x2801
|
481
|
-
#define TT_MS_LANGID_ARABIC_JORDAN
|
481
|
+
#define TT_MS_LANGID_ARABIC_JORDAN 0x2C01
|
482
482
|
#define TT_MS_LANGID_ARABIC_LEBANON 0x3001
|
483
483
|
#define TT_MS_LANGID_ARABIC_KUWAIT 0x3401
|
484
484
|
#define TT_MS_LANGID_ARABIC_UAE 0x3801
|
485
|
-
#define TT_MS_LANGID_ARABIC_BAHRAIN
|
485
|
+
#define TT_MS_LANGID_ARABIC_BAHRAIN 0x3C01
|
486
486
|
#define TT_MS_LANGID_ARABIC_QATAR 0x4001
|
487
487
|
#define TT_MS_LANGID_BULGARIAN_BULGARIA 0x0402
|
488
488
|
#define TT_MS_LANGID_CATALAN_SPAIN 0x0403
|
489
489
|
#define TT_MS_LANGID_CHINESE_GENERAL 0x0004
|
490
490
|
#define TT_MS_LANGID_CHINESE_TAIWAN 0x0404
|
491
491
|
#define TT_MS_LANGID_CHINESE_PRC 0x0804
|
492
|
-
#define TT_MS_LANGID_CHINESE_HONG_KONG
|
492
|
+
#define TT_MS_LANGID_CHINESE_HONG_KONG 0x0C04
|
493
493
|
#define TT_MS_LANGID_CHINESE_SINGAPORE 0x1004
|
494
494
|
|
495
495
|
#if 1 /* this looks like the correct value */
|
@@ -507,7 +507,7 @@ FT_BEGIN_HEADER
|
|
507
507
|
#define TT_MS_LANGID_DANISH_DENMARK 0x0406
|
508
508
|
#define TT_MS_LANGID_GERMAN_GERMANY 0x0407
|
509
509
|
#define TT_MS_LANGID_GERMAN_SWITZERLAND 0x0807
|
510
|
-
#define TT_MS_LANGID_GERMAN_AUSTRIA
|
510
|
+
#define TT_MS_LANGID_GERMAN_AUSTRIA 0x0C07
|
511
511
|
#define TT_MS_LANGID_GERMAN_LUXEMBOURG 0x1007
|
512
512
|
#define TT_MS_LANGID_GERMAN_LIECHTENSTEI 0x1407
|
513
513
|
#define TT_MS_LANGID_GREEK_GREECE 0x0408
|
@@ -520,69 +520,69 @@ FT_BEGIN_HEADER
|
|
520
520
|
#define TT_MS_LANGID_ENGLISH_GENERAL 0x0009
|
521
521
|
#define TT_MS_LANGID_ENGLISH_UNITED_STATES 0x0409
|
522
522
|
#define TT_MS_LANGID_ENGLISH_UNITED_KINGDOM 0x0809
|
523
|
-
#define TT_MS_LANGID_ENGLISH_AUSTRALIA
|
523
|
+
#define TT_MS_LANGID_ENGLISH_AUSTRALIA 0x0C09
|
524
524
|
#define TT_MS_LANGID_ENGLISH_CANADA 0x1009
|
525
525
|
#define TT_MS_LANGID_ENGLISH_NEW_ZEALAND 0x1409
|
526
526
|
#define TT_MS_LANGID_ENGLISH_IRELAND 0x1809
|
527
|
-
#define TT_MS_LANGID_ENGLISH_SOUTH_AFRICA
|
527
|
+
#define TT_MS_LANGID_ENGLISH_SOUTH_AFRICA 0x1C09
|
528
528
|
#define TT_MS_LANGID_ENGLISH_JAMAICA 0x2009
|
529
529
|
#define TT_MS_LANGID_ENGLISH_CARIBBEAN 0x2409
|
530
530
|
#define TT_MS_LANGID_ENGLISH_BELIZE 0x2809
|
531
|
-
#define TT_MS_LANGID_ENGLISH_TRINIDAD
|
531
|
+
#define TT_MS_LANGID_ENGLISH_TRINIDAD 0x2C09
|
532
532
|
#define TT_MS_LANGID_ENGLISH_ZIMBABWE 0x3009
|
533
533
|
#define TT_MS_LANGID_ENGLISH_PHILIPPINES 0x3409
|
534
534
|
#define TT_MS_LANGID_ENGLISH_INDONESIA 0x3809
|
535
|
-
#define TT_MS_LANGID_ENGLISH_HONG_KONG
|
535
|
+
#define TT_MS_LANGID_ENGLISH_HONG_KONG 0x3C09
|
536
536
|
#define TT_MS_LANGID_ENGLISH_INDIA 0x4009
|
537
537
|
#define TT_MS_LANGID_ENGLISH_MALAYSIA 0x4409
|
538
538
|
#define TT_MS_LANGID_ENGLISH_SINGAPORE 0x4809
|
539
|
-
#define TT_MS_LANGID_SPANISH_SPAIN_TRADITIONAL_SORT
|
540
|
-
#define TT_MS_LANGID_SPANISH_MEXICO
|
541
|
-
#define TT_MS_LANGID_SPANISH_SPAIN_INTERNATIONAL_SORT
|
542
|
-
#define TT_MS_LANGID_SPANISH_GUATEMALA
|
543
|
-
#define TT_MS_LANGID_SPANISH_COSTA_RICA
|
544
|
-
#define TT_MS_LANGID_SPANISH_PANAMA
|
545
|
-
#define TT_MS_LANGID_SPANISH_DOMINICAN_REPUBLIC
|
546
|
-
#define TT_MS_LANGID_SPANISH_VENEZUELA
|
547
|
-
#define TT_MS_LANGID_SPANISH_COLOMBIA
|
548
|
-
#define TT_MS_LANGID_SPANISH_PERU
|
549
|
-
#define TT_MS_LANGID_SPANISH_ARGENTINA
|
550
|
-
#define TT_MS_LANGID_SPANISH_ECUADOR
|
551
|
-
#define TT_MS_LANGID_SPANISH_CHILE
|
552
|
-
#define TT_MS_LANGID_SPANISH_URUGUAY
|
553
|
-
#define TT_MS_LANGID_SPANISH_PARAGUAY
|
554
|
-
#define TT_MS_LANGID_SPANISH_BOLIVIA
|
555
|
-
#define TT_MS_LANGID_SPANISH_EL_SALVADOR
|
556
|
-
#define TT_MS_LANGID_SPANISH_HONDURAS
|
557
|
-
#define TT_MS_LANGID_SPANISH_NICARAGUA
|
558
|
-
#define TT_MS_LANGID_SPANISH_PUERTO_RICO
|
559
|
-
#define TT_MS_LANGID_SPANISH_UNITED_STATES
|
539
|
+
#define TT_MS_LANGID_SPANISH_SPAIN_TRADITIONAL_SORT 0x040A
|
540
|
+
#define TT_MS_LANGID_SPANISH_MEXICO 0x080A
|
541
|
+
#define TT_MS_LANGID_SPANISH_SPAIN_INTERNATIONAL_SORT 0x0C0A
|
542
|
+
#define TT_MS_LANGID_SPANISH_GUATEMALA 0x100A
|
543
|
+
#define TT_MS_LANGID_SPANISH_COSTA_RICA 0x140A
|
544
|
+
#define TT_MS_LANGID_SPANISH_PANAMA 0x180A
|
545
|
+
#define TT_MS_LANGID_SPANISH_DOMINICAN_REPUBLIC 0x1C0A
|
546
|
+
#define TT_MS_LANGID_SPANISH_VENEZUELA 0x200A
|
547
|
+
#define TT_MS_LANGID_SPANISH_COLOMBIA 0x240A
|
548
|
+
#define TT_MS_LANGID_SPANISH_PERU 0x280A
|
549
|
+
#define TT_MS_LANGID_SPANISH_ARGENTINA 0x2C0A
|
550
|
+
#define TT_MS_LANGID_SPANISH_ECUADOR 0x300A
|
551
|
+
#define TT_MS_LANGID_SPANISH_CHILE 0x340A
|
552
|
+
#define TT_MS_LANGID_SPANISH_URUGUAY 0x380A
|
553
|
+
#define TT_MS_LANGID_SPANISH_PARAGUAY 0x3C0A
|
554
|
+
#define TT_MS_LANGID_SPANISH_BOLIVIA 0x400A
|
555
|
+
#define TT_MS_LANGID_SPANISH_EL_SALVADOR 0x440A
|
556
|
+
#define TT_MS_LANGID_SPANISH_HONDURAS 0x480A
|
557
|
+
#define TT_MS_LANGID_SPANISH_NICARAGUA 0x4C0A
|
558
|
+
#define TT_MS_LANGID_SPANISH_PUERTO_RICO 0x500A
|
559
|
+
#define TT_MS_LANGID_SPANISH_UNITED_STATES 0x540A
|
560
560
|
/* The following ID blatantly violate MS specs by using a */
|
561
561
|
/* sublanguage > 0x1F. */
|
562
|
-
#define TT_MS_LANGID_SPANISH_LATIN_AMERICA
|
563
|
-
#define TT_MS_LANGID_FINNISH_FINLAND
|
564
|
-
#define TT_MS_LANGID_FRENCH_FRANCE
|
565
|
-
#define TT_MS_LANGID_FRENCH_BELGIUM
|
566
|
-
#define TT_MS_LANGID_FRENCH_CANADA
|
567
|
-
#define TT_MS_LANGID_FRENCH_SWITZERLAND
|
568
|
-
#define TT_MS_LANGID_FRENCH_LUXEMBOURG
|
569
|
-
#define TT_MS_LANGID_FRENCH_MONACO
|
570
|
-
#define TT_MS_LANGID_FRENCH_WEST_INDIES
|
571
|
-
#define TT_MS_LANGID_FRENCH_REUNION
|
572
|
-
#define TT_MS_LANGID_FRENCH_CONGO
|
562
|
+
#define TT_MS_LANGID_SPANISH_LATIN_AMERICA 0xE40AU
|
563
|
+
#define TT_MS_LANGID_FINNISH_FINLAND 0x040B
|
564
|
+
#define TT_MS_LANGID_FRENCH_FRANCE 0x040C
|
565
|
+
#define TT_MS_LANGID_FRENCH_BELGIUM 0x080C
|
566
|
+
#define TT_MS_LANGID_FRENCH_CANADA 0x0C0C
|
567
|
+
#define TT_MS_LANGID_FRENCH_SWITZERLAND 0x100C
|
568
|
+
#define TT_MS_LANGID_FRENCH_LUXEMBOURG 0x140C
|
569
|
+
#define TT_MS_LANGID_FRENCH_MONACO 0x180C
|
570
|
+
#define TT_MS_LANGID_FRENCH_WEST_INDIES 0x1C0C
|
571
|
+
#define TT_MS_LANGID_FRENCH_REUNION 0x200C
|
572
|
+
#define TT_MS_LANGID_FRENCH_CONGO 0x240C
|
573
573
|
/* which was formerly: */
|
574
574
|
#define TT_MS_LANGID_FRENCH_ZAIRE TT_MS_LANGID_FRENCH_CONGO
|
575
|
-
#define TT_MS_LANGID_FRENCH_SENEGAL
|
576
|
-
#define TT_MS_LANGID_FRENCH_CAMEROON
|
577
|
-
#define TT_MS_LANGID_FRENCH_COTE_D_IVOIRE
|
578
|
-
#define TT_MS_LANGID_FRENCH_MALI
|
579
|
-
#define TT_MS_LANGID_FRENCH_MOROCCO
|
580
|
-
#define TT_MS_LANGID_FRENCH_HAITI
|
581
|
-
/* and another violation of the spec (see
|
582
|
-
#define TT_MS_LANGID_FRENCH_NORTH_AFRICA
|
583
|
-
#define TT_MS_LANGID_HEBREW_ISRAEL
|
584
|
-
#define TT_MS_LANGID_HUNGARIAN_HUNGARY
|
585
|
-
#define TT_MS_LANGID_ICELANDIC_ICELAND
|
575
|
+
#define TT_MS_LANGID_FRENCH_SENEGAL 0x280C
|
576
|
+
#define TT_MS_LANGID_FRENCH_CAMEROON 0x2C0C
|
577
|
+
#define TT_MS_LANGID_FRENCH_COTE_D_IVOIRE 0x300C
|
578
|
+
#define TT_MS_LANGID_FRENCH_MALI 0x340C
|
579
|
+
#define TT_MS_LANGID_FRENCH_MOROCCO 0x380C
|
580
|
+
#define TT_MS_LANGID_FRENCH_HAITI 0x3C0C
|
581
|
+
/* and another violation of the spec (see 0xE40AU) */
|
582
|
+
#define TT_MS_LANGID_FRENCH_NORTH_AFRICA 0xE40CU
|
583
|
+
#define TT_MS_LANGID_HEBREW_ISRAEL 0x040D
|
584
|
+
#define TT_MS_LANGID_HUNGARIAN_HUNGARY 0x040E
|
585
|
+
#define TT_MS_LANGID_ICELANDIC_ICELAND 0x040F
|
586
586
|
#define TT_MS_LANGID_ITALIAN_ITALY 0x0410
|
587
587
|
#define TT_MS_LANGID_ITALIAN_SWITZERLAND 0x0810
|
588
588
|
#define TT_MS_LANGID_JAPANESE_JAPAN 0x0411
|
@@ -600,27 +600,27 @@ FT_BEGIN_HEADER
|
|
600
600
|
#define TT_MS_LANGID_MOLDAVIAN_MOLDAVIA 0x0818
|
601
601
|
#define TT_MS_LANGID_RUSSIAN_RUSSIA 0x0419
|
602
602
|
#define TT_MS_LANGID_RUSSIAN_MOLDAVIA 0x0819
|
603
|
-
#define TT_MS_LANGID_CROATIAN_CROATIA
|
604
|
-
#define TT_MS_LANGID_SERBIAN_SERBIA_LATIN
|
605
|
-
#define TT_MS_LANGID_SERBIAN_SERBIA_CYRILLIC
|
603
|
+
#define TT_MS_LANGID_CROATIAN_CROATIA 0x041A
|
604
|
+
#define TT_MS_LANGID_SERBIAN_SERBIA_LATIN 0x081A
|
605
|
+
#define TT_MS_LANGID_SERBIAN_SERBIA_CYRILLIC 0x0C1A
|
606
606
|
|
607
607
|
#if 0 /* this used to be this value, but it looks like we were wrong */
|
608
|
-
#define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA
|
608
|
+
#define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x101A
|
609
609
|
#else /* current sources say */
|
610
|
-
#define TT_MS_LANGID_CROATIAN_BOSNIA_HERZEGOVINA
|
611
|
-
#define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA
|
610
|
+
#define TT_MS_LANGID_CROATIAN_BOSNIA_HERZEGOVINA 0x101A
|
611
|
+
#define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x141A
|
612
612
|
/* and XPsp2 Platform SDK added (2004-07-26) */
|
613
613
|
/* Names are shortened to be significant within 40 chars. */
|
614
|
-
#define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_LATIN
|
615
|
-
#define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_CYRILLIC
|
614
|
+
#define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_LATIN 0x181A
|
615
|
+
#define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_CYRILLIC 0x181A
|
616
616
|
#endif
|
617
617
|
|
618
|
-
#define TT_MS_LANGID_SLOVAK_SLOVAKIA
|
619
|
-
#define TT_MS_LANGID_ALBANIAN_ALBANIA
|
620
|
-
#define TT_MS_LANGID_SWEDISH_SWEDEN
|
621
|
-
#define TT_MS_LANGID_SWEDISH_FINLAND
|
622
|
-
#define TT_MS_LANGID_THAI_THAILAND
|
623
|
-
#define TT_MS_LANGID_TURKISH_TURKEY
|
618
|
+
#define TT_MS_LANGID_SLOVAK_SLOVAKIA 0x041B
|
619
|
+
#define TT_MS_LANGID_ALBANIAN_ALBANIA 0x041C
|
620
|
+
#define TT_MS_LANGID_SWEDISH_SWEDEN 0x041D
|
621
|
+
#define TT_MS_LANGID_SWEDISH_FINLAND 0x081D
|
622
|
+
#define TT_MS_LANGID_THAI_THAILAND 0x041E
|
623
|
+
#define TT_MS_LANGID_TURKISH_TURKEY 0x041F
|
624
624
|
#define TT_MS_LANGID_URDU_PAKISTAN 0x0420
|
625
625
|
#define TT_MS_LANGID_URDU_INDIA 0x0820
|
626
626
|
#define TT_MS_LANGID_INDONESIAN_INDONESIA 0x0421
|
@@ -633,13 +633,13 @@ FT_BEGIN_HEADER
|
|
633
633
|
#define TT_MS_LANGID_CLASSIC_LITHUANIAN_LITHUANIA 0x0827
|
634
634
|
#define TT_MS_LANGID_TAJIK_TAJIKISTAN 0x0428
|
635
635
|
#define TT_MS_LANGID_FARSI_IRAN 0x0429
|
636
|
-
#define TT_MS_LANGID_VIETNAMESE_VIET_NAM
|
637
|
-
#define TT_MS_LANGID_ARMENIAN_ARMENIA
|
638
|
-
#define TT_MS_LANGID_AZERI_AZERBAIJAN_LATIN
|
639
|
-
#define TT_MS_LANGID_AZERI_AZERBAIJAN_CYRILLIC
|
640
|
-
#define TT_MS_LANGID_BASQUE_SPAIN
|
641
|
-
#define TT_MS_LANGID_SORBIAN_GERMANY
|
642
|
-
#define TT_MS_LANGID_MACEDONIAN_MACEDONIA
|
636
|
+
#define TT_MS_LANGID_VIETNAMESE_VIET_NAM 0x042A
|
637
|
+
#define TT_MS_LANGID_ARMENIAN_ARMENIA 0x042B
|
638
|
+
#define TT_MS_LANGID_AZERI_AZERBAIJAN_LATIN 0x042C
|
639
|
+
#define TT_MS_LANGID_AZERI_AZERBAIJAN_CYRILLIC 0x082C
|
640
|
+
#define TT_MS_LANGID_BASQUE_SPAIN 0x042D
|
641
|
+
#define TT_MS_LANGID_SORBIAN_GERMANY 0x042E
|
642
|
+
#define TT_MS_LANGID_MACEDONIAN_MACEDONIA 0x042F
|
643
643
|
#define TT_MS_LANGID_SUTU_SOUTH_AFRICA 0x0430
|
644
644
|
#define TT_MS_LANGID_TSONGA_SOUTH_AFRICA 0x0431
|
645
645
|
#define TT_MS_LANGID_TSWANA_SOUTH_AFRICA 0x0432
|
@@ -650,32 +650,32 @@ FT_BEGIN_HEADER
|
|
650
650
|
#define TT_MS_LANGID_GEORGIAN_GEORGIA 0x0437
|
651
651
|
#define TT_MS_LANGID_FAEROESE_FAEROE_ISLANDS 0x0438
|
652
652
|
#define TT_MS_LANGID_HINDI_INDIA 0x0439
|
653
|
-
#define TT_MS_LANGID_MALTESE_MALTA
|
653
|
+
#define TT_MS_LANGID_MALTESE_MALTA 0x043A
|
654
654
|
/* Added by XPsp2 Platform SDK (2004-07-26) */
|
655
|
-
#define TT_MS_LANGID_SAMI_NORTHERN_NORWAY
|
656
|
-
#define TT_MS_LANGID_SAMI_NORTHERN_SWEDEN
|
657
|
-
#define TT_MS_LANGID_SAMI_NORTHERN_FINLAND
|
658
|
-
#define TT_MS_LANGID_SAMI_LULE_NORWAY
|
659
|
-
#define TT_MS_LANGID_SAMI_LULE_SWEDEN
|
660
|
-
#define TT_MS_LANGID_SAMI_SOUTHERN_NORWAY
|
661
|
-
#define TT_MS_LANGID_SAMI_SOUTHERN_SWEDEN
|
662
|
-
#define TT_MS_LANGID_SAMI_SKOLT_FINLAND
|
663
|
-
#define TT_MS_LANGID_SAMI_INARI_FINLAND
|
655
|
+
#define TT_MS_LANGID_SAMI_NORTHERN_NORWAY 0x043B
|
656
|
+
#define TT_MS_LANGID_SAMI_NORTHERN_SWEDEN 0x083B
|
657
|
+
#define TT_MS_LANGID_SAMI_NORTHERN_FINLAND 0x0C3B
|
658
|
+
#define TT_MS_LANGID_SAMI_LULE_NORWAY 0x103B
|
659
|
+
#define TT_MS_LANGID_SAMI_LULE_SWEDEN 0x143B
|
660
|
+
#define TT_MS_LANGID_SAMI_SOUTHERN_NORWAY 0x183B
|
661
|
+
#define TT_MS_LANGID_SAMI_SOUTHERN_SWEDEN 0x1C3B
|
662
|
+
#define TT_MS_LANGID_SAMI_SKOLT_FINLAND 0x203B
|
663
|
+
#define TT_MS_LANGID_SAMI_INARI_FINLAND 0x243B
|
664
664
|
/* ... and we also keep our old identifier... */
|
665
|
-
#define TT_MS_LANGID_SAAMI_LAPONIA
|
665
|
+
#define TT_MS_LANGID_SAAMI_LAPONIA 0x043B
|
666
666
|
|
667
667
|
#if 0 /* this seems to be a previous inversion */
|
668
|
-
#define TT_MS_LANGID_IRISH_GAELIC_IRELAND
|
669
|
-
#define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM
|
668
|
+
#define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043C
|
669
|
+
#define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083C
|
670
670
|
#else
|
671
|
-
#define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM
|
672
|
-
#define TT_MS_LANGID_IRISH_GAELIC_IRELAND
|
671
|
+
#define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083C
|
672
|
+
#define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043C
|
673
673
|
#endif
|
674
674
|
|
675
|
-
#define TT_MS_LANGID_YIDDISH_GERMANY
|
676
|
-
#define TT_MS_LANGID_MALAY_MALAYSIA
|
677
|
-
#define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM
|
678
|
-
#define TT_MS_LANGID_KAZAK_KAZAKSTAN
|
675
|
+
#define TT_MS_LANGID_YIDDISH_GERMANY 0x043D
|
676
|
+
#define TT_MS_LANGID_MALAY_MALAYSIA 0x043E
|
677
|
+
#define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083E
|
678
|
+
#define TT_MS_LANGID_KAZAK_KAZAKSTAN 0x043F
|
679
679
|
#define TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN /* Cyrillic*/ 0x0440
|
680
680
|
/* alias declared in Windows 2000 */
|
681
681
|
#define TT_MS_LANGID_KIRGHIZ_KIRGHIZ_REPUBLIC \
|
@@ -693,12 +693,12 @@ FT_BEGIN_HEADER
|
|
693
693
|
#define TT_MS_LANGID_GUJARATI_INDIA 0x0447
|
694
694
|
#define TT_MS_LANGID_ORIYA_INDIA 0x0448
|
695
695
|
#define TT_MS_LANGID_TAMIL_INDIA 0x0449
|
696
|
-
#define TT_MS_LANGID_TELUGU_INDIA
|
697
|
-
#define TT_MS_LANGID_KANNADA_INDIA
|
698
|
-
#define TT_MS_LANGID_MALAYALAM_INDIA
|
699
|
-
#define TT_MS_LANGID_ASSAMESE_INDIA
|
700
|
-
#define TT_MS_LANGID_MARATHI_INDIA
|
701
|
-
#define TT_MS_LANGID_SANSKRIT_INDIA
|
696
|
+
#define TT_MS_LANGID_TELUGU_INDIA 0x044A
|
697
|
+
#define TT_MS_LANGID_KANNADA_INDIA 0x044B
|
698
|
+
#define TT_MS_LANGID_MALAYALAM_INDIA 0x044C
|
699
|
+
#define TT_MS_LANGID_ASSAMESE_INDIA 0x044D
|
700
|
+
#define TT_MS_LANGID_MARATHI_INDIA 0x044E
|
701
|
+
#define TT_MS_LANGID_SANSKRIT_INDIA 0x044F
|
702
702
|
#define TT_MS_LANGID_MONGOLIAN_MONGOLIA /* Cyrillic */ 0x0450
|
703
703
|
#define TT_MS_LANGID_MONGOLIAN_MONGOLIA_MONGOLIAN 0x0850
|
704
704
|
#define TT_MS_LANGID_TIBETAN_CHINA 0x0451
|
@@ -732,13 +732,13 @@ FT_BEGIN_HEADER
|
|
732
732
|
#define TT_MS_LANGID_SINDHI_INDIA /* Arabic */ 0x0459
|
733
733
|
#define TT_MS_LANGID_SINDHI_PAKISTAN 0x0859
|
734
734
|
/* Missing a LCID for Sindhi in Devanagari script */
|
735
|
-
#define TT_MS_LANGID_SYRIAC_SYRIA
|
736
|
-
#define TT_MS_LANGID_SINHALESE_SRI_LANKA
|
737
|
-
#define TT_MS_LANGID_CHEROKEE_UNITED_STATES
|
738
|
-
#define TT_MS_LANGID_INUKTITUT_CANADA
|
739
|
-
#define TT_MS_LANGID_AMHARIC_ETHIOPIA
|
740
|
-
#define TT_MS_LANGID_TAMAZIGHT_MOROCCO /* Arabic */
|
741
|
-
#define TT_MS_LANGID_TAMAZIGHT_MOROCCO_LATIN
|
735
|
+
#define TT_MS_LANGID_SYRIAC_SYRIA 0x045A
|
736
|
+
#define TT_MS_LANGID_SINHALESE_SRI_LANKA 0x045B
|
737
|
+
#define TT_MS_LANGID_CHEROKEE_UNITED_STATES 0x045C
|
738
|
+
#define TT_MS_LANGID_INUKTITUT_CANADA 0x045D
|
739
|
+
#define TT_MS_LANGID_AMHARIC_ETHIOPIA 0x045E
|
740
|
+
#define TT_MS_LANGID_TAMAZIGHT_MOROCCO /* Arabic */ 0x045F
|
741
|
+
#define TT_MS_LANGID_TAMAZIGHT_MOROCCO_LATIN 0x085F
|
742
742
|
/* Missing a LCID for Tifinagh script */
|
743
743
|
#define TT_MS_LANGID_KASHMIRI_PAKISTAN /* Arabic */ 0x0460
|
744
744
|
/* Spelled this way by XPsp2 Platform SDK (2004-07-26) */
|
@@ -758,15 +758,15 @@ FT_BEGIN_HEADER
|
|
758
758
|
#define TT_MS_LANGID_FULFULDE_NIGERIA 0x0467
|
759
759
|
#define TT_MS_LANGID_HAUSA_NIGERIA 0x0468
|
760
760
|
#define TT_MS_LANGID_IBIBIO_NIGERIA 0x0469
|
761
|
-
#define TT_MS_LANGID_YORUBA_NIGERIA
|
762
|
-
#define TT_MS_LANGID_QUECHUA_BOLIVIA
|
763
|
-
#define TT_MS_LANGID_QUECHUA_ECUADOR
|
764
|
-
#define TT_MS_LANGID_QUECHUA_PERU
|
765
|
-
#define TT_MS_LANGID_SEPEDI_SOUTH_AFRICA
|
761
|
+
#define TT_MS_LANGID_YORUBA_NIGERIA 0x046A
|
762
|
+
#define TT_MS_LANGID_QUECHUA_BOLIVIA 0x046B
|
763
|
+
#define TT_MS_LANGID_QUECHUA_ECUADOR 0x086B
|
764
|
+
#define TT_MS_LANGID_QUECHUA_PERU 0x0C6B
|
765
|
+
#define TT_MS_LANGID_SEPEDI_SOUTH_AFRICA 0x046C
|
766
766
|
/* Also spelled by XPsp2 Platform SDK (2004-07-26) */
|
767
767
|
#define TT_MS_LANGID_SOTHO_SOUTHERN_SOUTH_AFRICA \
|
768
768
|
TT_MS_LANGID_SEPEDI_SOUTH_AFRICA
|
769
|
-
/* language codes
|
769
|
+
/* language codes 0x046D, 0x046E and 0x046F are (still) unknown. */
|
770
770
|
#define TT_MS_LANGID_IGBO_NIGERIA 0x0470
|
771
771
|
#define TT_MS_LANGID_KANURI_NIGERIA 0x0471
|
772
772
|
#define TT_MS_LANGID_OROMO_ETHIOPIA 0x0472
|
@@ -783,12 +783,12 @@ FT_BEGIN_HEADER
|
|
783
783
|
/* studying). */
|
784
784
|
#define TT_MS_LANGID_YI_CHINA 0x0478
|
785
785
|
#define TT_MS_LANGID_PAPIAMENTU_NETHERLANDS_ANTILLES 0x0479
|
786
|
-
/* language codes from
|
786
|
+
/* language codes from 0x047A to 0x047F are (still) unknown. */
|
787
787
|
#define TT_MS_LANGID_UIGHUR_CHINA 0x0480
|
788
788
|
#define TT_MS_LANGID_MAORI_NEW_ZEALAND 0x0481
|
789
789
|
|
790
790
|
#if 0 /* not deemed useful for fonts */
|
791
|
-
#define TT_MS_LANGID_HUMAN_INTERFACE_DEVICE
|
791
|
+
#define TT_MS_LANGID_HUMAN_INTERFACE_DEVICE 0x04FF
|
792
792
|
#endif
|
793
793
|
|
794
794
|
|