@img/sharp-libvips-dev 1.1.0-rc2 → 1.1.0-rc4

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 (112) hide show
  1. package/include/aom/aom_codec.h +18 -1
  2. package/include/aom/aom_encoder.h +2 -0
  3. package/include/aom/aom_image.h +3 -1
  4. package/include/aom/aomcx.h +52 -12
  5. package/include/cairo/cairo-version.h +1 -1
  6. package/include/expat.h +4 -2
  7. package/include/expat_config.h +3 -3
  8. package/include/ffi.h +1 -1
  9. package/include/fontconfig/fontconfig.h +22 -2
  10. package/include/gio-unix-2.0/gio/gdesktopappinfo.h +1 -1
  11. package/include/gio-unix-2.0/gio/gunixmounts.h +95 -23
  12. package/include/glib-2.0/gio/gdbusconnection.h +65 -5
  13. package/include/glib-2.0/gio/gdebugcontroller.h +1 -1
  14. package/include/glib-2.0/gio/gfile.h +4 -0
  15. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  16. package/include/glib-2.0/gio/gioenums.h +14 -3
  17. package/include/glib-2.0/gio/gioenumtypes.h +3 -3
  18. package/include/glib-2.0/gio/giotypes.h +4 -4
  19. package/include/glib-2.0/gio/gmemorymonitor.h +1 -1
  20. package/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
  21. package/include/glib-2.0/gio/gpowerprofilemonitor.h +1 -1
  22. package/include/glib-2.0/gio/gproxy.h +1 -1
  23. package/include/glib-2.0/gio/gproxyresolver.h +1 -1
  24. package/include/glib-2.0/gio/gresource.h +6 -0
  25. package/include/glib-2.0/gio/gtlsbackend.h +1 -1
  26. package/include/glib-2.0/gio/gvfs.h +3 -3
  27. package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
  28. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  29. package/include/glib-2.0/girepository/gicallableinfo.h +12 -0
  30. package/include/glib-2.0/girepository/gitypes.h +1 -0
  31. package/include/glib-2.0/glib/garray.h +1 -1
  32. package/include/glib-2.0/glib/gerror.h +1 -1
  33. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  34. package/include/glib-2.0/glib/gmacros.h +3 -3
  35. package/include/glib-2.0/glib/gmain.h +79 -1
  36. package/include/glib-2.0/glib/gmem.h +3 -0
  37. package/include/glib-2.0/glib/goption.h +58 -36
  38. package/include/glib-2.0/glib/gqueue.h +1 -1
  39. package/include/glib-2.0/glib/grefstring.h +4 -0
  40. package/include/glib-2.0/glib/gstdio.h +65 -0
  41. package/include/glib-2.0/glib/gstrfuncs.h +4 -0
  42. package/include/glib-2.0/glib/gtestutils.h +65 -33
  43. package/include/glib-2.0/glib/gthread.h +2 -0
  44. package/include/glib-2.0/glib/gtypes.h +1 -1
  45. package/include/glib-2.0/glib/gunicode.h +21 -5
  46. package/include/glib-2.0/glib/gvariant.h +50 -13
  47. package/include/glib-2.0/glib/gvarianttype.h +62 -46
  48. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  49. package/include/glib-2.0/glib-unix.h +21 -0
  50. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  51. package/include/glib-2.0/gobject/glib-enumtypes.h +1 -1
  52. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  53. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +1 -1
  54. package/include/glib-2.0/gobject/gparam.h +4 -2
  55. package/include/glib-2.0/gobject/gsignal.h +22 -7
  56. package/include/glib-2.0/gobject/gtype.h +10 -4
  57. package/include/harfbuzz/hb-draw.h +1 -1
  58. package/include/harfbuzz/hb-face.h +15 -2
  59. package/include/harfbuzz/hb-ft.h +11 -1
  60. package/include/harfbuzz/hb-ot-shape.h +6 -0
  61. package/include/harfbuzz/hb-paint.h +1 -1
  62. package/include/harfbuzz/hb-shape.h +2 -0
  63. package/include/harfbuzz/hb-subset-serialize.h +83 -0
  64. package/include/harfbuzz/hb-subset.h +12 -0
  65. package/include/harfbuzz/hb-version.h +3 -3
  66. package/include/lcms2.h +7 -5
  67. package/include/lcms2_plugin.h +1 -1
  68. package/include/libexif/exif-byte-order.h +2 -0
  69. package/include/libexif/exif-content.h +2 -0
  70. package/include/libexif/exif-data-type.h +2 -0
  71. package/include/libexif/exif-data.h +3 -2
  72. package/include/libexif/exif-entry.h +2 -0
  73. package/include/libexif/exif-format.h +2 -0
  74. package/include/libexif/exif-ifd.h +2 -0
  75. package/include/libexif/exif-loader.h +2 -0
  76. package/include/libexif/exif-log.h +2 -0
  77. package/include/libexif/exif-mem.h +2 -0
  78. package/include/libexif/exif-mnote-data.h +2 -0
  79. package/include/libexif/exif-tag.h +2 -0
  80. package/include/libexif/exif-utils.h +2 -0
  81. package/include/libheif/heif.h +328 -26
  82. package/include/libheif/heif_cxx.h +18 -12
  83. package/include/libheif/heif_items.h +2 -2
  84. package/include/libheif/heif_properties.h +24 -4
  85. package/include/libheif/heif_version.h +2 -2
  86. package/include/libpng16/png.h +120 -12
  87. package/include/libpng16/pngconf.h +2 -3
  88. package/include/libpng16/pnglibconf.h +11 -2
  89. package/include/librsvg-2.0/librsvg/rsvg-features.h +1 -1
  90. package/include/librsvg-2.0/librsvg/rsvg-pixbuf.h +1 -1
  91. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  92. package/include/librsvg-2.0/librsvg/rsvg.h +1 -1
  93. package/include/libxml2/libxml/xmlversion.h +4 -4
  94. package/include/pango-1.0/pango/pango-features.h +3 -3
  95. package/include/pango-1.0/pango/pango-font.h +31 -2
  96. package/include/pango-1.0/pango/pango-fontmap.h +4 -0
  97. package/include/pango-1.0/pango/pango-layout.h +10 -1
  98. package/include/pango-1.0/pango/pango-version-macros.h +52 -0
  99. package/include/pango-1.0/pango/pangofc-fontmap.h +6 -0
  100. package/include/pixman-1/pixman-version.h +3 -3
  101. package/include/png.h +120 -12
  102. package/include/pngconf.h +2 -3
  103. package/include/pnglibconf.h +11 -2
  104. package/include/vips/colour.h +2 -0
  105. package/include/vips/version.h +4 -4
  106. package/include/webp/encode.h +5 -4
  107. package/include/webp/sharpyuv/sharpyuv.h +14 -5
  108. package/include/webp/sharpyuv/sharpyuv_csp.h +5 -0
  109. package/include/webp/types.h +2 -2
  110. package/include/zlib.h +4 -4
  111. package/package.json +1 -1
  112. package/versions.json +19 -19
