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 2 build and setup macros. */
|
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
|
/* Quick computation of advance widths (specification only). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 2008
|
7
|
+
/* Copyright 2008-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, */
|
@@ -77,7 +77,7 @@ FT_BEGIN_HEADER
|
|
77
77
|
/* and hinting of the glyph outline, are extremely slow by */
|
78
78
|
/* comparison. */
|
79
79
|
/* */
|
80
|
-
#define FT_ADVANCE_FLAG_FAST_ONLY
|
80
|
+
#define FT_ADVANCE_FLAG_FAST_ONLY 0x20000000L
|
81
81
|
|
82
82
|
|
83
83
|
/*************************************************************************/
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType API for controlling the auto-hinter (specification only). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 2012
|
7
|
+
/* Copyright 2012-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, */
|
@@ -300,7 +300,7 @@ FT_BEGIN_HEADER
|
|
300
300
|
* @description:
|
301
301
|
* *Experimental* *only*
|
302
302
|
*
|
303
|
-
* If
|
303
|
+
* If FreeType gets compiled with FT_CONFIG_OPTION_USE_HARFBUZZ to make
|
304
304
|
* the HarfBuzz library access OpenType features for getting better
|
305
305
|
* glyph coverages, this property sets the (auto-fitter) script to be
|
306
306
|
* used for the default (OpenType) script data of a font's GSUB table.
|
@@ -391,6 +391,54 @@ FT_BEGIN_HEADER
|
|
391
391
|
|
392
392
|
} FT_Prop_IncreaseXHeight;
|
393
393
|
|
394
|
+
|
395
|
+
/**************************************************************************
|
396
|
+
*
|
397
|
+
* @property:
|
398
|
+
* warping
|
399
|
+
*
|
400
|
+
* @description:
|
401
|
+
* *Experimental* *only*
|
402
|
+
*
|
403
|
+
* If FreeType gets compiled with option AF_CONFIG_OPTION_USE_WARPER to
|
404
|
+
* activate the warp hinting code in the auto-hinter, this property
|
405
|
+
* switches warping on and off.
|
406
|
+
*
|
407
|
+
* Warping only works in `light' auto-hinting mode. The idea of the
|
408
|
+
* code is to slightly scale and shift a glyph along the non-hinted
|
409
|
+
* dimension (which is usually the horizontal axis) so that as much of
|
410
|
+
* its segments are aligned (more or less) to the grid. To find out a
|
411
|
+
* glyph's optimal scaling and shifting value, various parameter
|
412
|
+
* combinations are tried and scored.
|
413
|
+
*
|
414
|
+
* By default, warping is off. The example below shows how to switch on
|
415
|
+
* warping (omitting the error handling).
|
416
|
+
*
|
417
|
+
* {
|
418
|
+
* FT_Library library;
|
419
|
+
* FT_Bool warping = 1;
|
420
|
+
*
|
421
|
+
*
|
422
|
+
* FT_Init_FreeType( &library );
|
423
|
+
*
|
424
|
+
* FT_Property_Set( library, "autofitter",
|
425
|
+
* "warping", &warping );
|
426
|
+
* }
|
427
|
+
*
|
428
|
+
* @note:
|
429
|
+
* This property can be used with @FT_Property_Get also.
|
430
|
+
*
|
431
|
+
* The warping code can also change advance widths. Have a look at the
|
432
|
+
* `lsb_delta' and `rsb_delta' fields in the @FT_GlyphSlotRec structure
|
433
|
+
* for details on improving inter-glyph distances while rendering.
|
434
|
+
*
|
435
|
+
* Since warping is a global property of the auto-hinter it is best to
|
436
|
+
* change its value before rendering any face. Otherwise, you should
|
437
|
+
* reload all faces that get auto-hinted in `light' hinting mode.
|
438
|
+
*
|
439
|
+
*/
|
440
|
+
|
441
|
+
|
394
442
|
/* */
|
395
443
|
|
396
444
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType exact bbox computation (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, */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType API for accessing BDF-specific strings (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, */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType utility functions for bitmaps (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, */
|
@@ -55,7 +55,7 @@ FT_BEGIN_HEADER
|
|
55
55
|
/*************************************************************************/
|
56
56
|
/* */
|
57
57
|
/* <Function> */
|
58
|
-
/*
|
58
|
+
/* FT_Bitmap_Init */
|
59
59
|
/* */
|
60
60
|
/* <Description> */
|
61
61
|
/* Initialize a pointer to an @FT_Bitmap structure. */
|
@@ -63,6 +63,14 @@ FT_BEGIN_HEADER
|
|
63
63
|
/* <InOut> */
|
64
64
|
/* abitmap :: A pointer to the bitmap structure. */
|
65
65
|
/* */
|
66
|
+
/* <Note> */
|
67
|
+
/* A deprecated name for the same function is `FT_Bitmap_New'. */
|
68
|
+
/* */
|
69
|
+
FT_EXPORT( void )
|
70
|
+
FT_Bitmap_Init( FT_Bitmap *abitmap );
|
71
|
+
|
72
|
+
|
73
|
+
/* deprecated */
|
66
74
|
FT_EXPORT( void )
|
67
75
|
FT_Bitmap_New( FT_Bitmap *abitmap );
|
68
76
|
|
@@ -202,7 +210,7 @@ FT_BEGIN_HEADER
|
|
202
210
|
/* FT_Bitmap_Done */
|
203
211
|
/* */
|
204
212
|
/* <Description> */
|
205
|
-
/* Destroy a bitmap object
|
213
|
+
/* Destroy a bitmap object initialized with @FT_Bitmap_Init. */
|
206
214
|
/* */
|
207
215
|
/* <Input> */
|
208
216
|
/* library :: A handle to a library object. */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType Cache subsystem (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, */
|
@@ -667,8 +667,8 @@ FT_BEGIN_HEADER
|
|
667
667
|
typedef struct FTC_ImageTypeRec_
|
668
668
|
{
|
669
669
|
FTC_FaceID face_id;
|
670
|
-
|
671
|
-
|
670
|
+
FT_UInt width;
|
671
|
+
FT_UInt height;
|
672
672
|
FT_Int32 flags;
|
673
673
|
|
674
674
|
} FTC_ImageTypeRec;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType API for controlling the CFF driver (specification only). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 2013
|
7
|
+
/* Copyright 2013-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,8 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType API for accessing CID font information (specification). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 2007
|
7
|
+
/* Copyright 2007-2015 by */
|
8
|
+
/* Dereg Clegg and Michael Toftdal. */
|
8
9
|
/* */
|
9
10
|
/* This file is part of the FreeType project, and may only be used, */
|
10
11
|
/* modified, and distributed under the terms of the FreeType project */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType error codes (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, */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType error code handling (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, */
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/***************************************************************************/
|
2
2
|
/* */
|
3
|
-
/*
|
3
|
+
/* ftfntfmt.h */
|
4
4
|
/* */
|
5
|
-
/* Support functions for
|
5
|
+
/* Support functions for font formats. */
|
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, */
|
@@ -16,8 +16,8 @@
|
|
16
16
|
/***************************************************************************/
|
17
17
|
|
18
18
|
|
19
|
-
#ifndef
|
20
|
-
#define
|
19
|
+
#ifndef __FTFNTFMT_H__
|
20
|
+
#define __FTFNTFMT_H__
|
21
21
|
|
22
22
|
#include <ft2build.h>
|
23
23
|
#include FT_FREETYPE_H
|
@@ -49,22 +49,20 @@ FT_BEGIN_HEADER
|
|
49
49
|
/* however, there are special cases (like in PDF devices) where it is */
|
50
50
|
/* important to differentiate, in spite of FreeType's uniform API. */
|
51
51
|
/* */
|
52
|
-
/* This function is in the X11/xf86 namespace for historical reasons */
|
53
|
-
/* and in no way depends on that windowing system. */
|
54
|
-
/* */
|
55
52
|
/*************************************************************************/
|
56
53
|
|
57
54
|
|
58
55
|
/*************************************************************************/
|
59
56
|
/* */
|
60
57
|
/* <Function> */
|
61
|
-
/*
|
58
|
+
/* FT_Get_Font_Format */
|
62
59
|
/* */
|
63
60
|
/* <Description> */
|
64
|
-
/* Return a string describing the format of a given face
|
65
|
-
/*
|
66
|
-
/* `
|
67
|
-
/*
|
61
|
+
/* Return a string describing the format of a given face. Possible */
|
62
|
+
/* values are `TrueType', `Type~1', `BDF', `PCF', `Type~42', */
|
63
|
+
/* `CID~Type~1', `CFF', `PFR', and `Windows~FNT'. */
|
64
|
+
/* */
|
65
|
+
/* The return value is suitable to be used as an X11 FONT_PROPERTY. */
|
68
66
|
/* */
|
69
67
|
/* <Input> */
|
70
68
|
/* face :: */
|
@@ -73,12 +71,22 @@ FT_BEGIN_HEADER
|
|
73
71
|
/* <Return> */
|
74
72
|
/* Font format string. NULL in case of error. */
|
75
73
|
/* */
|
74
|
+
/* <Note> */
|
75
|
+
/* A deprecated name for the same function is */
|
76
|
+
/* `FT_Get_X11_Font_Format'. */
|
77
|
+
/* */
|
78
|
+
FT_EXPORT( const char* )
|
79
|
+
FT_Get_Font_Format( FT_Face face );
|
80
|
+
|
81
|
+
|
82
|
+
/* deprecated */
|
76
83
|
FT_EXPORT( const char* )
|
77
84
|
FT_Get_X11_Font_Format( FT_Face face );
|
78
85
|
|
86
|
+
|
79
87
|
/* */
|
80
88
|
|
81
89
|
|
82
90
|
FT_END_HEADER
|
83
91
|
|
84
|
-
#endif /*
|
92
|
+
#endif /* __FTFNTFMT_H__ */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* Access of TrueType's `gasp' table (specification). */
|
6
6
|
/* */
|
7
|
-
/* Copyright 2007
|
7
|
+
/* Copyright 2007-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 convenience functions to handle glyphs (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, */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* Gzip-compressed stream support. */
|
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 glyph image formats and default raster interface */
|
6
6
|
/* (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, */
|
@@ -258,11 +258,6 @@ FT_BEGIN_HEADER
|
|
258
258
|
/* field is intended for paletted pixel modes. Not */
|
259
259
|
/* used currently. */
|
260
260
|
/* */
|
261
|
-
/* <Note> */
|
262
|
-
/* For now, the only pixel modes supported by FreeType are mono and */
|
263
|
-
/* grays. However, drivers might be added in the future to support */
|
264
|
-
/* more `colorful' options. */
|
265
|
-
/* */
|
266
261
|
typedef struct FT_Bitmap_
|
267
262
|
{
|
268
263
|
unsigned int rows;
|
@@ -1078,10 +1073,10 @@ FT_BEGIN_HEADER
|
|
1078
1073
|
/* FT_Raster_ResetFunc */
|
1079
1074
|
/* */
|
1080
1075
|
/* <Description> */
|
1081
|
-
/* FreeType
|
1082
|
-
/* available to all registered rasters. This
|
1083
|
-
/*
|
1084
|
-
/*
|
1076
|
+
/* FreeType used to provide an area of memory called the `render */
|
1077
|
+
/* pool' available to all registered rasters. This was not thread */
|
1078
|
+
/* safe however and now FreeType never allocates this pool. NULL */
|
1079
|
+
/* is always passed in as pool_base. */
|
1085
1080
|
/* */
|
1086
1081
|
/* This function is called each time the render pool changes, or just */
|
1087
1082
|
/* after a new raster object is created. */
|
@@ -1094,10 +1089,9 @@ FT_BEGIN_HEADER
|
|
1094
1089
|
/* pool_size :: The size in bytes of the render pool. */
|
1095
1090
|
/* */
|
1096
1091
|
/* <Note> */
|
1097
|
-
/* Rasters
|
1092
|
+
/* Rasters should ignore the render pool and rely on dynamic or stack */
|
1098
1093
|
/* allocation if they want to (a handle to the memory allocator is */
|
1099
|
-
/* passed to the raster constructor).
|
1100
|
-
/* recommended for efficiency purposes. */
|
1094
|
+
/* passed to the raster constructor). */
|
1101
1095
|
/* */
|
1102
1096
|
typedef void
|
1103
1097
|
(*FT_Raster_ResetFunc)( FT_Raster raster,
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* FreeType incremental loading (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 API for color filtering of subpixel bitmap glyphs */
|
6
6
|
/* (specification). */
|
7
7
|
/* */
|
8
|
-
/* Copyright 2006-
|
8
|
+
/* Copyright 2006-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, */
|
@@ -56,7 +56,7 @@ FT_BEGIN_HEADER
|
|
56
56
|
*
|
57
57
|
* FreeType generates alpha coverage maps, which are linear by nature.
|
58
58
|
* For instance, the value 0x80 in bitmap representation means that
|
59
|
-
* (within numerical precision) 0x80/
|
59
|
+
* (within numerical precision) 0x80/0xFF fraction of that pixel is
|
60
60
|
* covered by the glyph's outline. The blending function for placing
|
61
61
|
* text over a background is
|
62
62
|
*
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* Generic list support for FreeType (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, */
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* */
|
5
5
|
/* Additional Mac-specific API. */
|
6
6
|
/* */
|
7
|
-
/* Copyright 1996-
|
7
|
+
/* Copyright 1996-2015 by */
|
8
8
|
/* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */
|
9
9
|
/* */
|
10
10
|
/* This file is part of the FreeType project, and may only be used, */
|