@revizly/sharp-libvips-dev 1.0.21 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/aom/aom_decoder.h +1 -1
- package/include/aom/aom_encoder.h +2 -0
- package/include/aom/aomcx.h +106 -25
- package/include/expat.h +37 -24
- package/include/expat_config.h +9 -9
- package/include/expat_external.h +62 -61
- package/include/freetype2/freetype/config/ftconfig.h +1 -1
- package/include/freetype2/freetype/config/ftheader.h +1 -1
- package/include/freetype2/freetype/config/ftoption.h +37 -12
- package/include/freetype2/freetype/config/ftstdlib.h +1 -1
- package/include/freetype2/freetype/config/integer-types.h +29 -2
- package/include/freetype2/freetype/config/mac-support.h +1 -1
- package/include/freetype2/freetype/config/public-macros.h +3 -3
- package/include/freetype2/freetype/freetype.h +51 -47
- package/include/freetype2/freetype/ftadvanc.h +1 -1
- package/include/freetype2/freetype/ftbbox.h +1 -1
- package/include/freetype2/freetype/ftbdf.h +1 -1
- package/include/freetype2/freetype/ftbitmap.h +1 -1
- package/include/freetype2/freetype/ftbzip2.h +1 -1
- package/include/freetype2/freetype/ftcache.h +1 -1
- package/include/freetype2/freetype/ftcid.h +1 -1
- package/include/freetype2/freetype/ftcolor.h +13 -4
- package/include/freetype2/freetype/ftdriver.h +3 -3
- package/include/freetype2/freetype/fterrdef.h +1 -1
- package/include/freetype2/freetype/fterrors.h +1 -1
- package/include/freetype2/freetype/ftfntfmt.h +1 -1
- package/include/freetype2/freetype/ftgasp.h +1 -1
- package/include/freetype2/freetype/ftglyph.h +1 -1
- package/include/freetype2/freetype/ftgxval.h +1 -1
- package/include/freetype2/freetype/ftgzip.h +1 -1
- package/include/freetype2/freetype/ftimage.h +6 -2
- package/include/freetype2/freetype/ftincrem.h +1 -1
- package/include/freetype2/freetype/ftlcdfil.h +1 -1
- package/include/freetype2/freetype/ftlist.h +1 -1
- package/include/freetype2/freetype/ftlogging.h +184 -0
- package/include/freetype2/freetype/ftlzw.h +1 -1
- package/include/freetype2/freetype/ftmac.h +1 -1
- package/include/freetype2/freetype/ftmm.h +159 -103
- package/include/freetype2/freetype/ftmodapi.h +1 -1
- package/include/freetype2/freetype/ftmoderr.h +1 -1
- package/include/freetype2/freetype/ftotval.h +1 -1
- package/include/freetype2/freetype/ftoutln.h +1 -1
- package/include/freetype2/freetype/ftparams.h +1 -1
- package/include/freetype2/freetype/ftpfr.h +1 -1
- package/include/freetype2/freetype/ftrender.h +1 -1
- package/include/freetype2/freetype/ftsizes.h +1 -1
- package/include/freetype2/freetype/ftsnames.h +1 -1
- package/include/freetype2/freetype/ftstroke.h +1 -1
- package/include/freetype2/freetype/ftsynth.h +1 -1
- package/include/freetype2/freetype/ftsystem.h +1 -1
- package/include/freetype2/freetype/fttrigon.h +1 -1
- package/include/freetype2/freetype/fttypes.h +1 -1
- package/include/freetype2/freetype/ftwinfnt.h +2 -3
- package/include/freetype2/freetype/otsvg.h +1 -1
- package/include/freetype2/freetype/t1tables.h +1 -1
- package/include/freetype2/freetype/ttnameid.h +129 -129
- package/include/freetype2/freetype/tttables.h +8 -5
- package/include/freetype2/freetype/tttags.h +1 -1
- package/include/freetype2/ft2build.h +1 -1
- package/include/glib-2.0/gio/gdbuserror.h +9 -8
- package/include/glib-2.0/gio/ginetaddress.h +12 -0
- package/include/glib-2.0/gio/gioenums.h +9 -2
- package/include/glib-2.0/glib/gstring.h +2 -2
- package/include/glib-2.0/glib/gunicode.h +1 -1
- package/include/glib-2.0/gobject/glib-types.h +1 -1
- package/include/glib-2.0/gobject/gparam.h +1 -1
- package/include/glib-2.0/gobject/gvalue.h +78 -35
- package/include/harfbuzz/hb-script-list.h +12 -0
- package/include/harfbuzz/hb-subset.h +5 -0
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/hwy/ops/set_macros-inl.h +5 -0
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/libxml2/libxml/HTMLparser.h +159 -101
- package/include/libxml2/libxml/HTMLtree.h +49 -74
- package/include/libxml2/libxml/SAX.h +8 -5
- package/include/libxml2/libxml/SAX2.h +18 -15
- package/include/libxml2/libxml/c14n.h +30 -29
- package/include/libxml2/libxml/catalog.h +47 -22
- package/include/libxml2/libxml/chvalid.h +52 -64
- package/include/libxml2/libxml/debugXML.h +18 -15
- package/include/libxml2/libxml/dict.h +22 -19
- package/include/libxml2/libxml/encoding.h +144 -111
- package/include/libxml2/libxml/entities.h +95 -75
- package/include/libxml2/libxml/globals.h +7 -4
- package/include/libxml2/libxml/hash.h +61 -64
- package/include/libxml2/libxml/list.h +59 -51
- package/include/libxml2/libxml/nanoftp.h +7 -4
- package/include/libxml2/libxml/nanohttp.h +10 -7
- package/include/libxml2/libxml/parser.h +1091 -563
- package/include/libxml2/libxml/parserInternals.h +167 -214
- package/include/libxml2/libxml/pattern.h +29 -31
- package/include/libxml2/libxml/relaxng.h +59 -58
- package/include/libxml2/libxml/schemasInternals.h +114 -268
- package/include/libxml2/libxml/schematron.h +59 -51
- package/include/libxml2/libxml/threads.h +19 -20
- package/include/libxml2/libxml/tree.h +873 -623
- package/include/libxml2/libxml/uri.h +21 -22
- package/include/libxml2/libxml/valid.h +170 -202
- package/include/libxml2/libxml/xinclude.h +24 -43
- package/include/libxml2/libxml/xlink.h +55 -51
- package/include/libxml2/libxml/xmlIO.h +133 -151
- package/include/libxml2/libxml/xmlautomata.h +66 -65
- package/include/libxml2/libxml/xmlerror.h +198 -95
- package/include/libxml2/libxml/xmlexports.h +17 -19
- package/include/libxml2/libxml/xmlmemory.h +44 -29
- package/include/libxml2/libxml/xmlmodule.h +14 -15
- package/include/libxml2/libxml/xmlreader.h +137 -131
- package/include/libxml2/libxml/xmlregexp.h +28 -31
- package/include/libxml2/libxml/xmlsave.h +81 -36
- package/include/libxml2/libxml/xmlschemas.h +61 -67
- package/include/libxml2/libxml/xmlschemastypes.h +60 -54
- package/include/libxml2/libxml/xmlstring.h +8 -9
- package/include/libxml2/libxml/xmlunicode.h +6 -3
- package/include/libxml2/libxml/xmlversion.h +44 -121
- package/include/libxml2/libxml/xmlwriter.h +97 -97
- package/include/libxml2/libxml/xpath.h +235 -232
- package/include/libxml2/libxml/xpathInternals.h +247 -277
- package/include/libxml2/libxml/xpointer.h +21 -17
- package/include/pango-1.0/pango/pango-enum-types.h +3 -0
- package/include/pango-1.0/pango/pango-features.h +3 -3
- package/include/pango-1.0/pango/pango-font.h +30 -0
- package/include/pango-1.0/pango/pango-version-macros.h +26 -0
- package/include/tiff.h +1 -0
- package/include/tiffconf.h +1 -1
- package/include/tiffio.h +23 -5
- package/include/tiffvers.h +4 -4
- package/include/vips/connection.h +4 -4
- package/include/vips/version.h +4 -4
- package/package.json +1 -1
- package/versions.json +11 -11
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* User-selectable configuration macros (specification only).
|
|
6
6
|
*
|
|
7
|
-
* Copyright (C) 1996-
|
|
7
|
+
* Copyright (C) 1996-2025 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,
|
|
@@ -158,12 +158,12 @@ FT_BEGIN_HEADER
|
|
|
158
158
|
|
|
159
159
|
/**************************************************************************
|
|
160
160
|
*
|
|
161
|
-
* If this macro is defined, try to use an inlined
|
|
162
|
-
* @FT_MulFix function, which is a 'hotspot' when loading
|
|
163
|
-
* glyphs, and which should be executed as fast as possible.
|
|
161
|
+
* If this macro is defined, try to use an inlined 64-bit or assembler
|
|
162
|
+
* version of the @FT_MulFix function, which is a 'hotspot' when loading
|
|
163
|
+
* and hinting glyphs, and which should be executed as fast as possible.
|
|
164
164
|
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
165
|
+
* If your compiler is not C99-compliant or CPU assembly is not supported,
|
|
166
|
+
* you can disable this option.
|
|
167
167
|
*/
|
|
168
168
|
#define FT_CONFIG_OPTION_INLINE_MULFIX
|
|
169
169
|
|
|
@@ -293,6 +293,31 @@ FT_BEGIN_HEADER
|
|
|
293
293
|
#define FT_CONFIG_OPTION_USE_HARFBUZZ
|
|
294
294
|
|
|
295
295
|
|
|
296
|
+
/**************************************************************************
|
|
297
|
+
*
|
|
298
|
+
* HarfBuzz dynamic support.
|
|
299
|
+
*
|
|
300
|
+
* Define this macro if you want the HarfBuzz library to be loaded at
|
|
301
|
+
* runtime instead of being linked to FreeType.
|
|
302
|
+
*
|
|
303
|
+
* This option has no effect if `FT_CONFIG_OPTION_USE_HARFBUZZ` is not
|
|
304
|
+
* defined.
|
|
305
|
+
*
|
|
306
|
+
* When this option is enabled, FreeType will try to load the HarfBuzz
|
|
307
|
+
* library at runtime, using `dlopen` or `LoadLibrary`, depending on the
|
|
308
|
+
* platform. On Microsoft platforms, the library name looked up is
|
|
309
|
+
* `libharfbuzz-0.dll`. On Apple platforms, the library name looked up
|
|
310
|
+
* is `libharfbuzz.0.dylib`. On all other platforms, the library name
|
|
311
|
+
* looked up is `libharfbuzz.so.0`. This name can be overridden by
|
|
312
|
+
* defining the macro `FT_LIBHARFBUZZ` at FreeType compilation time.
|
|
313
|
+
*
|
|
314
|
+
* If you use a build system like cmake or the `configure` script,
|
|
315
|
+
* options set by those programs have precedence, overwriting the value
|
|
316
|
+
* here with the configured one.
|
|
317
|
+
*/
|
|
318
|
+
/* #define FT_CONFIG_OPTION_USE_HARFBUZZ_DYNAMIC */
|
|
319
|
+
|
|
320
|
+
|
|
296
321
|
/**************************************************************************
|
|
297
322
|
*
|
|
298
323
|
* Brotli support.
|
|
@@ -679,7 +704,7 @@ FT_BEGIN_HEADER
|
|
|
679
704
|
* defined.
|
|
680
705
|
*
|
|
681
706
|
* [1]
|
|
682
|
-
* https://
|
|
707
|
+
* https://learn.microsoft.com/typography/cleartype/truetypecleartype
|
|
683
708
|
*/
|
|
684
709
|
#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
|
|
685
710
|
|
|
@@ -697,7 +722,7 @@ FT_BEGIN_HEADER
|
|
|
697
722
|
* flags array which can be used to disambiguate, but old fonts will not
|
|
698
723
|
* have them.
|
|
699
724
|
*
|
|
700
|
-
* https://
|
|
725
|
+
* https://learn.microsoft.com/typography/opentype/spec/glyf
|
|
701
726
|
* https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6glyf.html
|
|
702
727
|
*/
|
|
703
728
|
#undef TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED
|
|
@@ -760,10 +785,10 @@ FT_BEGIN_HEADER
|
|
|
760
785
|
/**************************************************************************
|
|
761
786
|
*
|
|
762
787
|
* Option `TT_CONFIG_OPTION_GPOS_KERNING` enables a basic GPOS kerning
|
|
763
|
-
* implementation (for TrueType fonts only). With this
|
|
764
|
-
* is able to get kerning pair data from the GPOS 'kern'
|
|
765
|
-
* legacy 'kern' tables; without this defined, FreeType
|
|
766
|
-
* to use legacy 'kern' tables.
|
|
788
|
+
* implementation (for TrueType and OpenType fonts only). With this
|
|
789
|
+
* defined, FreeType is able to get kerning pair data from the GPOS 'kern'
|
|
790
|
+
* feature as well as legacy 'kern' tables; without this defined, FreeType
|
|
791
|
+
* will only be able to use legacy 'kern' tables.
|
|
767
792
|
*
|
|
768
793
|
* Note that FreeType does not support more advanced GPOS layout features;
|
|
769
794
|
* even the 'kern' feature implemented here doesn't handle more
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ANSI-specific library and header configuration file (specification
|
|
6
6
|
* only).
|
|
7
7
|
*
|
|
8
|
-
* Copyright (C) 2002-
|
|
8
|
+
* Copyright (C) 2002-2025 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 integer types definitions.
|
|
6
6
|
*
|
|
7
|
-
* Copyright (C) 1996-
|
|
7
|
+
* Copyright (C) 1996-2025 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,
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
#ifndef FREETYPE_CONFIG_INTEGER_TYPES_H_
|
|
18
18
|
#define FREETYPE_CONFIG_INTEGER_TYPES_H_
|
|
19
19
|
|
|
20
|
+
FT_BEGIN_HEADER
|
|
21
|
+
|
|
20
22
|
/* There are systems (like the Texas Instruments 'C54x) where a `char` */
|
|
21
23
|
/* has 16~bits. ANSI~C says that `sizeof(char)` is always~1. Since an */
|
|
22
24
|
/* `int` has 16~bits also for this system, `sizeof(int)` gives~1 which */
|
|
@@ -242,9 +244,34 @@
|
|
|
242
244
|
#endif /* FT_SIZEOF_LONG == (64 / FT_CHAR_BIT) */
|
|
243
245
|
|
|
244
246
|
#ifdef FT_INT64
|
|
247
|
+
|
|
245
248
|
typedef FT_INT64 FT_Int64;
|
|
246
249
|
typedef FT_UINT64 FT_UInt64;
|
|
247
|
-
#endif
|
|
248
250
|
|
|
251
|
+
# define FT_INT64_ZERO 0
|
|
252
|
+
|
|
253
|
+
#else /* !FT_INT64 */
|
|
254
|
+
|
|
255
|
+
/* we need to emulate 64-bit data types if none are available */
|
|
256
|
+
|
|
257
|
+
typedef struct FT_Int64_
|
|
258
|
+
{
|
|
259
|
+
FT_UInt32 lo;
|
|
260
|
+
FT_UInt32 hi;
|
|
261
|
+
|
|
262
|
+
} FT_Int64;
|
|
263
|
+
|
|
264
|
+
typedef struct FT_UInt64_
|
|
265
|
+
{
|
|
266
|
+
FT_UInt32 lo;
|
|
267
|
+
FT_UInt32 hi;
|
|
268
|
+
|
|
269
|
+
} FT_UInt64;
|
|
270
|
+
|
|
271
|
+
# define FT_INT64_ZERO { 0, 0 }
|
|
272
|
+
|
|
273
|
+
#endif /* !FT_INT64 */
|
|
274
|
+
|
|
275
|
+
FT_END_HEADER
|
|
249
276
|
|
|
250
277
|
#endif /* FREETYPE_CONFIG_INTEGER_TYPES_H_ */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Define a set of compiler macros used in public FreeType headers.
|
|
6
6
|
*
|
|
7
|
-
* Copyright (C) 2020-
|
|
7
|
+
* Copyright (C) 2020-2025 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,
|
|
@@ -62,8 +62,8 @@ FT_BEGIN_HEADER
|
|
|
62
62
|
* because it is needed by `FT_EXPORT`.
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
/* Visual C,
|
|
66
|
-
#if defined( _WIN32 )
|
|
65
|
+
/* Visual C, MinGW, Cygwin */
|
|
66
|
+
#if defined( _WIN32 ) || defined( __CYGWIN__ )
|
|
67
67
|
|
|
68
68
|
#if defined( FT2_BUILD_LIBRARY ) && defined( DLL_EXPORT )
|
|
69
69
|
#define FT_PUBLIC_FUNCTION_ATTRIBUTE __declspec( dllexport )
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* FreeType high-level API and common types (specification only).
|
|
6
6
|
*
|
|
7
|
-
* Copyright (C) 1996-
|
|
7
|
+
* Copyright (C) 1996-2025 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,
|
|
@@ -811,7 +811,7 @@ FT_BEGIN_HEADER
|
|
|
811
811
|
* FT_ENCODING_MS_SYMBOL ::
|
|
812
812
|
* Microsoft Symbol encoding, used to encode mathematical symbols and
|
|
813
813
|
* wingdings. For more information, see
|
|
814
|
-
* 'https://
|
|
814
|
+
* 'https://learn.microsoft.com/typography/opentype/spec/recom#non-standard-symbol-fonts',
|
|
815
815
|
* 'http://www.kostis.net/charsets/symbol.htm', and
|
|
816
816
|
* 'http://www.kostis.net/charsets/wingding.htm'.
|
|
817
817
|
*
|
|
@@ -1068,12 +1068,12 @@ FT_BEGIN_HEADER
|
|
|
1068
1068
|
* the face in the font file (starting with value~0). They are set
|
|
1069
1069
|
* to~0 if there is only one face in the font file.
|
|
1070
1070
|
*
|
|
1071
|
-
* [Since 2.6.1] Bits 16-30 are relevant to GX and OpenType
|
|
1072
|
-
*
|
|
1073
|
-
* index (starting with value~1; value~0 indicates font
|
|
1074
|
-
* a named instance). For non-variation fonts, bits
|
|
1075
|
-
* If we have the third named instance of face~4,
|
|
1076
|
-
* set to 0x00030004.
|
|
1071
|
+
* [Since 2.6.1] Bits 16-30 are relevant to TrueType GX and OpenType
|
|
1072
|
+
* Font Variations only, holding the named instance index for the
|
|
1073
|
+
* current face index (starting with value~1; value~0 indicates font
|
|
1074
|
+
* access without a named instance). For non-variation fonts, bits
|
|
1075
|
+
* 16-30 are ignored. If we have the third named instance of face~4,
|
|
1076
|
+
* say, `face_index` is set to 0x00030004.
|
|
1077
1077
|
*
|
|
1078
1078
|
* Bit 31 is always zero (that is, `face_index` is always a positive
|
|
1079
1079
|
* value).
|
|
@@ -1092,10 +1092,10 @@ FT_BEGIN_HEADER
|
|
|
1092
1092
|
* the face; see @FT_STYLE_FLAG_XXX for the details.
|
|
1093
1093
|
*
|
|
1094
1094
|
* [Since 2.6.1] Bits 16-30 hold the number of named instances
|
|
1095
|
-
* available for the current face if we have a GX or OpenType
|
|
1096
|
-
*
|
|
1097
|
-
* a positive value). Note that a variation font has always at
|
|
1098
|
-
* one named instance, namely the default instance.
|
|
1095
|
+
* available for the current face if we have a TrueType GX or OpenType
|
|
1096
|
+
* Font Variation. Bit 31 is always zero (that is, `style_flags` is
|
|
1097
|
+
* always a positive value). Note that a variation font has always at
|
|
1098
|
+
* least one named instance, namely the default instance.
|
|
1099
1099
|
*
|
|
1100
1100
|
* num_glyphs ::
|
|
1101
1101
|
* The number of glyphs in the face. If the face is scalable and has
|
|
@@ -1159,7 +1159,7 @@ FT_BEGIN_HEADER
|
|
|
1159
1159
|
* Note that the bounding box might be off by (at least) one pixel for
|
|
1160
1160
|
* hinted fonts. See @FT_Size_Metrics for further discussion.
|
|
1161
1161
|
*
|
|
1162
|
-
* Note that the bounding box does not vary in OpenType
|
|
1162
|
+
* Note that the bounding box does not vary in OpenType Font Variations
|
|
1163
1163
|
* and should only be used in relation to the default instance.
|
|
1164
1164
|
*
|
|
1165
1165
|
* units_per_EM ::
|
|
@@ -1218,7 +1218,7 @@ FT_BEGIN_HEADER
|
|
|
1218
1218
|
* Fields may be changed after a call to @FT_Attach_File or
|
|
1219
1219
|
* @FT_Attach_Stream.
|
|
1220
1220
|
*
|
|
1221
|
-
* For
|
|
1221
|
+
* For OpenType Font Variations, the values of the following fields can
|
|
1222
1222
|
* change after a call to @FT_Set_Var_Design_Coordinates (and friends) if
|
|
1223
1223
|
* the font contains an 'MVAR' table: `ascender`, `descender`, `height`,
|
|
1224
1224
|
* `underline_position`, and `underline_thickness`.
|
|
@@ -1336,7 +1336,7 @@ FT_BEGIN_HEADER
|
|
|
1336
1336
|
* FT_FACE_FLAG_MULTIPLE_MASTERS ::
|
|
1337
1337
|
* The face contains multiple masters and is capable of interpolating
|
|
1338
1338
|
* between them. Supported formats are Adobe MM, TrueType GX, and
|
|
1339
|
-
* OpenType
|
|
1339
|
+
* OpenType Font Variations.
|
|
1340
1340
|
*
|
|
1341
1341
|
* See section @multiple_masters for API details.
|
|
1342
1342
|
*
|
|
@@ -1609,7 +1609,7 @@ FT_BEGIN_HEADER
|
|
|
1609
1609
|
*
|
|
1610
1610
|
* @description:
|
|
1611
1611
|
* A macro that returns true whenever a face object is a named instance
|
|
1612
|
-
* of a GX or OpenType
|
|
1612
|
+
* of a TrueType GX or OpenType Font Variations.
|
|
1613
1613
|
*
|
|
1614
1614
|
* [Since 2.9] Changing the design coordinates with
|
|
1615
1615
|
* @FT_Set_Var_Design_Coordinates or @FT_Set_Var_Blend_Coordinates does
|
|
@@ -2147,7 +2147,7 @@ FT_BEGIN_HEADER
|
|
|
2147
2147
|
* freed.
|
|
2148
2148
|
*
|
|
2149
2149
|
* [Since 2.10.1] If @FT_LOAD_NO_SCALE is set, outline coordinates of
|
|
2150
|
-
* OpenType
|
|
2150
|
+
* OpenType Font Variations for a selected instance are internally
|
|
2151
2151
|
* handled as 26.6 fractional font units but returned as (rounded)
|
|
2152
2152
|
* integers, as expected. To get unrounded font units, don't use
|
|
2153
2153
|
* @FT_LOAD_NO_SCALE but load the glyph with @FT_LOAD_NO_HINTING and
|
|
@@ -2640,14 +2640,14 @@ FT_BEGIN_HEADER
|
|
|
2640
2640
|
* the face in the font file (starting with value~0). Set it to~0 if
|
|
2641
2641
|
* there is only one face in the font file.
|
|
2642
2642
|
*
|
|
2643
|
-
* [Since 2.6.1] Bits 16-30 are relevant to GX and OpenType
|
|
2644
|
-
*
|
|
2645
|
-
* index (starting with value~1; value~0 makes FreeType
|
|
2646
|
-
* instances). For non-variation fonts, bits 16-30 are
|
|
2647
|
-
* Assuming that you want to access the third named instance
|
|
2648
|
-
* `face_index` should be set to 0x00030004. If you want
|
|
2649
|
-
* face~4 without variation handling, simply set
|
|
2650
|
-
* value~4.
|
|
2643
|
+
* [Since 2.6.1] Bits 16-30 are relevant to TrueType GX and OpenType
|
|
2644
|
+
* Font Variations only, specifying the named instance index for the
|
|
2645
|
+
* current face index (starting with value~1; value~0 makes FreeType
|
|
2646
|
+
* ignore named instances). For non-variation fonts, bits 16-30 are
|
|
2647
|
+
* ignored. Assuming that you want to access the third named instance
|
|
2648
|
+
* in face~4, `face_index` should be set to 0x00030004. If you want
|
|
2649
|
+
* to access face~4 without variation handling, simply set
|
|
2650
|
+
* `face_index` to value~4.
|
|
2651
2651
|
*
|
|
2652
2652
|
* `FT_Open_Face` and its siblings can be used to quickly check whether
|
|
2653
2653
|
* the font format of a given font resource is supported by FreeType.
|
|
@@ -2914,11 +2914,11 @@ FT_BEGIN_HEADER
|
|
|
2914
2914
|
* of the available glyphs at a given ppem value is available. FreeType
|
|
2915
2915
|
* silently uses outlines if there is no bitmap for a given glyph index.
|
|
2916
2916
|
*
|
|
2917
|
-
* For GX and OpenType
|
|
2918
|
-
* if the default instance is active (that is, no glyph
|
|
2919
|
-
* place); otherwise, FreeType simply ignores bitmap
|
|
2920
|
-
* is true for all named instances that are different
|
|
2921
|
-
* instance.
|
|
2917
|
+
* For TrueType GX and OpenType Font Variations, a bitmap strike makes
|
|
2918
|
+
* sense only if the default instance is active (that is, no glyph
|
|
2919
|
+
* variation takes place); otherwise, FreeType simply ignores bitmap
|
|
2920
|
+
* strikes. The same is true for all named instances that are different
|
|
2921
|
+
* from the default instance.
|
|
2922
2922
|
*
|
|
2923
2923
|
* Don't use this function if you are using the FreeType cache API.
|
|
2924
2924
|
*/
|
|
@@ -3078,7 +3078,7 @@ FT_BEGIN_HEADER
|
|
|
3078
3078
|
* is dependent entirely on how the size is defined in the source face.
|
|
3079
3079
|
* The font designer chooses the final size of each glyph relative to
|
|
3080
3080
|
* this size. For more information refer to
|
|
3081
|
-
* 'https://
|
|
3081
|
+
* 'https://freetype.org/freetype2/docs/glyphs/glyphs-2.html'.
|
|
3082
3082
|
*
|
|
3083
3083
|
* Contrary to @FT_Set_Char_Size, this function doesn't have special code
|
|
3084
3084
|
* to normalize zero-valued widths, heights, or resolutions, which are
|
|
@@ -3441,8 +3441,10 @@ FT_BEGIN_HEADER
|
|
|
3441
3441
|
* blending of the color glyph layers associated with the glyph index,
|
|
3442
3442
|
* using the same bitmap format as embedded color bitmap images. This
|
|
3443
3443
|
* is mainly for convenience and works only for glyphs in 'COLR' v0
|
|
3444
|
-
* tables
|
|
3445
|
-
*
|
|
3444
|
+
* tables. **There is no rendering support for 'COLR' v1** (with the
|
|
3445
|
+
* exception of v1 tables that exclusively use v0 features)! You need
|
|
3446
|
+
* a graphics library like Skia or Cairo to interpret the graphics
|
|
3447
|
+
* commands stored in v1 tables. For full control of color layers use
|
|
3446
3448
|
* @FT_Get_Color_Glyph_Layer and FreeType's color functions like
|
|
3447
3449
|
* @FT_Palette_Select instead of setting @FT_LOAD_COLOR for rendering
|
|
3448
3450
|
* so that the client application can handle blending by itself.
|
|
@@ -3895,8 +3897,10 @@ FT_BEGIN_HEADER
|
|
|
3895
3897
|
*
|
|
3896
3898
|
* This process can cost performance. There is an approximation that
|
|
3897
3899
|
* does not need to know about the background color; see
|
|
3898
|
-
* https://bel.fi/alankila/lcd/
|
|
3899
|
-
*
|
|
3900
|
+
* https://web.archive.org/web/20211019204945/https://bel.fi/alankila/lcd/
|
|
3901
|
+
* and
|
|
3902
|
+
* https://web.archive.org/web/20210211002939/https://bel.fi/alankila/lcd/alpcor.html
|
|
3903
|
+
* for details.
|
|
3900
3904
|
*
|
|
3901
3905
|
* **ATTENTION**: Linear blending is even more important when dealing
|
|
3902
3906
|
* with subpixel-rendered glyphs to prevent color-fringing! A
|
|
@@ -3993,13 +3997,13 @@ FT_BEGIN_HEADER
|
|
|
3993
3997
|
* out of the scope of this API function -- they can be implemented
|
|
3994
3998
|
* through format-specific interfaces.
|
|
3995
3999
|
*
|
|
3996
|
-
* Note that, for TrueType fonts only, this can extract data
|
|
3997
|
-
* the 'kern' table and the basic, pair-wise kerning feature
|
|
3998
|
-
* GPOS table (with `TT_CONFIG_OPTION_GPOS_KERNING` enabled),
|
|
3999
|
-
* FreeType does not support the more advanced GPOS layout
|
|
4000
|
-
* a library like HarfBuzz for those instead. If a font
|
|
4001
|
-
* 'kern' table and kern features of a GPOS table, the 'kern'
|
|
4002
|
-
* be used.
|
|
4000
|
+
* Note that, for TrueType and OpenType fonts only, this can extract data
|
|
4001
|
+
* from both the 'kern' table and the basic, pair-wise kerning feature
|
|
4002
|
+
* from the GPOS table (with `TT_CONFIG_OPTION_GPOS_KERNING` enabled),
|
|
4003
|
+
* though FreeType does not support the more advanced GPOS layout
|
|
4004
|
+
* features; use a library like HarfBuzz for those instead. If a font
|
|
4005
|
+
* has both a 'kern' table and kern features of a GPOS table, the 'kern'
|
|
4006
|
+
* table will be used.
|
|
4003
4007
|
*
|
|
4004
4008
|
* Also note for right-to-left scripts, the functionality may differ for
|
|
4005
4009
|
* fonts with GPOS tables vs. 'kern' tables. For GPOS, right-to-left
|
|
@@ -4530,7 +4534,7 @@ FT_BEGIN_HEADER
|
|
|
4530
4534
|
* table description in the OpenType specification for the meaning of the
|
|
4531
4535
|
* various flags (which get synthesized for non-OpenType subglyphs).
|
|
4532
4536
|
*
|
|
4533
|
-
* https://
|
|
4537
|
+
* https://learn.microsoft.com/typography/opentype/spec/glyf#composite-glyph-description
|
|
4534
4538
|
*
|
|
4535
4539
|
* @values:
|
|
4536
4540
|
* FT_SUBGLYPH_FLAG_ARGS_ARE_WORDS ::
|
|
@@ -4593,7 +4597,7 @@ FT_BEGIN_HEADER
|
|
|
4593
4597
|
* interpreted depending on the flags returned in `*p_flags`. See the
|
|
4594
4598
|
* OpenType specification for details.
|
|
4595
4599
|
*
|
|
4596
|
-
* https://
|
|
4600
|
+
* https://learn.microsoft.com/typography/opentype/spec/glyf#composite-glyph-description
|
|
4597
4601
|
*
|
|
4598
4602
|
*/
|
|
4599
4603
|
FT_EXPORT( FT_Error )
|
|
@@ -4619,7 +4623,7 @@ FT_BEGIN_HEADER
|
|
|
4619
4623
|
* associated with a font.
|
|
4620
4624
|
*
|
|
4621
4625
|
* See
|
|
4622
|
-
* https://
|
|
4626
|
+
* https://adobe-type-tools.github.io/font-tech-notes/pdfs/AcrobatDC_FontPolicies.pdf
|
|
4623
4627
|
* for more details.
|
|
4624
4628
|
*
|
|
4625
4629
|
* @values:
|
|
@@ -5173,8 +5177,8 @@ FT_BEGIN_HEADER
|
|
|
5173
5177
|
*
|
|
5174
5178
|
*/
|
|
5175
5179
|
#define FREETYPE_MAJOR 2
|
|
5176
|
-
#define FREETYPE_MINOR
|
|
5177
|
-
#define FREETYPE_PATCH
|
|
5180
|
+
#define FREETYPE_MINOR 14
|
|
5181
|
+
#define FREETYPE_PATCH 1
|
|
5178
5182
|
|
|
5179
5183
|
|
|
5180
5184
|
/**************************************************************************
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* FreeType's glyph color management (specification).
|
|
6
6
|
*
|
|
7
|
-
* Copyright (C) 2018-
|
|
7
|
+
* Copyright (C) 2018-2025 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,
|
|
@@ -317,6 +317,15 @@ FT_BEGIN_HEADER
|
|
|
317
317
|
* @description:
|
|
318
318
|
* The functions described here allow access of colored glyph layer data
|
|
319
319
|
* in OpenType's 'COLR' tables.
|
|
320
|
+
*
|
|
321
|
+
* Note that FreeType does *not* provide rendering in general of glyphs
|
|
322
|
+
* that use a 'COLR' table! While FreeType has very limited rendering
|
|
323
|
+
* support for 'COLR' v0 tables (without a possibility to change the
|
|
324
|
+
* color palette) via @FT_Render_Glyph, there is no such convenience
|
|
325
|
+
* code for 'COLR' v1 tables -- while it appears that v1 is simply an
|
|
326
|
+
* 'improved' version of v0, this is not the case: it is a completely
|
|
327
|
+
* different color font format, and you need a dedicated graphics
|
|
328
|
+
* library like Skia or Cairo to handle a v1 table's drawing commands.
|
|
320
329
|
*/
|
|
321
330
|
|
|
322
331
|
|
|
@@ -359,7 +368,7 @@ FT_BEGIN_HEADER
|
|
|
359
368
|
* iteratively retrieve the colored glyph layers associated with the
|
|
360
369
|
* current glyph slot.
|
|
361
370
|
*
|
|
362
|
-
* https://
|
|
371
|
+
* https://learn.microsoft.com/typography/opentype/spec/colr
|
|
363
372
|
*
|
|
364
373
|
* The glyph layer data for a given glyph index, if present, provides an
|
|
365
374
|
* alternative, multi-color glyph representation: Instead of rendering
|
|
@@ -1518,7 +1527,7 @@ FT_BEGIN_HEADER
|
|
|
1518
1527
|
*
|
|
1519
1528
|
* @return:
|
|
1520
1529
|
* Value~1 if a clip box is found. If no clip box is found or an error
|
|
1521
|
-
*
|
|
1530
|
+
* occurred, value~0 is returned.
|
|
1522
1531
|
*
|
|
1523
1532
|
* @note:
|
|
1524
1533
|
* To retrieve the clip box in font units, reset scale to units-per-em
|
|
@@ -1646,7 +1655,7 @@ FT_BEGIN_HEADER
|
|
|
1646
1655
|
*
|
|
1647
1656
|
* @return:
|
|
1648
1657
|
* Value~1 if everything is OK. Value~0 if no details can be found for
|
|
1649
|
-
* this paint or any other error
|
|
1658
|
+
* this paint or any other error occurred.
|
|
1650
1659
|
*
|
|
1651
1660
|
* @since:
|
|
1652
1661
|
* 2.13
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* FreeType API for controlling driver modules (specification only).
|
|
6
6
|
*
|
|
7
|
-
* Copyright (C) 2017-
|
|
7
|
+
* Copyright (C) 2017-2025 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,
|
|
@@ -282,7 +282,7 @@ FT_BEGIN_HEADER
|
|
|
282
282
|
* minimize hinting techniques that were problematic with the extra
|
|
283
283
|
* resolution of ClearType; see
|
|
284
284
|
* http://rastertragedy.com/RTRCh4.htm#Sec1 and
|
|
285
|
-
* https://
|
|
285
|
+
* https://learn.microsoft.com/typography/cleartype/truetypecleartype.
|
|
286
286
|
* This technique is not to be confused with ClearType compatible widths.
|
|
287
287
|
* ClearType backward compatibility has no direct impact on changing
|
|
288
288
|
* advance widths, but there might be an indirect impact on disabling
|
|
@@ -784,7 +784,7 @@ FT_BEGIN_HEADER
|
|
|
784
784
|
*
|
|
785
785
|
* Details on subpixel hinting and some of the necessary tweaks can be
|
|
786
786
|
* found in Greg Hitchcock's whitepaper at
|
|
787
|
-
* 'https://
|
|
787
|
+
* 'https://learn.microsoft.com/typography/cleartype/truetypecleartype'.
|
|
788
788
|
* Note that FreeType currently doesn't really 'subpixel hint' (6x1, 6x2,
|
|
789
789
|
* or 6x5 supersampling) like discussed in the paper. Depending on the
|
|
790
790
|
* chosen interpreter, it simply ignores instructions on vertical stems
|