@img/sharp-libvips-dev 1.3.0-rc.2 → 1.3.0-rc.4

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 (129) hide show
  1. package/include/archive.h +2 -2
  2. package/include/archive_entry.h +1 -1
  3. package/include/expat.h +2 -2
  4. package/include/expat_config.h +3 -6
  5. package/include/expat_external.h +2 -3
  6. package/include/freetype2/freetype/config/ftconfig.h +1 -1
  7. package/include/freetype2/freetype/config/ftheader.h +1 -1
  8. package/include/freetype2/freetype/config/ftoption.h +8 -2
  9. package/include/freetype2/freetype/config/ftstdlib.h +1 -1
  10. package/include/freetype2/freetype/config/integer-types.h +1 -1
  11. package/include/freetype2/freetype/config/mac-support.h +3 -1
  12. package/include/freetype2/freetype/config/public-macros.h +1 -1
  13. package/include/freetype2/freetype/freetype.h +9 -18
  14. package/include/freetype2/freetype/ftadvanc.h +1 -1
  15. package/include/freetype2/freetype/ftbbox.h +1 -1
  16. package/include/freetype2/freetype/ftbdf.h +10 -4
  17. package/include/freetype2/freetype/ftbitmap.h +1 -1
  18. package/include/freetype2/freetype/ftbzip2.h +1 -1
  19. package/include/freetype2/freetype/ftcache.h +1 -1
  20. package/include/freetype2/freetype/ftcid.h +1 -1
  21. package/include/freetype2/freetype/ftcolor.h +1 -1
  22. package/include/freetype2/freetype/ftdriver.h +1 -1
  23. package/include/freetype2/freetype/fterrdef.h +1 -1
  24. package/include/freetype2/freetype/fterrors.h +1 -1
  25. package/include/freetype2/freetype/ftfntfmt.h +1 -1
  26. package/include/freetype2/freetype/ftgasp.h +1 -1
  27. package/include/freetype2/freetype/ftglyph.h +1 -1
  28. package/include/freetype2/freetype/ftgxval.h +1 -1
  29. package/include/freetype2/freetype/ftgzip.h +1 -1
  30. package/include/freetype2/freetype/ftimage.h +2 -2
  31. package/include/freetype2/freetype/ftincrem.h +1 -1
  32. package/include/freetype2/freetype/ftlcdfil.h +3 -9
  33. package/include/freetype2/freetype/ftlist.h +1 -1
  34. package/include/freetype2/freetype/ftlogging.h +1 -1
  35. package/include/freetype2/freetype/ftlzw.h +1 -1
  36. package/include/freetype2/freetype/ftmac.h +1 -1
  37. package/include/freetype2/freetype/ftmm.h +1 -1
  38. package/include/freetype2/freetype/ftmodapi.h +1 -1
  39. package/include/freetype2/freetype/ftmoderr.h +1 -1
  40. package/include/freetype2/freetype/ftotval.h +1 -1
  41. package/include/freetype2/freetype/ftoutln.h +1 -1
  42. package/include/freetype2/freetype/ftparams.h +3 -6
  43. package/include/freetype2/freetype/ftpfr.h +1 -1
  44. package/include/freetype2/freetype/ftrender.h +1 -1
  45. package/include/freetype2/freetype/ftsizes.h +1 -1
  46. package/include/freetype2/freetype/ftsnames.h +1 -1
  47. package/include/freetype2/freetype/ftstroke.h +1 -1
  48. package/include/freetype2/freetype/ftsynth.h +1 -1
  49. package/include/freetype2/freetype/ftsystem.h +1 -1
  50. package/include/freetype2/freetype/fttrigon.h +1 -1
  51. package/include/freetype2/freetype/fttypes.h +1 -1
  52. package/include/freetype2/freetype/ftwinfnt.h +1 -1
  53. package/include/freetype2/freetype/otsvg.h +1 -1
  54. package/include/freetype2/freetype/t1tables.h +3 -3
  55. package/include/freetype2/freetype/ttnameid.h +2 -2
  56. package/include/freetype2/freetype/tttables.h +1 -1
  57. package/include/freetype2/freetype/tttags.h +1 -1
  58. package/include/freetype2/ft2build.h +1 -1
  59. package/include/glib-2.0/gio/gfileattribute.h +1 -1
  60. package/include/glib-2.0/gio/gfileinfo.h +5 -0
  61. package/include/glib-2.0/gio/gicon.h +1 -1
  62. package/include/glib-2.0/gio/gio-autocleanups.h +0 -1
  63. package/include/glib-2.0/gio/gio.h +2 -0
  64. package/include/glib-2.0/gio/gioenums.h +61 -40
  65. package/include/glib-2.0/gio/gioenumtypes.h +2 -0
  66. package/include/glib-2.0/gio/giptosmessage.h +46 -0
  67. package/include/glib-2.0/gio/gipv6tclassmessage.h +46 -0
  68. package/include/glib-2.0/gio/gresolver.h +1 -1
  69. package/include/glib-2.0/gio/gsettings.h +1 -1
  70. package/include/glib-2.0/gio/gsocketcontrolmessage.h +2 -0
  71. package/include/glib-2.0/girepository/girepository.h +1 -1
  72. package/include/glib-2.0/girepository/girffi.h +2 -2
  73. package/include/glib-2.0/girepository/gitypes.h +3 -3
  74. package/include/glib-2.0/glib/gatomic.h +26 -2
  75. package/include/glib-2.0/glib/gfileutils.h +2 -2
  76. package/include/glib-2.0/glib/ghook.h +3 -1
  77. package/include/glib-2.0/glib/giochannel.h +1 -1
  78. package/include/glib-2.0/glib/gkeyfile.h +1 -1
  79. package/include/glib-2.0/glib/gmacros.h +32 -0
  80. package/include/glib-2.0/glib/gmain.h +4 -0
  81. package/include/glib-2.0/glib/gmarkup.h +8 -1
  82. package/include/glib-2.0/glib/gmessages.h +1 -1
  83. package/include/glib-2.0/glib/gnode.h +1 -1
  84. package/include/glib-2.0/glib/goption.h +1 -1
  85. package/include/glib-2.0/glib/gslice.h +12 -4
  86. package/include/glib-2.0/glib/gspawn.h +1 -1
  87. package/include/glib-2.0/glib/gstrfuncs.h +1 -1
  88. package/include/glib-2.0/glib/gtestutils.h +6 -3
  89. package/include/glib-2.0/glib/gtimer.h +1 -0
  90. package/include/glib-2.0/glib/guri.h +3 -3
  91. package/include/glib-2.0/glib/gutils.h +1 -1
  92. package/include/glib-2.0/gmodule.h +1 -1
  93. package/include/glib-2.0/gobject/gbinding.h +1 -1
  94. package/include/glib-2.0/gobject/gobject.h +1 -1
  95. package/include/glib-2.0/gobject/gparam.h +1 -1
  96. package/include/glib-2.0/gobject/gsignal.h +3 -3
  97. package/include/glib-2.0/gobject/gtype.h +3 -3
  98. package/include/harfbuzz/hb-buffer.h +11 -3
  99. package/include/harfbuzz/hb-cplusplus.hh +31 -27
  100. package/include/harfbuzz/hb-features.h +28 -0
  101. package/include/harfbuzz/hb-ot-color.h +14 -0
  102. package/include/harfbuzz/hb-ot-shape.h +15 -0
  103. package/include/harfbuzz/hb-paint.h +19 -18
  104. package/include/harfbuzz/hb-version.h +3 -3
  105. package/include/lcms2.h +3 -3
  106. package/include/lcms2_plugin.h +1 -1
  107. package/include/libheif/heif_sequences.h +1 -1
  108. package/include/libheif/heif_version.h +2 -2
  109. package/include/libpng16/png.h +637 -488
  110. package/include/libpng16/pngconf.h +2 -2
  111. package/include/libpng16/pnglibconf.h +2 -2
  112. package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
  113. package/include/librsvg-2.0/librsvg/rsvg.h +4 -4
  114. package/include/libxml2/libxml/catalog.h +2 -0
  115. package/include/libxml2/libxml/relaxng.h +4 -0
  116. package/include/libxml2/libxml/xmlversion.h +4 -4
  117. package/include/pango-1.0/pango/pango-features.h +2 -2
  118. package/include/pango-1.0/pango/pango-script.h +2 -0
  119. package/include/png.h +637 -488
  120. package/include/pngconf.h +2 -2
  121. package/include/pnglibconf.h +2 -2
  122. package/include/vips/colour.h +2 -2
  123. package/include/vips/memory.h +1 -1
  124. package/include/vips/version.h +4 -4
  125. package/include/zlib.h +3 -3
  126. package/package.json +1 -1
  127. package/versions.json +16 -16
  128. package/include/harfbuzz/hb-subset-serialize.h +0 -83
  129. package/include/harfbuzz/hb-subset.h +0 -297
