@img/sharp-libvips-dev 1.2.1 → 1.2.2-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/include/aom/aom_decoder.h +1 -1
  2. package/include/aom/aom_encoder.h +2 -0
  3. package/include/aom/aomcx.h +106 -25
  4. package/include/ffi.h +3 -3
  5. package/include/freetype2/freetype/config/ftconfig.h +1 -1
  6. package/include/freetype2/freetype/config/ftheader.h +1 -1
  7. package/include/freetype2/freetype/config/ftoption.h +37 -12
  8. package/include/freetype2/freetype/config/ftstdlib.h +1 -1
  9. package/include/freetype2/freetype/config/integer-types.h +29 -2
  10. package/include/freetype2/freetype/config/mac-support.h +1 -1
  11. package/include/freetype2/freetype/config/public-macros.h +3 -3
  12. package/include/freetype2/freetype/freetype.h +51 -47
  13. package/include/freetype2/freetype/ftadvanc.h +1 -1
  14. package/include/freetype2/freetype/ftbbox.h +1 -1
  15. package/include/freetype2/freetype/ftbdf.h +1 -1
  16. package/include/freetype2/freetype/ftbitmap.h +1 -1
  17. package/include/freetype2/freetype/ftbzip2.h +1 -1
  18. package/include/freetype2/freetype/ftcache.h +1 -1
  19. package/include/freetype2/freetype/ftcid.h +1 -1
  20. package/include/freetype2/freetype/ftcolor.h +13 -4
  21. package/include/freetype2/freetype/ftdriver.h +3 -3
  22. package/include/freetype2/freetype/fterrdef.h +1 -1
  23. package/include/freetype2/freetype/fterrors.h +1 -1
  24. package/include/freetype2/freetype/ftfntfmt.h +1 -1
  25. package/include/freetype2/freetype/ftgasp.h +1 -1
  26. package/include/freetype2/freetype/ftglyph.h +1 -1
  27. package/include/freetype2/freetype/ftgxval.h +1 -1
  28. package/include/freetype2/freetype/ftgzip.h +1 -1
  29. package/include/freetype2/freetype/ftimage.h +6 -2
  30. package/include/freetype2/freetype/ftincrem.h +1 -1
  31. package/include/freetype2/freetype/ftlcdfil.h +1 -1
  32. package/include/freetype2/freetype/ftlist.h +1 -1
  33. package/include/freetype2/freetype/ftlogging.h +184 -0
  34. package/include/freetype2/freetype/ftlzw.h +1 -1
  35. package/include/freetype2/freetype/ftmac.h +1 -1
  36. package/include/freetype2/freetype/ftmm.h +159 -103
  37. package/include/freetype2/freetype/ftmodapi.h +1 -1
  38. package/include/freetype2/freetype/ftmoderr.h +1 -1
  39. package/include/freetype2/freetype/ftotval.h +1 -1
  40. package/include/freetype2/freetype/ftoutln.h +1 -1
  41. package/include/freetype2/freetype/ftparams.h +1 -1
  42. package/include/freetype2/freetype/ftpfr.h +1 -1
  43. package/include/freetype2/freetype/ftrender.h +1 -1
  44. package/include/freetype2/freetype/ftsizes.h +1 -1
  45. package/include/freetype2/freetype/ftsnames.h +1 -1
  46. package/include/freetype2/freetype/ftstroke.h +1 -1
  47. package/include/freetype2/freetype/ftsynth.h +1 -1
  48. package/include/freetype2/freetype/ftsystem.h +1 -1
  49. package/include/freetype2/freetype/fttrigon.h +1 -1
  50. package/include/freetype2/freetype/fttypes.h +1 -1
  51. package/include/freetype2/freetype/ftwinfnt.h +2 -3
  52. package/include/freetype2/freetype/otsvg.h +1 -1
  53. package/include/freetype2/freetype/t1tables.h +1 -1
  54. package/include/freetype2/freetype/ttnameid.h +129 -129
  55. package/include/freetype2/freetype/tttables.h +8 -5
  56. package/include/freetype2/freetype/tttags.h +1 -1
  57. package/include/freetype2/ft2build.h +1 -1
  58. package/include/glib-2.0/gio/gdbuserror.h +9 -8
  59. package/include/glib-2.0/gio/ginetaddress.h +12 -0
  60. package/include/glib-2.0/gio/gioenums.h +9 -2
  61. package/include/glib-2.0/glib/gstring.h +2 -2
  62. package/include/glib-2.0/glib/gunicode.h +1 -1
  63. package/include/glib-2.0/gobject/glib-types.h +1 -1
  64. package/include/glib-2.0/gobject/gparam.h +1 -1
  65. package/include/glib-2.0/gobject/gvalue.h +78 -35
  66. package/include/harfbuzz/hb-script-list.h +12 -0
  67. package/include/harfbuzz/hb-version.h +3 -3
  68. package/include/hwy/abort.h +2 -19
  69. package/include/hwy/aligned_allocator.h +11 -7
  70. package/include/hwy/auto_tune.h +504 -0
  71. package/include/hwy/base.h +425 -104
  72. package/include/hwy/cache_control.h +16 -0
  73. package/include/hwy/detect_compiler_arch.h +32 -1
  74. package/include/hwy/detect_targets.h +251 -67
  75. package/include/hwy/foreach_target.h +35 -0
  76. package/include/hwy/highway.h +185 -76
  77. package/include/hwy/nanobenchmark.h +1 -19
  78. package/include/hwy/ops/arm_neon-inl.h +969 -458
  79. package/include/hwy/ops/arm_sve-inl.h +1137 -359
  80. package/include/hwy/ops/emu128-inl.h +97 -11
  81. package/include/hwy/ops/generic_ops-inl.h +1222 -34
  82. package/include/hwy/ops/loongarch_lasx-inl.h +4664 -0
  83. package/include/hwy/ops/loongarch_lsx-inl.h +5933 -0
  84. package/include/hwy/ops/ppc_vsx-inl.h +306 -126
  85. package/include/hwy/ops/rvv-inl.h +546 -51
  86. package/include/hwy/ops/scalar-inl.h +77 -22
  87. package/include/hwy/ops/set_macros-inl.h +138 -17
  88. package/include/hwy/ops/shared-inl.h +50 -10
  89. package/include/hwy/ops/wasm_128-inl.h +137 -92
  90. package/include/hwy/ops/x86_128-inl.h +773 -214
  91. package/include/hwy/ops/x86_256-inl.h +712 -255
  92. package/include/hwy/ops/x86_512-inl.h +429 -753
  93. package/include/hwy/ops/x86_avx3-inl.h +501 -0
  94. package/include/hwy/per_target.h +2 -1
  95. package/include/hwy/profiler.h +622 -486
  96. package/include/hwy/targets.h +62 -20
  97. package/include/hwy/timer-inl.h +8 -160
  98. package/include/hwy/timer.h +170 -3
  99. package/include/hwy/x86_cpuid.h +81 -0
  100. package/include/libheif/heif_cxx.h +25 -5
  101. package/include/libheif/heif_regions.h +5 -5
  102. package/include/libheif/heif_version.h +2 -2
  103. package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
  104. package/include/libxml2/libxml/valid.h +0 -3
  105. package/include/libxml2/libxml/xmlerror.h +1 -1
  106. package/include/libxml2/libxml/xmlversion.h +4 -4
  107. package/include/pango-1.0/pango/pango-enum-types.h +3 -0
  108. package/include/pango-1.0/pango/pango-features.h +3 -3
  109. package/include/pango-1.0/pango/pango-font.h +30 -0
  110. package/include/pango-1.0/pango/pango-version-macros.h +26 -0
  111. package/include/vips/connection.h +4 -4
  112. package/include/vips/version.h +4 -4
  113. package/include/zlib.h +3 -3
  114. package/package.json +1 -1
  115. package/versions.json +13 -13
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType high-level API and common types (specification only).
6
6
  *
