@revizly/sharp-libvips-dev 1.0.41 → 1.0.43

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 (33) hide show
  1. package/include/expat.h +1 -1
  2. package/include/expat_config.h +4 -4
  3. package/include/glib-2.0/glib/gmem.h +1 -1
  4. package/include/libheif/heif_cxx.h +100 -0
  5. package/include/libheif/heif_decoding.h +3 -0
  6. package/include/libheif/heif_export.h +2 -1
  7. package/include/libheif/heif_image_handle.h +9 -0
  8. package/include/libheif/heif_version.h +2 -2
  9. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  10. package/include/pango-1.0/pango/pango-attributes.h +4 -0
  11. package/include/pango-1.0/pango/pango-color.h +1 -0
  12. package/include/pango-1.0/pango/pango-context.h +2 -0
  13. package/include/pango-1.0/pango/pango-enum-types.h +6 -0
  14. package/include/pango-1.0/pango/pango-features.h +3 -3
  15. package/include/pango-1.0/pango/pango-font.h +53 -1
  16. package/include/pango-1.0/pango/pango-fontset-simple.h +1 -0
  17. package/include/pango-1.0/pango/pango-fontset.h +1 -0
  18. package/include/pango-1.0/pango/pango-glyph-item.h +3 -0
  19. package/include/pango-1.0/pango/pango-glyph.h +1 -0
  20. package/include/pango-1.0/pango/pango-item.h +2 -0
  21. package/include/pango-1.0/pango/pango-layout.h +2 -0
  22. package/include/pango-1.0/pango/pango-matrix.h +1 -0
  23. package/include/pango-1.0/pango/pango-ot.h +5 -0
  24. package/include/pango-1.0/pango/pango-renderer.h +54 -1
  25. package/include/pango-1.0/pango/pango-version-macros.h +26 -0
  26. package/include/pango-1.0/pango/pangocairo.h +7 -0
  27. package/include/pango-1.0/pango/pangofc-decoder.h +2 -0
  28. package/include/pango-1.0/pango/pangofc-font.h +1 -0
  29. package/include/pango-1.0/pango/pangofc-fontmap.h +2 -0
  30. package/include/pango-1.0/pango/pangoft2.h +2 -0
  31. package/include/tiffvers.h +4 -4
  32. package/package.json +1 -1
  33. package/versions.json +6 -6
package/include/expat.h CHANGED
@@ -1094,7 +1094,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1094
1094
  */
1095
1095
  # define XML_MAJOR_VERSION 2
1096
1096
  # define XML_MINOR_VERSION 8
1097
- # define XML_MICRO_VERSION 1
1097
+ # define XML_MICRO_VERSION 2
1098
1098
 
1099
1099
  # ifdef __cplusplus
1100
1100
  }
@@ -83,7 +83,7 @@
83
83
  #define PACKAGE_NAME "expat"
84
84
 
85
85
  /* Define to the full name and version of this package. */
86
- #define PACKAGE_STRING "expat 2.8.1"
86
+ #define PACKAGE_STRING "expat 2.8.2"
87
87
 
88
88
  /* Define to the one symbol short name of this package. */
89
89
  #define PACKAGE_TARNAME "expat"
@@ -92,7 +92,7 @@
92
92
  #define PACKAGE_URL ""
93
93
 
94
94
  /* Define to the version of this package. */
95
- #define PACKAGE_VERSION "2.8.1"
95
+ #define PACKAGE_VERSION "2.8.2"
96
96
 
97
97
  /* Define to 1 if all of the C89 standard headers exist (not just the ones
98
98
  required in a freestanding environment). This macro is provided for
@@ -100,7 +100,7 @@
100
100
  #define STDC_HEADERS 1
101
101
 
102
102
  /* Version number of package */
103
- #define VERSION "2.8.1"
103
+ #define VERSION "2.8.2"
104
104
 
105
105
  /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
106
106
  significant byte first (like Motorola and SPARC, unlike Intel). */
@@ -123,7 +123,7 @@
123
123
  #define XML_CONTEXT_BYTES 1024
124
124
 
125
125
  /* Define to include code reading entropy from `/dev/urandom'. */
126
- #define XML_DEV_URANDOM 1
126
+ /* #undef XML_DEV_URANDOM */
127
127
 
128
128
  /* Define to make parameter entity parsing functionality available. */
129
129
  #define XML_DTD 1
@@ -355,7 +355,7 @@ g_steal_pointer (gpointer pp)
355
355
  * Attempts to allocate @n_structs elements of type @struct_type, and returns
356
356
  * %NULL on failure. Contrast with g_new(), which aborts the program on failure.
357
357
  * The returned pointer is cast to a pointer to the given type.
358
- * The function returns %NULL when @n_structs is 0 of if an overflow occurs.
358
+ * The function returns %NULL when @n_structs is 0 or if an overflow occurs.
359
359
  *
360
360
  * Since: 2.8