@@ -138,52 +138,56 @@ struct vtable_t
138
138
  static constexpr auto get_user_data = _get_user_data;
139
139
  };
140
140
 
141
- #define HB_DEFINE_VTABLE(name) \
141
+ #define HB_DEFINE_VTABLE(name, empty) \
142
142
  template<> \
143
143
  struct vtable<hb_##name##_t> \
144
144
  : vtable_t<hb_##name##_t, \
145
- &hb_##name##_get_empty, \
145
+ empty, \
146
146
  &hb_##name##_reference, \
147
147
  &hb_##name##_destroy, \
148
148
  &hb_##name##_set_user_data, \
149
149
  &hb_##name##_get_user_data> {}
150
150
 
151
- HB_DEFINE_VTABLE (buffer);
152
- HB_DEFINE_VTABLE (blob);
153
- HB_DEFINE_VTABLE (face);
154
- HB_DEFINE_VTABLE (font);
155
- HB_DEFINE_VTABLE (font_funcs);
156
- HB_DEFINE_VTABLE (map);
157
- HB_DEFINE_VTABLE (set);
158
- HB_DEFINE_VTABLE (shape_plan);
159
- HB_DEFINE_VTABLE (unicode_funcs);
160
- HB_DEFINE_VTABLE (draw_funcs);
161
- HB_DEFINE_VTABLE (paint_funcs);
162
-
163
- #undef HB_DEFINE_VTABLE
151
+ HB_DEFINE_VTABLE (buffer, &hb_buffer_get_empty);
152
+ HB_DEFINE_VTABLE (blob, &hb_blob_get_empty);
153
+ HB_DEFINE_VTABLE (face, &hb_face_get_empty);
154
+ HB_DEFINE_VTABLE (font, &hb_font_get_empty);
155
+ HB_DEFINE_VTABLE (font_funcs, &hb_font_funcs_get_empty);
156
+ HB_DEFINE_VTABLE (map, &hb_map_get_empty);
157
+ HB_DEFINE_VTABLE (set, &hb_set_get_empty);
158
+ HB_DEFINE_VTABLE (shape_plan, &hb_shape_plan_get_empty);
159
+ HB_DEFINE_VTABLE (unicode_funcs, &hb_unicode_funcs_get_empty);
160
+ HB_DEFINE_VTABLE (draw_funcs, &hb_draw_funcs_get_empty);
161
+ HB_DEFINE_VTABLE (paint_funcs, &hb_paint_funcs_get_empty);
164
162
 