7
- * Copyright (C) 1996-2024 by
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://www.microsoft.com/typography/otspec/recom.htm#non-standard-symbol-fonts',
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 variation
1072
- * fonts only, holding the named instance index for the current face
1073
- * index (starting with value~1; value~0 indicates font access without
1074
- * a named instance). For non-variation fonts, bits 16-30 are ignored.
1075
- * If we have the third named instance of face~4, say, `face_index` is
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 variation
1096
- * (sub)font. Bit 31 is always zero (that is, `style_flags` is always
1097
- * a positive value). Note that a variation font has always at least
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 variation fonts
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 an OpenType variation font, the values of the following fields can
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 variation fonts.
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 variation font.
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 variation fonts for a selected instance are internally
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 variation
2644
- * fonts only, specifying the named instance index for the current face
2645
- * index (starting with value~1; value~0 makes FreeType ignore named
2646
- * instances). For non-variation fonts, bits 16-30 are ignored.
2647
- * Assuming that you want to access the third named instance in face~4,
2648
- * `face_index` should be set to 0x00030004. If you want to access
2649
- * face~4 without variation handling, simply set `face_index` to
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 variation fonts, a bitmap strike makes sense only
2918
- * if the default instance is active (that is, no glyph variation takes
2919
- * place); otherwise, FreeType simply ignores bitmap strikes. The same
2920
- * is true for all named instances that are different from the default
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://www.freetype.org/freetype2/docs/glyphs/glyphs-2.html'.
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 (or glyphs in 'COLR' v1 tables that exclusively use v0
3445
- * features). For full control of color layers use
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/ and
3899
- * https://bel.fi/alankila/lcd/alpcor.html for details.
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 from both
3997
- * the 'kern' table and the basic, pair-wise kerning feature from the
3998
- * GPOS table (with `TT_CONFIG_OPTION_GPOS_KERNING` enabled), though
3999
- * FreeType does not support the more advanced GPOS layout features; use
4000
- * a library like HarfBuzz for those instead. If a font has both a
4001
- * 'kern' table and kern features of a GPOS table, the 'kern' table will
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://docs.microsoft.com/en-us/typography/opentype/spec/glyf#composite-glyph-description
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://docs.microsoft.com/en-us/typography/opentype/spec/glyf#composite-glyph-description
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://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/FontPolicies.pdf
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 13
5177
- #define FREETYPE_PATCH 3
5180
+ #define FREETYPE_MINOR 14
5181
+ #define FREETYPE_PATCH 1
5178
5182
 