@@ -184,6 +184,11 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
184
184
  * Since: 2.80
185
185
  */
186
186
  GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
187
+ static inline gboolean g_unix_pipe_open (GUnixPipe *self,
188
+ int flags,
189
+ GError **error);
190
+
191
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
187
192
  static inline gboolean
188
193
  g_unix_pipe_open (GUnixPipe *self,
189
194
  int flags,
@@ -212,6 +217,10 @@ g_unix_pipe_open (GUnixPipe *self,
212
217
  * Since: 2.80
213
218
  */
214
219
  GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
220
+ static inline int g_unix_pipe_get (GUnixPipe *self,
221
+ GUnixPipeEnd end);
222
+
223
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
215
224
  static inline int
216
225
  g_unix_pipe_get (GUnixPipe *self,
217
226
  GUnixPipeEnd end)
@@ -241,6 +250,10 @@ g_unix_pipe_get (GUnixPipe *self,
241
250
  * Since: 2.80
242
251
  */
243
252
  GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
253
+ static inline int g_unix_pipe_steal (GUnixPipe *self,
254
+ GUnixPipeEnd end);
255
+
256
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
244
257
  static inline int
245
258
  g_unix_pipe_steal (GUnixPipe *self,
246
259
  GUnixPipeEnd end)
@@ -276,6 +289,11 @@ g_unix_pipe_steal (GUnixPipe *self,
276
289
  * Since: 2.80
277
290
  */
278
291
  GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
292
+ static inline gboolean g_unix_pipe_close (GUnixPipe *self,
293
+ GUnixPipeEnd end,
294
+ GError **error);
295
+
296
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
279
297
  static inline gboolean
280
298
  g_unix_pipe_close (GUnixPipe *self,
281
299
  GUnixPipeEnd end,
@@ -304,6 +322,9 @@ g_unix_pipe_close (GUnixPipe *self,
304
322
  *
305
323
  * Since: 2.80
306
324
  */
325
+ GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
326
+ static inline void g_unix_pipe_clear (GUnixPipe *self);
327
+
307
328
  GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
308
329
  static inline void
309
330
  g_unix_pipe_clear (GUnixPipe *self)
@@ -1018,3 +1018,37 @@
1018
1018
  #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_82
1019
1019
  #define GMODULE_AVAILABLE_TYPE_IN_2_82
1020
1020
  #endif
1021
+
1022
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_84
1023
+ #define GMODULE_DEPRECATED_IN_2_84 GMODULE_DEPRECATED
1024
+ #define GMODULE_DEPRECATED_IN_2_84_FOR(f) GMODULE_DEPRECATED_FOR (f)
1025
+ #define GMODULE_DEPRECATED_MACRO_IN_2_84 GLIB_DEPRECATED_MACRO
1026
+ #define GMODULE_DEPRECATED_MACRO_IN_2_84_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1027
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_84 GLIB_DEPRECATED_ENUMERATOR
1028
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1029
+ #define GMODULE_DEPRECATED_TYPE_IN_2_84 GLIB_DEPRECATED_TYPE
1030
+ #define GMODULE_DEPRECATED_TYPE_IN_2_84_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1031
+ #else
1032
+ #define GMODULE_DEPRECATED_IN_2_84 _GMODULE_EXTERN
1033
+ #define GMODULE_DEPRECATED_IN_2_84_FOR(f) _GMODULE_EXTERN
1034
+ #define GMODULE_DEPRECATED_MACRO_IN_2_84
1035
+ #define GMODULE_DEPRECATED_MACRO_IN_2_84_FOR(f)
1036
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_84
1037
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f)
1038
+ #define GMODULE_DEPRECATED_TYPE_IN_2_84
1039
+ #define GMODULE_DEPRECATED_TYPE_IN_2_84_FOR(f)
1040
+ #endif
1041
+
1042
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_84
1043
+ #define GMODULE_AVAILABLE_IN_2_84 GMODULE_UNAVAILABLE (2, 84)
1044
+ #define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_84 GLIB_UNAVAILABLE_STATIC_INLINE (2, 84)
1045
+ #define GMODULE_AVAILABLE_MACRO_IN_2_84 GLIB_UNAVAILABLE_MACRO (2, 84)
1046
+ #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_84 GLIB_UNAVAILABLE_ENUMERATOR (2, 84)
1047
+ #define GMODULE_AVAILABLE_TYPE_IN_2_84 GLIB_UNAVAILABLE_TYPE (2, 84)
1048
+ #else
1049
+ #define GMODULE_AVAILABLE_IN_2_84 _GMODULE_EXTERN
1050
+ #define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_84
1051
+ #define GMODULE_AVAILABLE_MACRO_IN_2_84
1052
+ #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_84
1053
+ #define GMODULE_AVAILABLE_TYPE_IN_2_84
1054
+ #endif
@@ -8,7 +8,7 @@
8
8
 
9
9
  G_BEGIN_DECLS
10
10
 
11
- /* enumerations from "../gobject/../glib/gunicode.h" */
11
+ /* enumerations from "gunicode.h" */
12
12
  GOBJECT_AVAILABLE_IN_2_60 GType g_unicode_type_get_type (void) G_GNUC_CONST;
13
13
  #define G_TYPE_UNICODE_TYPE (g_unicode_type_get_type ())
14
14
  GOBJECT_AVAILABLE_IN_2_60 GType g_unicode_break_type_get_type (void) G_GNUC_CONST;
@@ -1018,3 +1018,37 @@
1018
1018
  #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_82
1019
1019
  #define GOBJECT_AVAILABLE_TYPE_IN_2_82
1020
1020
  #endif
1021
+
1022
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_84
1023
+ #define GOBJECT_DEPRECATED_IN_2_84 GOBJECT_DEPRECATED
1024
+ #define GOBJECT_DEPRECATED_IN_2_84_FOR(f) GOBJECT_DEPRECATED_FOR (f)
1025
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_84 GLIB_DEPRECATED_MACRO
1026
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_84_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1027
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_84 GLIB_DEPRECATED_ENUMERATOR
1028
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1029
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_84 GLIB_DEPRECATED_TYPE
1030
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_84_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1031
+ #else
1032
+ #define GOBJECT_DEPRECATED_IN_2_84 _GOBJECT_EXTERN
1033
+ #define GOBJECT_DEPRECATED_IN_2_84_FOR(f) _GOBJECT_EXTERN
1034
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_84
1035
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_84_FOR(f)
1036
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_84
1037
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_84_FOR(f)
1038
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_84
1039
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_84_FOR(f)
1040
+ #endif
1041
+
1042
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_84
1043
+ #define GOBJECT_AVAILABLE_IN_2_84 GOBJECT_UNAVAILABLE (2, 84)
1044
+ #define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_84 GLIB_UNAVAILABLE_STATIC_INLINE (2, 84)
1045
+ #define GOBJECT_AVAILABLE_MACRO_IN_2_84 GLIB_UNAVAILABLE_MACRO (2, 84)
1046
+ #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_84 GLIB_UNAVAILABLE_ENUMERATOR (2, 84)
1047
+ #define GOBJECT_AVAILABLE_TYPE_IN_2_84 GLIB_UNAVAILABLE_TYPE (2, 84)
1048
+ #else
1049
+ #define GOBJECT_AVAILABLE_IN_2_84 _GOBJECT_EXTERN
1050
+ #define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_84
1051
+ #define GOBJECT_AVAILABLE_MACRO_IN_2_84
1052
+ #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_84
1053
+ #define GOBJECT_AVAILABLE_TYPE_IN_2_84
1054
+ #endif
@@ -46,7 +46,7 @@ struct _GObjectNotifyContext
46
46
  {
47
47
  GQuark quark_notify_queue;
48
48
  GObjectNotifyQueueDispatcher dispatcher;
49
- GTrashStack *_nqueue_trash; /* unused */
49
+ void *_nqueue_trash; /* unused */
50
50
  };
51
51
  struct _GObjectNotifyQueue
52
52
  {
@@ -120,8 +120,10 @@ G_BEGIN_DECLS
120
120
  * @G_PARAM_READABLE: the parameter is readable
121
121
  * @G_PARAM_WRITABLE: the parameter is writable
122
122
  * @G_PARAM_READWRITE: alias for %G_PARAM_READABLE | %G_PARAM_WRITABLE
123
- * @G_PARAM_CONSTRUCT: the parameter will be set upon object construction
124
- * @G_PARAM_CONSTRUCT_ONLY: the parameter can only be set upon object construction
123
+ * @G_PARAM_CONSTRUCT: the parameter will be set upon object construction.
124
+ * See [vfunc@Object.constructed] for more details
125
+ * @G_PARAM_CONSTRUCT_ONLY: the parameter can only be set upon object construction.
126
+ * See [vfunc@Object.constructed] for more details
125
127
  * @G_PARAM_LAX_VALIDATION: upon parameter conversion (see g_param_value_convert())
126
128
  * strict validation is not required
127
129
  * @G_PARAM_STATIC_NAME: the string used as name when constructing the
@@ -505,11 +505,16 @@ void g_signal_chain_from_overridden_handler (gpointer instance,
505
505
  * The handler will be called synchronously, before the default handler of the signal.
506
506
  * [func@GObject.signal_emit] will not return control until all handlers are called.
507
507
  *
508
- * See [memory management of signal handlers](signals.html#Memory_management_of_signal_handlers) for
508
+ * See [memory management of signal handlers](signals.html#memory-management-of-signal-handlers) for
509
509
  * details on how to handle the return value and memory management of @data.
510
510
  *
511
- * This function cannot fail. If the given signal doesn’t exist, a critical
512
- * warning is emitted.
511
+ * This function cannot fail. If the given signal name doesn’t exist,
512
+ * a critical warning is emitted. No validation is performed on the
513
+ * ‘detail’ string when specified in @detailed_signal, other than a
514
+ * non-empty check.
515
+ *
516
+ * Refer to the [signals documentation](signals.html) for more
517
+ * details.
513
518
  *
514
519
  * Returns: the handler ID, of type `gulong` (always greater than 0)
515
520
  */
@@ -528,8 +533,13 @@ void g_signal_chain_from_overridden_handler (gpointer instance,
528
533
  *
529
534
  * The handler will be called synchronously, after the default handler of the signal.
530
535
  *
531
- * This function cannot fail. If the given signal doesn’t exist, a critical
532
- * warning is emitted.
536
+ * This function cannot fail. If the given signal name doesn’t exist,
537
+ * a critical warning is emitted. No validation is performed on the
538
+ * ‘detail’ string when specified in @detailed_signal, other than a
539
+ * non-empty check.
540
+ *
541
+ * Refer to the [signals documentation](signals.html) for more
542
+ * details.
533
543
  *
534
544
  * Returns: the handler ID, of type `gulong` (always greater than 0)
535
545
  */
@@ -569,8 +579,13 @@ void g_signal_chain_from_overridden_handler (gpointer instance,
569
579
  * (GCallback) button_clicked_cb, other_widget);
570
580
  * ]|
571
581
  *
572
- * This function cannot fail. If the given signal doesn’t exist, a critical
573
- * warning is emitted.
582
+ * This function cannot fail. If the given signal name doesn’t exist,
583
+ * a critical warning is emitted. No validation is performed on the
584
+ * ‘detail’ string when specified in @detailed_signal, other than a
585
+ * non-empty check.
586
+ *
587
+ * Refer to the [signals documentation](signals.html) for more
588
+ * details.
574
589
  *
575
590
  * Returns: the handler ID, of type `gulong` (always greater than 0)
576
591
  */
@@ -759,6 +759,8 @@ gboolean g_type_is_a (GType type,
759
759
  /* Hoist exact GType comparisons into the caller */
760
760
  #define g_type_is_a(a,b) ((a) == (b) || (g_type_is_a) ((a), (b)))
761
761
 
762
+ GOBJECT_AVAILABLE_IN_2_84
763
+ gpointer g_type_class_get (GType type);
762
764
  GOBJECT_AVAILABLE_IN_ALL
763
765
  gpointer g_type_class_ref (GType type);
764
766
  GOBJECT_AVAILABLE_IN_ALL
@@ -775,6 +777,8 @@ gpointer g_type_interface_peek (gpointer instance_
775
777
  GOBJECT_AVAILABLE_IN_ALL
776
778
  gpointer g_type_interface_peek_parent (gpointer g_iface);
777
779
 
780
+ GOBJECT_AVAILABLE_IN_2_84
781
+ gpointer g_type_default_interface_get (GType g_type);
778
782
  GOBJECT_AVAILABLE_IN_ALL
779
783
  gpointer g_type_default_interface_ref (GType g_type);
780
784
  GOBJECT_AVAILABLE_IN_ALL
@@ -1416,10 +1420,12 @@ typedef gchar * (* GTypeValueLCopyFunc) (const GValue *value,
1416
1420
  * this value bit-by-bit. Each character in the format represents
1417
1421
  * an argument to be collected, and the characters themselves indicate
1418
1422
  * the type of the argument. Currently supported arguments are:
1419
- * - `'i'`: Integers, passed as `collect_values[].v_int`
1420
- * - `'l'`: Longs, passed as `collect_values[].v_long`
1421
- * - `'d'`: Doubles, passed as `collect_values[].v_double`
1422
- * - `'p'`: Pointers, passed as `collect_values[].v_pointer`
1423
+ *
1424
+ * - `'i'`: Integers, passed as `collect_values[].v_int`
1425
+ * - `'l'`: Longs, passed as `collect_values[].v_long`
1426
+ * - `'d'`: Doubles, passed as `collect_values[].v_double`
1427
+ * - `'p'`: Pointers, passed as `collect_values[].v_pointer`
1428
+ *
1423
1429
  * It should be noted that for variable argument list construction,
1424
1430
  * ANSI C promotes every type smaller than an integer to an int, and
1425
1431
  * floats to doubles. So for collection of short int or char, `'i'`
@@ -70,7 +70,7 @@ typedef struct hb_draw_state_t {
70
70
  *
71
71
  * The default #hb_draw_state_t at the start of glyph drawing.
72
72
  */
73
- #define HB_DRAW_STATE_DEFAULT {0, 0.f, 0.f, 0.f, 0.f, {0.}, {0.}, {0.}}
73
+ #define HB_DRAW_STATE_DEFAULT {0, 0.f, 0.f, 0.f, 0.f, {0.}, {0.}, {0.}, {0.}, {0.}, {0.}, {0.}}
74
74
 
75
75
 
76
76
  /**
@@ -59,15 +59,28 @@ HB_EXTERN hb_face_t *
59
59
  hb_face_create (hb_blob_t *blob,
60
60
  unsigned int index);
61
61
 
62
+ HB_EXTERN hb_face_t *
63
+ hb_face_create_or_fail (hb_blob_t *blob,
64
+ unsigned int index);
65
+
66
+ HB_EXTERN hb_face_t *
67
+ hb_face_create_from_file_or_fail (const char *file_name,
68
+ unsigned int index);
69
+
62
70
  /**
63
71
  * hb_reference_table_func_t:
64
72
  * @face: an #hb_face_t to reference table for
65
73
  * @tag: the tag of the table to reference
66
74
  * @user_data: User data pointer passed by the caller
67
75
  *
68
- * Callback function for hb_face_create_for_tables().
76
+ * Callback function for hb_face_create_for_tables(). The @tag is the tag of the
77
+ * table to reference, and the special tag #HB_TAG_NONE is used to reference the
78
+ * blob of the face itself. If referencing the face blob is not possible, it is
79
+ * recommended to set hb_get_table_tags_func_t on the @face to allow
80
+ * hb_face_reference_blob() to create a face blob out of individual table blobs.
69
81
  *
70
- * Return value: (transfer full): A pointer to the @tag table within @face
82
+ * Return value: (transfer full): A pointer to the @tag table within @face or
83
+ * `NULL` if the table is not found or cannot be referenced.
71
84
  *
72
85
  * Since: 0.9.2
73
86
  */
@@ -84,6 +84,9 @@ hb_ft_face_create_cached (FT_Face ft_face);
84
84
  HB_EXTERN hb_face_t *
85
85
  hb_ft_face_create_referenced (FT_Face ft_face);
86
86
 
87
+ HB_EXTERN hb_face_t *
88
+ hb_ft_face_create_from_file_or_fail (const char *file_name,
89
+ unsigned int index);
87
90
 
88
91
  /*
89
92
  * hb-font from ft-face.
@@ -108,7 +111,7 @@ HB_EXTERN hb_font_t *
108
111
  hb_ft_font_create_referenced (FT_Face ft_face);
109
112
 
110
113
  HB_EXTERN FT_Face
111
- hb_ft_font_get_face (hb_font_t *font);
114
+ hb_ft_font_get_ft_face (hb_font_t *font);
112
115
 
113
116
  HB_EXTERN FT_Face
114
117
  hb_ft_font_lock_face (hb_font_t *font);
@@ -139,6 +142,13 @@ hb_ft_hb_font_changed (hb_font_t *font);
139
142
  HB_EXTERN void
140
143
  hb_ft_font_set_funcs (hb_font_t *font);
141
144
 
145
+ #ifndef HB_DISABLE_DEPRECATED
146
+
147
+ HB_DEPRECATED_FOR (hb_ft_font_get_ft_face)
148
+ HB_EXTERN FT_Face
149
+ hb_ft_font_get_face (hb_font_t *font);
150
+
151
+ #endif
142
152
 
143
153
  HB_END_DECLS
144
154
 
@@ -48,6 +48,12 @@ hb_ot_shape_plan_collect_lookups (hb_shape_plan_t *shape_plan,
48
48
  hb_tag_t table_tag,
49
49
  hb_set_t *lookup_indexes /* OUT */);
50
50
 
51
+ HB_EXTERN unsigned int
52
+ hb_ot_shape_plan_get_feature_tags (hb_shape_plan_t *shape_plan,
53
+ unsigned int start_offset,
54
+ unsigned int *tag_count, /* IN/OUT */
55
+ hb_tag_t *tags /* OUT */);
56
+
51
57
  HB_END_DECLS
52
58
 
53
59
  #endif /* HB_OT_SHAPE_H */
@@ -146,7 +146,7 @@ typedef void (*hb_paint_pop_transform_func_t) (hb_paint_funcs_t *funcs,
146
146
  *
147
147
  * A virtual method for the #hb_paint_funcs_t to render a color glyph by glyph index.
148
148
  *
149
- * Return value: %true if the glyph was painted, %false otherwise.
149
+ * Return value: `true` if the glyph was painted, `false` otherwise.
150
150
  *
151
151
  * Since: 8.2.0
152
152
  */
@@ -53,6 +53,7 @@ hb_shape_full (hb_font_t *font,
53
53
  unsigned int num_features,
54
54
  const char * const *shaper_list);
55
55
 
56
+ #ifdef HB_EXPERIMENTAL_API
56
57
  HB_EXTERN hb_bool_t
57
58
  hb_shape_justify (hb_font_t *font,
58
59
  hb_buffer_t *buffer,
@@ -64,6 +65,7 @@ hb_shape_justify (hb_font_t *font,
64
65
  float *advance, /* IN/OUT */
65
66
  hb_tag_t *var_tag, /* OUT */
66
67
  float *var_value /* OUT */);
68
+ #endif
67
69
 
68
70
  HB_EXTERN const char **
69
71
  hb_shape_list_shapers (void);
@@ -0,0 +1,83 @@
1
+ /*
2
+ * Copyright © 2022 Google, Inc.
3
+ *
4
+ * This is part of HarfBuzz, a text shaping library.
5
+ *
6
+ * Permission is hereby granted, without written agreement and without
7
+ * license or royalty fees, to use, copy, modify, and distribute this
8
+ * software and its documentation for any purpose, provided that the
9
+ * above copyright notice and the following two paragraphs appear in
10
+ * all copies of this software.
11
+ *
12
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14
+ * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15
+ * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16
+ * DAMAGE.
17
+ *
18
+ * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21
+ * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23
+ *
24
+ */
25
+
26
+ #ifndef HB_SUBSET_SERIALIZE_H
27
+ #define HB_SUBSET_SERIALIZE_H
28
+
29
+ #include "hb.h"
30
+
31
+ HB_BEGIN_DECLS
32
+
33
+ /**
34
+ * hb_subset_serialize_link_t:
35
+ * @width: offsetSize in bytes
36
+ * @position: position of the offset field in bytes from
37
+ * beginning of subtable
38
+ * @objidx: index of subtable
39
+ *
40
+ * Represents a link between two objects in the object graph
41
+ * to be serialized.
42
+ *
43
+ * Since: 10.2.0
44
+ */
45
+ typedef struct hb_subset_serialize_link_t {
46
+ unsigned int width;
47
+ unsigned int position;
48
+ unsigned int objidx;
49
+ } hb_subset_serialize_link_t;
50
+
51
+ /**
52
+ * hb_subset_serialize_object_t:
53
+ * @head: start of object data
54
+ * @tail: end of object data
55
+ * @num_real_links: number of offset field in the object
56
+ * @real_links: array of offset info
57
+ * @num_virtual_links: number of objects that must be packed
58
+ * after current object in the final
59
+ * serialized order
60
+ * @virtual_links: array of virtual link info
61
+ *
62
+ * Represents an object in the object graph to be serialized.
63
+ *
64
+ * Since: 10.2.0
65
+ */
66
+ typedef struct hb_subset_serialize_object_t {
67
+ char *head;
68
+ char *tail;
69
+ unsigned int num_real_links;
70
+ hb_subset_serialize_link_t *real_links;
71
+ unsigned int num_virtual_links;
72
+ hb_subset_serialize_link_t *virtual_links;
73
+ } hb_subset_serialize_object_t;
74
+
75
+ HB_EXTERN hb_blob_t *
76
+ hb_subset_serialize_or_fail (hb_tag_t table_tag,
77
+ hb_subset_serialize_object_t *hb_objects,
78
+ unsigned num_hb_objs);
79
+
80
+
81
+ HB_END_DECLS
82
+
83
+ #endif /* HB_SUBSET_SERIALIZE_H */
@@ -203,6 +203,18 @@ hb_subset_input_set_axis_range (hb_subset_input_t *input,
203
203
  float axis_max_value,
204
204
  float axis_def_value);
205
205
 
206
+ HB_EXTERN hb_bool_t
207
+ hb_subset_axis_range_from_string (const char *str, int len,
208
+ float *axis_min_value,
209
+ float *axis_max_value,
210
+ float *axis_def_value);
211
+
212
+ HB_EXTERN void
213
+ hb_subset_axis_range_to_string (hb_subset_input_t *input,
214
+ hb_tag_t axis_tag,
215
+ char *buf,
216
+ unsigned size);
217
+
206
218
  #ifdef HB_EXPERIMENTAL_API
207
219
  HB_EXTERN hb_bool_t
208
220
  hb_subset_input_override_name_table (hb_subset_input_t *input,
@@ -47,20 +47,20 @@ HB_BEGIN_DECLS
47
47
  *
48
48
  * The minor component of the library version available at compile-time.
49
49
  */
50
- #define HB_VERSION_MINOR 0
50
+ #define HB_VERSION_MINOR 4
51
51
  /**
52
52
  * HB_VERSION_MICRO:
53
53
  *
54
54
  * The micro component of the library version available at compile-time.
55
55
  */
56
- #define HB_VERSION_MICRO 1
56
+ #define HB_VERSION_MICRO 0
57
57
 
58
58
  /**
59
59
  * HB_VERSION_STRING:
60
60
  *
61
61
  * A string literal containing the library version available at compile-time.
62
62
  */
63
- #define HB_VERSION_STRING "10.0.1"
63
+ #define HB_VERSION_STRING "10.4.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-2023 Marti Maria Saguer
4
+ // Copyright (c) 1998-2025 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.16
26
+ // Version 2.17
27
27
  //
28
28
 
29
29
  #ifndef _lcms2_H
@@ -64,6 +64,9 @@
64
64
  // Uncomment this to remove the "register" storage class
65
65
  // #define CMS_NO_REGISTER_KEYWORD 1
66
66
 
67
+ // Uncomment this to remove visibility attribute when building shared objects
68
+ // #define CMS_NO_VISIBILITY 1
69
+
67
70
  // ********** End of configuration toggles ******************************
68
71
 
69
72
  // Needed for streams
@@ -84,7 +87,7 @@ extern "C" {
84
87
  #endif
85
88
 
86
89
  // Version/release
87
- #define LCMS_VERSION 2160
90
+ #define LCMS_VERSION 2170
88
91
 
89
92
  // I will give the chance of redefining basic types for compilers that are not fully C99 compliant
90
93
  #ifndef CMS_BASIC_TYPES_ALREADY_DEFINED
@@ -248,7 +251,7 @@ typedef int cmsBool;
248
251
  # define CMSAPI
249
252
  # endif
250
253
  #else // not Windows
251
- # ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY
254
+ # if defined(HAVE_FUNC_ATTRIBUTE_VISIBILITY) && !defined(CMS_NO_VISIBILITY)
252
255
  # define CMSEXPORT
253
256
  # define CMSAPI __attribute__((visibility("default")))
254
257
  # else
@@ -958,7 +961,6 @@ typedef void* cmsHTRANSFORM;
958
961
  // IEEE 754-2008 "half"
959
962
  #define TYPE_GRAY_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(2))
960
963
  #define TYPE_RGB_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(2))
961
- #define TYPE_RGBA_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2))
962
964
  #define TYPE_CMYK_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2))
963
965
 
964
966
  #define TYPE_RGBA_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2))
@@ -1,7 +1,7 @@
1
1
  //---------------------------------------------------------------------------------
2
2
  //
3
3
  // Little Color Management System
4
- // Copyright (c) 1998-2023 Marti Maria Saguer
4
+ // Copyright (c) 1998-2024 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"),
@@ -18,6 +18,8 @@
18
18
  * License along with this library; if not, write to the
19
19
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
20
  * Boston, MA 02110-1301 USA.
21
+ *
22
+ * SPDX-License-Identifier: LGPL-2.0-or-later
21
23
  */
22
24
 
23
25
  #ifndef LIBEXIF_EXIF_BYTE_ORDER_H
@@ -18,6 +18,8 @@
18
18
  * License along with this library; if not, write to the
19
19
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
20
  * Boston, MA 02110-1301 USA.
21
+ *
22
+ * SPDX-License-Identifier: LGPL-2.0-or-later
21
23
  */
22
24
 
23
25
  #ifndef LIBEXIF_EXIF_CONTENT_H
@@ -16,6 +16,8 @@
16
16
  * License along with this library; if not, write to the
17
17
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
18
  * Boston, MA 02110-1301 USA.
19
+ *
20
+ * SPDX-License-Identifier: LGPL-2.0-or-later
19
21
  */
20
22
 
21
23
  #ifndef LIBEXIF_EXIF_DATA_TYPE_H
@@ -2,8 +2,7 @@
2
2
  * \brief Defines the ExifData type and the associated functions.
3
3
  */
4
4
  /*
5
- * \author Lutz Mueller <lutz@users.sourceforge.net>
6
- * \date 2001-2005
5
+ * Copyright (c) 2001-2008 Lutz Mueller <lutz@users.sourceforge.net>
7
6
  *
8
7
  * This library is free software; you can redistribute it and/or
9
8
  * modify it under the terms of the GNU Lesser General Public
@@ -19,6 +18,8 @@
19
18
  * License along with this library; if not, write to the
20
19
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
20
  * Boston, MA 02110-1301 USA.
21
+ *
22
+ * SPDX-License-Identifier: LGPL-2.0-or-later
22
23
  */
23
24
 
24
25
  #ifndef LIBEXIF_EXIF_DATA_H
@@ -18,6 +18,8 @@
18
18
  * License along with this library; if not, write to the
19
19
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
20
  * Boston, MA 02110-1301 USA.
21
+ *
22
+ * SPDX-License-Identifier: LGPL-2.0-or-later
21
23
  */
22
24
 
23
25
  #ifndef LIBEXIF_EXIF_ENTRY_H
@@ -19,6 +19,8 @@
19
19
  * License along with this library; if not, write to the
20
20
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
21
  * Boston, MA 02110-1301 USA.
22
+ *
23
+ * SPDX-License-Identifier: LGPL-2.0-or-later
22
24
  */
23
25
 
24
26
  #ifndef LIBEXIF_EXIF_FORMAT_H
@@ -16,6 +16,8 @@
16
16
  * License along with this library; if not, write to the
17
17
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
18
  * Boston, MA 02110-1301 USA.
19
+ *
20
+ * SPDX-License-Identifier: LGPL-2.1-or-later
19
21
  */
20
22
 
21
23
  #ifndef LIBEXIF_EXIF_IFD_H
@@ -18,6 +18,8 @@
18
18
  * License along with this library; if not, write to the
19
19
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
20
  * Boston, MA 02110-1301 USA.
21
+ *
22
+ * SPDX-License-Identifier: LGPL-2.0-or-later
21
23
  */
22
24
 
23
25
  #ifndef LIBEXIF_EXIF_LOADER_H
@@ -18,6 +18,8 @@
18
18
  * License along with this library; if not, write to the
19
19
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
20
  * Boston, MA 02110-1301 USA.
21
+ *
22
+ * SPDX-License-Identifier: LGPL-2.0-or-later
21
23
  */
22
24
 
23
25
  #ifndef LIBEXIF_EXIF_LOG_H