165
163
 
166
164
  #ifdef HB_SUBSET_H
167
165
 
168
- #define HB_DEFINE_VTABLE(name) \
169
- template<> \
170
- struct vtable<hb_##name##_t> \
171
- : vtable_t<hb_##name##_t, \
172
- nullptr, \
173
- &hb_##name##_reference, \
174
- &hb_##name##_destroy, \
175
- &hb_##name##_set_user_data, \
176
- &hb_##name##_get_user_data> {}
166
+ HB_DEFINE_VTABLE (subset_input, nullptr);
167
+ HB_DEFINE_VTABLE (subset_plan, nullptr);
177
168
 
169
+ #endif
178
170
 
179
- HB_DEFINE_VTABLE (subset_input);
180
- HB_DEFINE_VTABLE (subset_plan);
181
171
 
182
- #undef HB_DEFINE_VTABLE
172
+ #ifdef HB_RASTER_H
173
+
174
+ HB_DEFINE_VTABLE (raster_image, nullptr);
175
+ HB_DEFINE_VTABLE (raster_draw, nullptr);
176
+ HB_DEFINE_VTABLE (raster_paint, nullptr);
183
177
 
184
178
  #endif
185
179
 
186
180
 
181
+ #ifdef HB_VECTOR_H
182
+
183
+ HB_DEFINE_VTABLE (vector_draw, nullptr);
184
+ HB_DEFINE_VTABLE (vector_paint, nullptr);
185
+
186
+ #endif
187
+
188
+ #undef HB_DEFINE_VTABLE
189
+
190
+
187
191
  } // namespace hb