361
361
  * Returns: a pointer to the allocated memory, cast to a pointer to @struct_type
@@ -232,6 +232,22 @@ namespace heif {
232
232
 
233
233
  int get_ispe_height() const noexcept;
234
234
 
235
+ // ------------------------- HDR metadata -------------------------
236
+
237
+ bool has_content_light_level() const noexcept;
238
+
239
+ // Returns a zero-initialized struct if the image has no such information.
240
+ heif_content_light_level get_content_light_level() const noexcept;
241
+
242
+ void set_content_light_level(const heif_content_light_level&) noexcept;
243
+
244
+ bool has_mastering_display_colour_volume() const noexcept;
245
+
246
+ // Returns a zero-initialized struct if the image has no such information.
247
+ heif_mastering_display_colour_volume get_mastering_display_colour_volume() const noexcept;
248
+
249
+ void set_mastering_display_colour_volume(const heif_mastering_display_colour_volume&) noexcept;
250
+
235
251
  // ------------------------- depth images -------------------------
236
252
 
237
253
  // TODO
@@ -368,6 +384,22 @@ namespace heif {
368
384
  void set_raw_color_profile(heif_color_profile_type type,
369
385
  const std::vector<uint8_t>& data);
370
386
 
387
+ // ------------------------- HDR metadata -------------------------
388
+
389
+ bool has_content_light_level() const noexcept;
390
+
391
+ // Returns a zero-initialized struct if the image has no such information.
392
+ heif_content_light_level get_content_light_level() const noexcept;
393
+
394
+ void set_content_light_level(const heif_content_light_level&) noexcept;
395
+
396
+ bool has_mastering_display_colour_volume() const noexcept;
397
+
398
+ // Returns a zero-initialized struct if the image has no such information.
399
+ heif_mastering_display_colour_volume get_mastering_display_colour_volume() const noexcept;
400
+
401
+ void set_mastering_display_colour_volume(const heif_mastering_display_colour_volume&) noexcept;
402
+
371
403
  bool is_premultiplied_alpha() const noexcept;
372
404
 
373
405
  void set_premultiplied_alpha(bool is_premultiplied_alpha) noexcept;
@@ -722,6 +754,40 @@ namespace heif {
722
754
  return heif_image_handle_get_ispe_height(m_image_handle.get());
723
755
  }
724
756
 
757
+ inline bool ImageHandle::has_content_light_level() const noexcept
758
+ {
759
+ return heif_image_handle_has_content_light_level(m_image_handle.get()) != 0;
760
+ }
761
+
762
+ inline heif_content_light_level ImageHandle::get_content_light_level() const noexcept
763
+ {
764
+ heif_content_light_level clli{};
765
+ heif_image_handle_get_content_light_level(m_image_handle.get(), &clli);
766
+ return clli;
767
+ }
768
+
769
+ inline void ImageHandle::set_content_light_level(const heif_content_light_level& clli) noexcept
770
+ {
771
+ heif_image_handle_set_content_light_level(m_image_handle.get(), &clli);
772
+ }
773
+
774
+ inline bool ImageHandle::has_mastering_display_colour_volume() const noexcept
775
+ {
776
+ return heif_image_handle_has_mastering_display_colour_volume(m_image_handle.get()) != 0;
777
+ }
778
+
779
+ inline heif_mastering_display_colour_volume ImageHandle::get_mastering_display_colour_volume() const noexcept
780
+ {
781
+ heif_mastering_display_colour_volume mdcv{};
782
+ heif_image_handle_get_mastering_display_colour_volume(m_image_handle.get(), &mdcv);
783
+ return mdcv;
784
+ }
785
+
786
+ inline void ImageHandle::set_mastering_display_colour_volume(const heif_mastering_display_colour_volume& mdcv) noexcept
787
+ {
788
+ heif_image_handle_set_mastering_display_colour_volume(m_image_handle.get(), &mdcv);
789
+ }
790
+
725
791
  // ------------------------- depth images -------------------------
726
792
 
727
793
  // TODO
@@ -998,6 +1064,40 @@ namespace heif {
998
1064
  }
999
1065
  }
1000
1066
 
1067
+ inline bool Image::has_content_light_level() const noexcept
1068
+ {
1069
+ return heif_image_has_content_light_level(m_image.get()) != 0;
1070
+ }
1071
+
1072
+ inline heif_content_light_level Image::get_content_light_level() const noexcept
1073
+ {
1074
+ heif_content_light_level clli{};
1075
+ heif_image_get_content_light_level(m_image.get(), &clli);
1076
+ return clli;
1077
+ }
1078
+
1079
+ inline void Image::set_content_light_level(const heif_content_light_level& clli) noexcept
1080
+ {
1081
+ heif_image_set_content_light_level(m_image.get(), &clli);
1082
+ }
1083
+
1084
+ inline bool Image::has_mastering_display_colour_volume() const noexcept
1085
+ {
1086
+ return heif_image_has_mastering_display_colour_volume(m_image.get()) != 0;
1087
+ }
1088
+
1089
+ inline heif_mastering_display_colour_volume Image::get_mastering_display_colour_volume() const noexcept
1090
+ {
1091
+ heif_mastering_display_colour_volume mdcv{};
1092
+ heif_image_get_mastering_display_colour_volume(m_image.get(), &mdcv);
1093
+ return mdcv;
1094
+ }
1095
+
1096
+ inline void Image::set_mastering_display_colour_volume(const heif_mastering_display_colour_volume& mdcv) noexcept
1097
+ {
1098
+ heif_image_set_mastering_display_colour_volume(m_image.get(), &mdcv);
1099
+ }
1100
+
1001
1101
  inline bool Image::is_premultiplied_alpha() const noexcept
1002
1102
  {
1003
1103
  return heif_image_is_premultiplied_alpha(m_image.get()) != 0;
@@ -200,6 +200,9 @@ const char* heif_decoder_descriptor_get_id_name(const heif_decoder_descriptor*);
200
200
  //
201
201
  // If colorspace or chroma is set to heif_colorspace_undefined or heif_chroma_undefined,
202
202
  // respectively, the original colorspace is taken.
203
+ // Note: for images with matrix_coefficients=0 the "original colorspace" is YCbCr
204
+ // (tagged with matrix_coefficients=0); this is not specified and may change in a future
205
+ // version. See heif_image_handle_get_preferred_decoding_colorspace().
203
206
  // Decoding options may be NULL. If you want to supply options, always use
204
207
  // heif_decoding_options_alloc() to get the structure.
205
208
  LIBHEIF_API
@@ -35,7 +35,8 @@
35
35
  #else
36
36
  #define LIBHEIF_API __declspec(dllimport)
37
37
  #endif
38
- #elif defined(HAVE_VISIBILITY) && HAVE_VISIBILITY
38
+ #elif (defined(__GNUC__) || defined(__clang__)) && defined(HAVE_VISIBILITY) && HAVE_VISIBILITY
39
+ // GCC-style visibility attributes.
39
40
  #ifdef LIBHEIF_EXPORTS
40
41
  #define LIBHEIF_API __attribute__((__visibility__("default")))
41
42
  #else
@@ -89,6 +89,15 @@ int heif_image_handle_get_chroma_bits_per_pixel(const heif_image_handle*);
89
89
  // It may also return *_undefined if the file misses relevant information to determine this without decoding.
90
90
  // These are only proposed values that avoid colorspace conversions as much as possible.
91
91
  // You can still request the output in your preferred colorspace, but this may involve an internal conversion.
92
+ //
93
+ // Note on matrix_coefficients=0 (H.273 identity, i.e. RGB carried in YCbCr planes):
94
+ // for such images this function proposes RGB. However, heif_decode_image() called with
95
+ // heif_colorspace_undefined currently returns the image still tagged as YCbCr (with
96
+ // matrix_coefficients=0). That tagging is self-consistent. Converting it to RGB applies
97
+ // the identity mapping and yields correct colors, so request heif_colorspace_RGB
98
+ // explicitly if you need RGB output. This exact behavior is not specified and may change.
99
+ // A later version may return RGB directly when decoding with an undefined colorspace.
100
+ // See heif_decode_image().
92
101
  LIBHEIF_API
93
102
  heif_error heif_image_handle_get_preferred_decoding_colorspace(const heif_image_handle* image_handle,
94
103
  heif_colorspace* out_colorspace,
@@ -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) | (23<<16) | (0<<8) | 0)
31
+ #define LIBHEIF_NUMERIC_VERSION ((1<<24) | (23<<16) | (1<<8) | 0)
32
32
 
33
33
  /* Version string */
34
- #define LIBHEIF_VERSION "1.23.0"
34
+ #define LIBHEIF_VERSION "1.23.1"
35
35
 
36
36
  #define LIBHEIF_PLUGIN_DIRECTORY "/target/lib/libheif"
37
37
 
@@ -7,7 +7,7 @@
7
7
 
8
8
  #define LIBRSVG_MAJOR_VERSION (2)
9
9
  #define LIBRSVG_MINOR_VERSION (62)
10
- #define LIBRSVG_MICRO_VERSION (3)
11
- #define LIBRSVG_VERSION "2.62.3"
10
+ #define LIBRSVG_MICRO_VERSION (90)
11
+ #define LIBRSVG_VERSION "2.62.90"
12
12
 
13
13
  #endif
@@ -81,6 +81,7 @@ typedef struct _PangoAttrFontFeatures PangoAttrFontFeatures;
81
81
  * @PANGO_ATTR_SENTENCE: override segmentation to classify the range of the attribute as a single sentence ([struct@Pango.AttrInt]). Since 1.50
82
82
  * @PANGO_ATTR_BASELINE_SHIFT: baseline displacement ([struct@Pango.AttrInt]). Since 1.50
83
83
  * @PANGO_ATTR_FONT_SCALE: font-relative size change ([struct@Pango.AttrInt]). Since 1.50
84
+ * @PANGO_ATTR_WIDTH: font width ([struct@Pango.AttrInt]). Since: 1.58
84
85
  *
85
86
  * The `PangoAttrType` distinguishes between different types of attributes.
86
87
  *
@@ -129,6 +130,7 @@ typedef enum
129
130
  PANGO_ATTR_SENTENCE, /* PangoAttrInt */
130
131
  PANGO_ATTR_BASELINE_SHIFT, /* PangoAttrSize */
131
132
  PANGO_ATTR_FONT_SCALE, /* PangoAttrInt */
133
+ PANGO_ATTR_WIDTH, /* PangoAttrInt */
132
134
  } PangoAttrType;