5179
5183
 
5180
5184
  /**************************************************************************
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Quick computation of advance widths (specification only).
6
6
  *
7
- * Copyright (C) 2008-2024 by
7
+ * Copyright (C) 2008-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,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType exact bbox computation (specification).
6
6
  *
7
- * Copyright (C) 1996-2024 by
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,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for accessing BDF-specific strings (specification).
6
6
  *
7
- * Copyright (C) 2002-2024 by
7
+ * Copyright (C) 2002-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,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType utility functions for bitmaps (specification).
6
6
  *
7
- * Copyright (C) 2004-2024 by
7
+ * Copyright (C) 2004-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,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Bzip2-compressed stream support.
6
6
  *
7
- * Copyright (C) 2010-2024 by
7
+ * Copyright (C) 2010-2025 by
8
8
  * Joel Klinghed.
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 Cache subsystem (specification).
6
6
  *
7
- * Copyright (C) 1996-2024 by
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,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for accessing CID font information (specification).
6
6
  *
7
- * Copyright (C) 2007-2024 by
7
+ * Copyright (C) 2007-2025 by
8
8
  * Dereg Clegg and Michael Toftdal.
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's glyph color management (specification).
6
6
  *
7
- * Copyright (C) 2018-2024 by
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://docs.microsoft.com/en-us/typography/opentype/spec/colr
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
- * occured, value~0 is returned.
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 occured.
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-2024 by
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://www.microsoft.com/typography/cleartype/truetypecleartype.aspx.
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://www.microsoft.com/typography/cleartype/truetypecleartype.aspx'.
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
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType error codes (specification).
6
6
  *
7
- * Copyright (C) 2002-2024 by
7
+ * Copyright (C) 2002-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,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType error code handling (specification).
6
6
  *
7
- * Copyright (C) 1996-2024 by
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,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Support functions for font formats.
6
6
  *
7
- * Copyright (C) 2002-2024 by
7
+ * Copyright (C) 2002-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,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Access of TrueType's 'gasp' table (specification).
6
6
  *
7
- * Copyright (C) 2007-2024 by
7
+ * Copyright (C) 2007-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,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType convenience functions to handle glyphs (specification).
6
6
  *
7
- * Copyright (C) 1996-2024 by
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,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for validating TrueTypeGX/AAT tables (specification).
6
6
  *
7
- * Copyright (C) 2004-2024 by
7
+ * Copyright (C) 2004-2025 by
8
8
  * Masatake YAMATO, Redhat K.K,
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Gzip-compressed stream support.
6
6
  *
7
- * Copyright (C) 2002-2024 by
7
+ * Copyright (C) 2002-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,
@@ -5,7 +5,7 @@
5
5
  * FreeType glyph image formats and default raster interface
6
6
  * (specification).
7
7
  *
8
- * Copyright (C) 1996-2024 by
8
+ * Copyright (C) 1996-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,
@@ -267,6 +267,10 @@ FT_BEGIN_HEADER
267
267
  * *logical* one. For example, if @FT_Pixel_Mode is set to
268
268
  * `FT_PIXEL_MODE_LCD`, the logical width is a just a third of the
269
269
  * physical one.
270
+ *
271
+ * An empty bitmap with a NULL `buffer` is valid, with `rows` and/or
272
+ * `pitch` also set to 0. Such bitmaps might be produced while rendering
273
+ * empty or degenerate outlines.
270
274
  */
271
275
  typedef struct FT_Bitmap_
272
276
  {
@@ -439,7 +443,7 @@ FT_BEGIN_HEADER
439
443
  * rasterizer; see the `tags` field in @FT_Outline.
440
444
  *
441
445
  * Please refer to the description of the 'SCANTYPE' instruction in the
442
- * [OpenType specification](https://learn.microsoft.com/en-us/typography/opentype/spec/tt_instructions#scantype)
446
+ * [OpenType specification](https://learn.microsoft.com/typography/opentype/spec/tt_instructions#scantype)
443
447
  * how simple drop-outs, smart drop-outs, and stubs are defined.
444
448
  */
445
449
  #define FT_OUTLINE_NONE 0x0
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType incremental loading (specification).
6
6
  *
7
- * Copyright (C) 2002-2024 by
7
+ * Copyright (C) 2002-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,
@@ -5,7 +5,7 @@
5
5
  * FreeType API for color filtering of subpixel bitmap glyphs
6
6
  * (specification).
7
7
  *
8
- * Copyright (C) 2006-2024 by
8
+ * Copyright (C) 2006-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
  * Generic list support for FreeType (specification).
6
6
  *
7
- * Copyright (C) 1996-2024 by
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,