188
192
 
189
193
  /* Workaround for GCC < 7, see:
@@ -92,6 +92,13 @@ HB_BEGIN_DECLS
92
92
  */
93
93
  #undef HB_HAS_GRAPHITE
94
94
 
95
+ /**
96
+ * HB_HAS_GPU:
97
+ *
98
+ * Defined if Harfbuzz has been built with the GPU library.
99
+ */
100
+ #undef HB_HAS_GPU
101
+
95
102
  /**
96
103
  * HB_HAS_ICU:
97
104
  *
@@ -99,6 +106,20 @@ HB_BEGIN_DECLS
99
106
  */
100
107
  #undef HB_HAS_ICU
101
108
 
109
+ /**
110
+ * HB_HAS_RASTER:
111
+ *
112
+ * Defined if Harfbuzz has been built with the raster library.
113
+ */
114
+ #undef HB_HAS_RASTER
115
+
116
+ /**
117
+ * HB_HAS_SUBSET:
118
+ *
119
+ * Defined if Harfbuzz has been built with the subset library.
120
+ */
121
+ #undef HB_HAS_SUBSET
122
+
102
123
  /**
103
124
  * HB_HAS_UNISCRIBE:
104
125
  *
@@ -106,6 +127,13 @@ HB_BEGIN_DECLS
106
127
  */
107
128
  #undef HB_HAS_UNISCRIBE
108
129
 
130
+ /**
131
+ * HB_HAS_VECTOR:
132
+ *
133
+ * Defined if Harfbuzz has been built with the vector library.
134
+ */
135
+ #undef HB_HAS_VECTOR
136
+
109
137
  /**
110
138
  * HB_HAS_WASM:
111
139
  *
@@ -136,6 +136,20 @@ hb_ot_color_glyph_has_paint (hb_face_t *face,
136
136
  HB_EXTERN hb_bool_t
137
137
  hb_ot_color_has_svg (hb_face_t *face);
138
138
 
139
+ HB_EXTERN unsigned int
140
+ hb_ot_color_get_svg_document_count (hb_face_t *face);
141
+
142
+ HB_EXTERN hb_bool_t
143
+ hb_ot_color_glyph_get_svg_document_index (hb_face_t *face,
144
+ hb_codepoint_t glyph,
145
+ unsigned int *svg_document_index /* OUT */);
146
+
147
+ HB_EXTERN hb_bool_t
148
+ hb_ot_color_get_svg_document_glyph_range (hb_face_t *face,
149
+ unsigned int svg_document_index,
150
+ hb_codepoint_t *start_glyph_id, /* OUT */
151
+ hb_codepoint_t *end_glyph_id /* OUT */);
152
+
139
153
  HB_EXTERN hb_blob_t *
140
154
  hb_ot_color_glyph_reference_svg (hb_face_t *face, hb_codepoint_t glyph);