133
135
 
134
136
  /**
@@ -609,6 +611,8 @@ PANGO_AVAILABLE_IN_1_50
609
611
  PangoAttribute * pango_attr_line_height_new_absolute (int height);
610
612
  PANGO_AVAILABLE_IN_1_50
611
613
  PangoAttribute * pango_attr_text_transform_new (PangoTextTransform transform);
614
+ PANGO_AVAILABLE_IN_1_58
615
+ PangoAttribute * pango_attr_width_new (PangoWidth width);
612
616
 
613
617
  PANGO_AVAILABLE_IN_1_50
614
618
  PangoAttrString * pango_attribute_as_string (PangoAttribute *attr);
@@ -69,6 +69,7 @@ gboolean pango_color_parse_with_alpha (PangoColor *color,
69
69
  PANGO_AVAILABLE_IN_1_16
70
70
  char *pango_color_to_string (const PangoColor *color);
71
71
 
72
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoColor, pango_color_free)
72
73
 
73
74
  G_END_DECLS
74
75
 
@@ -111,6 +111,8 @@ void pango_context_set_round_glyph_positions (PangoContext
111
111
  PANGO_AVAILABLE_IN_1_44
112
112
  gboolean pango_context_get_round_glyph_positions (PangoContext *context);
113
113
 
114
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoContext, g_object_unref)
115
+
114
116
  G_END_DECLS
115
117
 
116
118
  #endif /* __PANGO_CONTEXT_H__ */
@@ -62,6 +62,9 @@ PANGO_AVAILABLE_IN_ALL
62
62
  GType pango_stretch_get_type (void) G_GNUC_CONST;
63
63
  #define PANGO_TYPE_STRETCH (pango_stretch_get_type ())
64
64
  PANGO_AVAILABLE_IN_ALL
65
+ GType pango_width_get_type (void) G_GNUC_CONST;
66
+ #define PANGO_TYPE_WIDTH (pango_width_get_type ())
67
+ PANGO_AVAILABLE_IN_ALL
65
68
  GType pango_font_mask_get_type (void) G_GNUC_CONST;
66
69
  #define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type ())
67
70
  PANGO_AVAILABLE_IN_ALL
@@ -105,6 +108,9 @@ GType pango_layout_deserialize_flags_get_type (void) G_GNUC_CONST;
105
108
  PANGO_AVAILABLE_IN_ALL
106
109
  GType pango_render_part_get_type (void) G_GNUC_CONST;
107
110
  #define PANGO_TYPE_RENDER_PART (pango_render_part_get_type ())
111
+ PANGO_AVAILABLE_IN_ALL
112
+ GType pango_render_component_get_type (void) G_GNUC_CONST;
113
+ #define PANGO_TYPE_RENDER_COMPONENT (pango_render_component_get_type ())
108
114
 
109
115
  /* enumerations from "pango-script.h" */
110
116
  PANGO_AVAILABLE_IN_ALL
@@ -2,9 +2,9 @@
2
2
  #define PANGO_FEATURES_H
3
3
 
4
4
  #define PANGO_VERSION_MAJOR 1
5
- #define PANGO_VERSION_MINOR 57
6
- #define PANGO_VERSION_MICRO 1
5
+ #define PANGO_VERSION_MINOR 58
6
+ #define PANGO_VERSION_MICRO 0
7
7
 
8
- #define PANGO_VERSION_STRING "1.57.1"
8
+ #define PANGO_VERSION_STRING "1.58.0"
9
9
 
10
10
  #endif /* PANGO_FEATURES_H */
@@ -169,13 +169,46 @@ typedef enum {
169
169
  PANGO_STRETCH_ULTRA_EXPANDED
170
170
  } PangoStretch;
171
171
 