141
155
 
@@ -54,6 +54,21 @@ hb_ot_shape_plan_get_feature_tags (hb_shape_plan_t *shape_plan,
54
54
  unsigned int *tag_count, /* IN/OUT */
55
55
  hb_tag_t *tags /* OUT */);
56
56
 
57
+ /**
58
+ * HB_OT_SHAPE_BUFFER_FORMAT_SERIAL:
59
+ *
60
+ * The serial number of the current internal buffer format.
61
+ *
62
+ * The serial number will increase when internal #hb_glyph_info_t and
63
+ * #hb_glyph_position_t members change their format.
64
+ *
65
+ * Since: 13.2.0
66
+ */
67
+ #define HB_OT_SHAPE_BUFFER_FORMAT_SERIAL 1
68
+
69
+ HB_EXTERN unsigned int
70
+ hb_ot_shape_get_buffer_format_serial (void);
71
+
57
72
  HB_END_DECLS
58
73
 
59
74
  #endif /* HB_OT_SHAPE_H */
@@ -684,23 +684,24 @@ typedef void (*hb_paint_pop_group_func_t) (hb_paint_funcs_t *funcs,
684
684
 
685
685
  /**
686
686
  * hb_paint_custom_palette_color_func_t:
687
- * @funcs: paint functions object
688
- * @paint_data: The data accompanying the paint functions in hb_font_paint_glyph()
689
- * @color_index: the color index
690
- * @color: (out): fetched color
691
- * @user_data: User data pointer passed to hb_paint_funcs_set_pop_group_func()
687
+ * @funcs: paint functions object.
688
+ * @paint_data: data accompanying the paint functions in hb_font_paint_glyph().
689
+ * @color_index: color index to fetch.
690
+ * @color: (out): fetched color.
691
+ * @user_data: user data pointer passed to hb_paint_funcs_set_custom_palette_color_func().
692
692
  *
693
- * A virtual method for the #hb_paint_funcs_t to fetch a color from the custom
694
- * color palette.
693
+ * A virtual method for #hb_paint_funcs_t to fetch a custom palette override
694
+ * color for @color_index.
695
695
  *
696
- * Custom palette colors override the colors from the fonts selected color
697
- * palette. It is not necessary to override all palette entries; for entries
698
- * that should be taken from the font palette, return `false`.
696
+ * Custom palette colors override colors from the font's selected color palette.
697
+ * It is not necessary to override all palette entries; return `false` for
698
+ * entries that should be taken from the font palette.
699
699
  *
700
- * This function might get called multiple times, but the custom palette is
701
- * expected to remain unchanged for duration of a hb_font_paint_glyph() call.
700
+ * This function might be called multiple times, but the custom palette is
701
+ * expected to remain unchanged for the duration of one
702
+ * hb_font_paint_glyph() call.
702
703
  *
703
- * Return value: `true` if found, `false` otherwise
704
+ * Return value: `true` if a custom color is provided, `false` otherwise.
704
705
  *
705
706
  * Since: 7.0.0
706
707
  */
@@ -934,12 +935,12 @@ hb_paint_funcs_set_pop_group_func (hb_paint_funcs_t *funcs,
934
935
 
935
936
  /**
936
937
  * hb_paint_funcs_set_custom_palette_color_func:
937
- * @funcs: A paint functions struct
938
- * @func: (closure user_data) (destroy destroy) (scope notified): The custom-palette-color callback
939
- * @user_data: Data to pass to @func
940
- * @destroy: (nullable): Function to call when @user_data is no longer needed
938
+ * @funcs: a paint functions struct.
939
+ * @func: (closure user_data) (destroy destroy) (scope notified): custom-palette-color callback.
940
+ * @user_data: data to pass to @func.
941
+ * @destroy: (nullable): function to call when @user_data is no longer needed.
941
942
  *
942
- * Sets the custom-palette-color callback on the paint functions struct.
943
+ * Sets the custom-palette-color callback on @funcs.
943
944
  *
944
945
  * Since: 7.0.0
945
946
  */
@@ -41,13 +41,13 @@ HB_BEGIN_DECLS
41
41
  *
42
42
  * The major component of the library version available at compile-time.
43
43
  */
44
- #define HB_VERSION_MAJOR 12
44
+ #define HB_VERSION_MAJOR 14
45
45
  /**
46
46
  * HB_VERSION_MINOR:
47
47
  *
48
48
  * The minor component of the library version available at compile-time.
49
49
  */
50
- #define HB_VERSION_MINOR 3
50
+ #define HB_VERSION_MINOR 0
51
51
  /**
52
52
  * HB_VERSION_MICRO:
53
53
  *
@@ -60,7 +60,7 @@ HB_BEGIN_DECLS
60
60
  *
61
61
  * A string literal containing the library version available at compile-time.
62
62
  */
63
- #define HB_VERSION_STRING "12.3.0"
63
+ #define HB_VERSION_STRING "14.0.0"
64
64
 
65
65
  /**
66
66
  * HB_VERSION_ATLEAST:
package/include/lcms2.h CHANGED
@@ -1,7 +1,7 @@
1
1
  //---------------------------------------------------------------------------------
2
2
  //
3
3
  // Little Color Management System
4
- // Copyright (c) 1998-2025 Marti Maria Saguer
4
+ // Copyright (c) 1998-2026 Marti Maria Saguer
5
5
  //
6
6
  // Permission is hereby granted, free of charge, to any person obtaining
7
7
  // a copy of this software and associated documentation files (the "Software"),
@@ -23,7 +23,7 @@
23
23
  //
24
24
  //---------------------------------------------------------------------------------
25
25
  //
26
- // Version 2.17
26
+ // Version 2.18
27
27
  //
28
28
 
29
29
  #ifndef _lcms2_H
@@ -87,7 +87,7 @@ extern "C" {
87
87
  #endif
88
88
 
89
89
  // Version/release
90
- #define LCMS_VERSION 2170
90
+ #define LCMS_VERSION 2180
91
91
 
92
92
  // I will give the chance of redefining basic types for compilers that are not fully C99 compliant
93
93
  #ifndef CMS_BASIC_TYPES_ALREADY_DEFINED
@@ -1,7 +1,7 @@
1
1
  //---------------------------------------------------------------------------------
2
2
  //
3
3
  // Little Color Management System
4
- // Copyright (c) 1998-2024 Marti Maria Saguer
4
+ // Copyright (c) 1998-2026 Marti Maria Saguer
5
5
  //
6
6
  // Permission is hereby granted, free of charge, to any person obtaining
7
7
  // a copy of this software and associated documentation files (the "Software"),
@@ -137,7 +137,7 @@ enum heif_auxiliary_track_info_type
137
137
  };
138
138
 
139
139
  LIBHEIF_API
140
- heif_auxiliary_track_info_type heif_track_get_auxiliary_info_type(const heif_track*);
140
+ enum heif_auxiliary_track_info_type heif_track_get_auxiliary_info_type(const heif_track*);
141
141
 
142
142
  LIBHEIF_API
143
143
  const char* heif_track_get_auxiliary_info_type_urn(const heif_track*);
@@ -28,10 +28,10 @@
28
28
  #define LIBHEIF_HEIF_VERSION_H
29
29
 
30
30
  /* Numeric representation of the version */
31
- #define LIBHEIF_NUMERIC_VERSION ((1<<24) | (21<<16) | (1<<8) | 0)
31
+ #define LIBHEIF_NUMERIC_VERSION ((1<<24) | (21<<16) | (2<<8) | 0)
32
32
 
33
33
  /* Version string */
34
- #define LIBHEIF_VERSION "1.21.1"
34
+ #define LIBHEIF_VERSION "1.21.2"
35
35
 
36
36
  #define LIBHEIF_PLUGIN_DIRECTORY "/target/lib/libheif"
37
37