172
+ /**
173
+ * PangoWidth:
174
+ * @PANGO_WIDTH_ULTRA_CONDENSED: ultra condensed width
175
+ * @PANGO_WIDTH_EXTRA_CONDENSED: extra condensed width
176
+ * @PANGO_WIDTH_CONDENSED: condensed width
177
+ * @PANGO_WIDTH_SEMI_CONDENSED: semi condensed width
178
+ * @PANGO_WIDTH_NORMAL: the normal width
179
+ * @PANGO_WIDTH_SEMI_EXPANDED: semi expanded width
180
+ * @PANGO_WIDTH_EXPANDED: expanded width
181
+ * @PANGO_WIDTH_EXTRA_EXPANDED: extra expanded width
182
+ * @PANGO_WIDTH_ULTRA_EXPANDED: ultra expanded width
183
+ *
184
+ * An enumeration specifying the width of the font relative to other designs
185
+ * within a family.
186
+ *
187
+ * The enumeration values match [enum@PangoStretch], but
188
+ * the numeric values are expanded to allow intermediate
189
+ * values.
190
+ *
191
+ * Since: 1.58
192
+ */
193
+ typedef enum {
194
+ PANGO_WIDTH_ULTRA_CONDENSED = 500,
195
+ PANGO_WIDTH_EXTRA_CONDENSED = 625,
196
+ PANGO_WIDTH_CONDENSED = 750,
197
+ PANGO_WIDTH_SEMI_CONDENSED = 875,
198
+ PANGO_WIDTH_NORMAL = 1000,
199
+ PANGO_WIDTH_SEMI_EXPANDED = 1125,
200
+ PANGO_WIDTH_EXPANDED = 1250,
201
+ PANGO_WIDTH_EXTRA_EXPANDED = 1500,
202
+ PANGO_WIDTH_ULTRA_EXPANDED = 2000,
203
+ } PangoWidth;
204
+
172
205
  /**
173
206
  * PangoFontMask:
174
207
  * @PANGO_FONT_MASK_FAMILY: the font family is specified.
175
208
  * @PANGO_FONT_MASK_STYLE: the font style is specified.
176
209
  * @PANGO_FONT_MASK_VARIANT: the font variant is specified.
177
210
  * @PANGO_FONT_MASK_WEIGHT: the font weight is specified.
178
- * @PANGO_FONT_MASK_STRETCH: the font stretch is specified.
211
+ * @PANGO_FONT_MASK_STRETCH: the font stretch/width is specified.
179
212
  * @PANGO_FONT_MASK_SIZE: the font size is specified.
180
213
  *
181
214
  * The bits in a `PangoFontMask` correspond to the set fields in a
@@ -209,11 +242,21 @@ typedef enum {
209
242
  *
210
243
  * Since: 1.57
211
244
  */
245
+ /**
246
+ * PANGO_FONT_MASK_WIDTH:
247
+ *
248
+ * Font width is specified.
249
+ *
250
+ * This is an alias for [enum@Pango.FontMask.STRETCH].
251
+ *
252
+ * 1.58
253
+ */
212
254
  typedef enum {
213
255
  PANGO_FONT_MASK_FAMILY = 1 << 0,
214
256
  PANGO_FONT_MASK_STYLE = 1 << 1,
215
257
  PANGO_FONT_MASK_VARIANT = 1 << 2,
216
258
  PANGO_FONT_MASK_WEIGHT = 1 << 3,
259
+ PANGO_FONT_MASK_WIDTH = 1 << 4,
217
260
  PANGO_FONT_MASK_STRETCH = 1 << 4,
218
261
  PANGO_FONT_MASK_SIZE = 1 << 5,
219
262
  PANGO_FONT_MASK_GRAVITY = 1 << 6,
@@ -335,6 +378,13 @@ void pango_font_description_set_stretch (PangoFontDescript
335
378
  PangoStretch stretch);
336
379
  PANGO_AVAILABLE_IN_ALL
337
380
  PangoStretch pango_font_description_get_stretch (const PangoFontDescription *desc) G_GNUC_PURE;
381
+
382
+ PANGO_AVAILABLE_IN_1_58
383
+ void pango_font_description_set_width (PangoFontDescription *desc,
384
+ PangoWidth width);
385
+ PANGO_AVAILABLE_IN_1_58
386
+ PangoWidth pango_font_description_get_width (const PangoFontDescription *desc);
387
+
338
388
  PANGO_AVAILABLE_IN_ALL
339
389
  void pango_font_description_set_size (PangoFontDescription *desc,
340
390
  gint size);
@@ -753,6 +803,8 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontFace, g_object_unref)
753
803
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFont, g_object_unref)
754
804
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontDescription, pango_font_description_free)
755
805
 
806
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoFontMetrics, pango_font_metrics_unref)
807
+
756
808
  G_END_DECLS
757
809
 
758
810
  #endif /* __PANGO_FONT_H__ */
@@ -58,6 +58,7 @@ void pango_fontset_simple_append (PangoFontsetSimple *fontset
58
58
  PANGO_AVAILABLE_IN_ALL
59
59
  int pango_fontset_simple_size (PangoFontsetSimple *fontset);
60
60
 
61
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoFontsetSimple, g_object_unref)
61
62
 
62
63
  G_END_DECLS
63
64
 
@@ -128,6 +128,7 @@ void pango_fontset_foreach (PangoFontset
128
128
  PangoFontsetForeachFunc func,
129
129
  gpointer data);
130
130
 
131
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoFontset, g_object_unref)
131
132
 
132
133
  G_END_DECLS
133
134
 
@@ -170,6 +170,9 @@ gboolean pango_glyph_item_iter_next_cluster (PangoGlyphItemIter *iter);
170
170
  PANGO_AVAILABLE_IN_1_22
171
171
  gboolean pango_glyph_item_iter_prev_cluster (PangoGlyphItemIter *iter);
172
172
 
173
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoGlyphItemIter, pango_glyph_item_iter_free)
174
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoGlyphItem, pango_glyph_item_free)
175
+
173
176
  G_END_DECLS
174
177
 
175
178
  #endif /* __PANGO_GLYPH_ITEM_H__ */
@@ -264,6 +264,7 @@ void pango_shape_item (PangoItem
264
264
  PangoGlyphString *glyphs,
265
265
  PangoShapeFlags flags);
266
266
 
267
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoGlyphString, pango_glyph_string_free)
267
268
 
268
269
  G_END_DECLS
269
270
 
@@ -162,6 +162,8 @@ GList * pango_itemize_with_base_dir (PangoContext *context
162
162
  PangoAttrList *attrs,
163
163
  PangoAttrIterator *cached_iter);
164
164
 
165
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoItem, pango_item_free)
166
+
165
167
  G_END_DECLS
166
168
 
167
169
  #endif /* __PANGO_ITEM_H__ */
@@ -557,6 +557,8 @@ int pango_layout_iter_get_run_baseline (PangoLayoutIter *iter);
557
557
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoLayout, g_object_unref)
558
558
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoLayoutIter, pango_layout_iter_free)
559
559
 
560
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoLayoutLine, pango_layout_line_unref)
561
+
560
562
  G_END_DECLS
561
563
 
562
564
  #endif /* __PANGO_LAYOUT_H__ */
@@ -124,6 +124,7 @@ void pango_matrix_get_font_scale_factors (const PangoMatrix *matrix,
124
124
  PANGO_AVAILABLE_IN_1_50
125
125
  double pango_matrix_get_slant_ratio (const PangoMatrix *matrix) G_GNUC_PURE;
126
126
 
127
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoMatrix, pango_matrix_free)
127
128
 
128
129
  G_END_DECLS
129
130
 
@@ -422,6 +422,11 @@ void pango_ot_ruleset_description_free (PangoOTRulesetDescription
422
422
 
423
423
  #endif /* PANGO_DISABLE_DEPRECATED */
424
424
 
425
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoOTRulesetDescription, pango_ot_ruleset_description_free)
426
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoOTBuffer, pango_ot_buffer_destroy)
427
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoOTRuleset, g_object_unref)
428
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoOTInfo, g_object_unref)
429
+
425
430
  G_END_DECLS
426
431
 
427
432
  #endif /* __PANGO_OT_H__ */
@@ -56,7 +56,7 @@ typedef enum
56
56
  PANGO_RENDER_PART_BACKGROUND,
57
57
  PANGO_RENDER_PART_UNDERLINE,
58
58
  PANGO_RENDER_PART_STRIKETHROUGH,
59
- PANGO_RENDER_PART_OVERLINE
59
+ PANGO_RENDER_PART_OVERLINE,
60
60
  } PangoRenderPart;
61
61
 
62
62
  /**
@@ -126,6 +126,12 @@ struct _PangoRenderer
126
126
  * - draw_trapezoid
127
127
  * - draw_glyph
128
128
  *
129
+ * The following vfuncs should look at the components value and
130
+ * skip color or plain glyphs accordingly:
131
+ * - draw_glyphs
132
+ * - draw_glyph_item
133
+ * - draw_glyph
134
+ *
129
135
  * Since: 1.8
130
136
  */
131
137
  struct _PangoRendererClass
@@ -284,6 +290,53 @@ PangoLayout *pango_renderer_get_layout (PangoRenderer *renderer);
284
290
  PANGO_AVAILABLE_IN_1_20
285
291
  PangoLayoutLine *pango_renderer_get_layout_line (PangoRenderer *renderer);
286
292
 
293
+
294
+ /**
295
+ * PangoRenderComponent:
296
+ * @PANGO_RENDER_COMPONENT_NONE: No components
297
+ * @PANGO_RENDER_COMPONENT_PLAIN_GLYPH: The plain glyphs of the layout
298
+ * @PANGO_RENDER_COMPONENT_COLOR_GLYPH: The color glyphs of the layout
299
+ * @PANGO_RENDER_COMPONENT_BACKGROUND: Background of the layout
300
+ * @PANGO_RENDER_COMPONENT_UNDERLINE: Underlines of the layout
301
+ * @PANGO_RENDER_COMPONENT_STRIKETHROUGH: Strikethrough lines of the layout
302
+ * @PANGO_RENDER_COMPONENT_OVERLINE: Overlines of the layout
303
+ *
304
+ * Flags that specify which components of a layout to include
305
+ * in renderer output.
306
+ *
307
+ * This is more or less parallel to the [enum@Pango.RenderPart] enum,
308
+ * but allows separating plain and color glyphs, and specifying more
309
+ * than one component.
310
+ *
311
+ * Since: 1.58
312
+ */
313
+ typedef enum
314
+ {
315
+ PANGO_RENDER_COMPONENT_NONE = 0,
316
+ PANGO_RENDER_COMPONENT_PLAIN_GLYPH = 1 << 1,
317
+ PANGO_RENDER_COMPONENT_COLOR_GLYPH = 1 << 2,
318
+ PANGO_RENDER_COMPONENT_BACKGROUND = 1 << 3,
319
+ PANGO_RENDER_COMPONENT_UNDERLINE = 1 << 3,
320
+ PANGO_RENDER_COMPONENT_STRIKETHROUGH = 1 << 4,
321
+ PANGO_RENDER_COMPONENT_OVERLINE = 1 << 5,
322
+ } PangoRenderComponent;
323
+
324
+ #define PANGO_RENDER_COMPONENT_ALL (PANGO_RENDER_COMPONENT_PLAIN_GLYPH | \
325
+ PANGO_RENDER_COMPONENT_COLOR_GLYPH | \
326
+ PANGO_RENDER_COMPONENT_BACKGROUND | \
327
+ PANGO_RENDER_COMPONENT_UNDERLINE | \
328
+ PANGO_RENDER_COMPONENT_STRIKETHROUGH | \
329
+ PANGO_RENDER_COMPONENT_OVERLINE)
330
+
331
+ PANGO_AVAILABLE_IN_1_58
332
+ void pango_renderer_set_components (PangoRenderer *renderer,
333
+ PangoRenderComponent components);
334
+ PANGO_AVAILABLE_IN_1_58
335
+ PangoRenderComponent pango_renderer_get_components (PangoRenderer *renderer);
336
+
337
+
338
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoRenderer, g_object_unref)
339
+
287
340
  G_END_DECLS
288
341
 
289
342
  #endif /* __PANGO_RENDERER_H_ */
@@ -332,6 +332,16 @@
332
332
  */
333
333
  #define PANGO_VERSION_1_57 (G_ENCODE_VERSION (1, 57))
334
334
 
335
+ /**
336
+ * PANGO_VERSION_1_58:
337
+ *
338
+ * A macro that evaluates to the 1.58 version of Pango, in a format
339
+ * that can be used by the C pre-processor.
340
+ *
341
+ * Since: 1.58
342
+ */
343
+ #define PANGO_VERSION_1_58 (G_ENCODE_VERSION (1, 58))
344
+
335
345
  /* evaluates to the current stable version; for development cycles,
336
346
  * this means the next stable target
337
347
  */
@@ -855,5 +865,21 @@
855
865
  # define PANGO_AVAILABLE_ENUMERATOR_IN_1_57
856
866
  #endif
857
867
 
868
+ #if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_58
869
+ # define PANGO_DEPRECATED_IN_1_58 PANGO_DEPRECATED
870
+ # define PANGO_DEPRECATED_IN_1_58_FOR(f) PANGO_DEPRECATED_FOR(f)
871
+ #else
872
+ # define PANGO_DEPRECATED_IN_1_58 _PANGO_EXTERN
873
+ # define PANGO_DEPRECATED_IN_1_58_FOR(f) _PANGO_EXTERN
874
+ #endif
875
+
876
+ #if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_58
877
+ # define PANGO_AVAILABLE_IN_1_58 PANGO_UNAVAILABLE(1, 58)
878
+ # define PANGO_AVAILABLE_ENUMERATOR_IN_1_58 PANGO_UNAVAILABLE (1, 58)
879
+ #else
880
+ # define PANGO_AVAILABLE_IN_1_58 _PANGO_EXTERN
881
+ # define PANGO_AVAILABLE_ENUMERATOR_IN_1_58
882
+ #endif
883
+
858
884
  #endif /* __PANGO_VERSION_H__ */
859
885
 
@@ -207,6 +207,10 @@ void pango_cairo_layout_line_path (cairo_t *cr,
207
207
  PANGO_AVAILABLE_IN_1_10
208
208
  void pango_cairo_layout_path (cairo_t *cr,
209
209
  PangoLayout *layout);
210
+ PANGO_AVAILABLE_IN_1_58
211
+ void pango_cairo_layout_path_for_components (cairo_t *cr,
212
+ PangoLayout *layout,
213
+ PangoRenderComponent components);
210
214
 
211
215
  PANGO_AVAILABLE_IN_1_14
212
216
  void pango_cairo_error_underline_path (cairo_t *cr,
@@ -215,6 +219,9 @@ void pango_cairo_error_underline_path (cairo_t *cr,
215
219
  double width,
216
220
  double height);
217
221
 
222
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoCairoFont, g_object_unref)
223
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoCairoFontMap, g_object_unref)
224
+
218
225
  G_END_DECLS
219
226
 
220
227
  #endif /* __PANGOCAIRO_H__ */
@@ -116,6 +116,8 @@ PangoGlyph pango_fc_decoder_get_glyph (PangoFcDecoder *decoder,
116
116
  PangoFcFont *fcfont,
117
117
  guint32 wc);
118
118
 
119
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoFcDecoder, g_object_unref)
120
+
119
121
  G_END_DECLS
120
122
 
121
123
  #endif /* __PANGO_DECODER_H_ */
@@ -116,6 +116,7 @@ FT_Face pango_fc_font_lock_face (PangoFcFont *font);
116
116
  PANGO_DEPRECATED_IN_1_44_FOR(pango_font_get_hb_font)
117
117
  void pango_fc_font_unlock_face (PangoFcFont *font);
118
118
 
119
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoFcFont, g_object_unref)
119
120
 
120
121
  G_END_DECLS
121
122
  #endif /* __PANGO_FC_FONT_H__ */
@@ -245,6 +245,8 @@ void pango_fc_font_map_substitute_changed (PangoFcFontMap *fontmap);
245
245
  */
246
246
  #define PANGO_FC_FONT_VARIATIONS "fontvariations"
247
247
 
248
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoFcFontMap, g_object_unref)
249
+
248
250
  G_END_DECLS
249
251
 
250
252
  #endif /* __PANGO_FC_FONT_MAP_H__ */
@@ -153,6 +153,8 @@ PangoCoverage *pango_ft2_font_get_coverage (PangoFont *font,
153
153
  PangoLanguage *language);
154
154
  #endif /* PANGO_DISABLE_DEPRECATED */
155
155
 
156
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (PangoFT2FontMap, g_object_unref)
157
+
156
158
  G_END_DECLS
157
159
 
158
160
  #endif /* __PANGOFT2_H__ */
@@ -8,7 +8,7 @@
8
8
  * Furthermore, configure_file variables of type "" are
9
9
  * modified by clang-format and won't be substituted by CMake.
10
10
  */
11
- #define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.1\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
11
+ #define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.2\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
12
12
  /*
13
13
  * This define can be used in code that requires
14
14
  * compilation-related definitions specific to a
@@ -16,13 +16,13 @@
16
16
  * version checking should be done based on the
17
17
  * string returned by TIFFGetVersion.
18
18
  */
19
- #define TIFFLIB_VERSION 20250911
19
+ #define TIFFLIB_VERSION 20260627
20
20
 
21
21
  /* The following defines have been added in 4.5.0 */
22
22
  #define TIFFLIB_MAJOR_VERSION 4
23
23
  #define TIFFLIB_MINOR_VERSION 7
24
- #define TIFFLIB_MICRO_VERSION 1
25
- #define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.1"
24
+ #define TIFFLIB_MICRO_VERSION 2
25
+ #define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.2"
26
26
 
27
27
  /* Macro added in 4.5.0. Returns TRUE if the current libtiff version is
28
28
  * greater or equal to major.minor.micro
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revizly/sharp-libvips-dev",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "description": "Header files and C++ sources for libvips and dependencies required when compiling sharp from source",
5
5
  "author": "Lovell Fuller <npm@lovell.info>",
6
6
  "homepage": "https://sharp.pixelplumbing.com",
package/versions.json CHANGED
@@ -5,25 +5,25 @@
5
5
  "cgif": "0.5.3",
6
6
  "de265": "1.1.1",
7
7
  "exif": "0.6.26",
8
- "expat": "2.8.1",
8
+ "expat": "2.8.2",
9
9
  "ffi": "3.6.0",
10
10
  "fontconfig": "2.18.1",
11
11
  "freetype": "2.14.3",
12
12
  "fribidi": "1.0.16",
13
- "glib": "2.89.0",
13
+ "glib": "2.89.1",
14
14
  "harfbuzz": "14.2.1",
15
- "heif": "1.23.0",
15
+ "heif": "1.23.1",
16
16
  "highway": "1.4.0",
17
17
  "imagequant": "2.4.1",
18
18
  "lcms": "2.19.1",
19
19
  "mozjpeg": "0826579",
20
- "pango": "1.57.1",
20
+ "pango": "1.58.0",
21
21
  "pixman": "0.46.4",
22
22
  "png": "1.6.58",
23
23
  "proxy-libintl": "0.5",
24
- "rsvg": "2.62.3",
24
+ "rsvg": "2.62.90",
25
25
  "svt-av1": "4.1.0",
26
- "tiff": "627f9f5",
26
+ "tiff": "d01a94b",
27
27
  "uhdr": "1acdbed",
28
28
  "vips": "8.18.3",
29
29
  "webp": "1.6.0",