@revizly/sharp-libvips-dev 1.0.10 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/archive.h +3 -3
- package/include/archive_entry.h +3 -2
- package/include/cairo/cairo-version.h +1 -1
- package/include/expat.h +3 -3
- package/include/expat_config.h +3 -3
- package/include/ffi.h +1 -1
- package/include/fontconfig/fcfreetype.h +5 -5
- package/include/fontconfig/fcprivate.h +86 -92
- package/include/fontconfig/fontconfig.h +327 -320
- package/include/glib-2.0/gio/gdbusnameowning.h +12 -10
- package/include/glib-2.0/gio/gsettings.h +35 -31
- package/include/glib-2.0/gobject/gsignal.h +33 -8
- package/include/harfbuzz/hb-buffer.h +62 -3
- package/include/harfbuzz/hb-common.h +11 -0
- package/include/harfbuzz/hb-draw.h +10 -2
- package/include/harfbuzz/hb-face.h +14 -0
- package/include/harfbuzz/hb-font.h +6 -0
- package/include/harfbuzz/hb-ft.h +12 -1
- package/include/harfbuzz/hb-paint.h +8 -0
- package/include/harfbuzz/hb-subset.h +17 -0
- package/include/harfbuzz/hb-version.h +4 -4
- package/include/libheif/heif.h +6 -0
- package/include/libheif/heif_cxx.h +18 -12
- package/include/libheif/heif_items.h +2 -2
- package/include/libheif/heif_version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
- package/include/libxml2/libxml/HTMLparser.h +33 -30
- package/include/libxml2/libxml/HTMLtree.h +1 -0
- package/include/libxml2/libxml/SAX.h +2 -186
- package/include/libxml2/libxml/SAX2.h +2 -3
- package/include/libxml2/libxml/catalog.h +1 -0
- package/include/libxml2/libxml/debugXML.h +0 -138
- package/include/libxml2/libxml/encoding.h +124 -61
- package/include/libxml2/libxml/entities.h +0 -19
- package/include/libxml2/libxml/globals.h +0 -16
- package/include/libxml2/libxml/nanoftp.h +3 -173
- package/include/libxml2/libxml/parser.h +472 -231
- package/include/libxml2/libxml/parserInternals.h +21 -101
- package/include/libxml2/libxml/relaxng.h +7 -2
- package/include/libxml2/libxml/threads.h +0 -6
- package/include/libxml2/libxml/tree.h +29 -85
- package/include/libxml2/libxml/valid.h +20 -12
- package/include/libxml2/libxml/xinclude.h +5 -0
- package/include/libxml2/libxml/xlink.h +4 -0
- package/include/libxml2/libxml/xmlIO.h +13 -32
- package/include/libxml2/libxml/xmlautomata.h +19 -2
- package/include/libxml2/libxml/xmlerror.h +17 -18
- package/include/libxml2/libxml/xmlexports.h +6 -56
- package/include/libxml2/libxml/xmlmemory.h +19 -19
- package/include/libxml2/libxml/xmlmodule.h +4 -0
- package/include/libxml2/libxml/xmlreader.h +11 -3
- package/include/libxml2/libxml/xmlregexp.h +7 -106
- package/include/libxml2/libxml/xmlsave.h +11 -2
- package/include/libxml2/libxml/xmlschemas.h +10 -5
- package/include/libxml2/libxml/xmlunicode.h +3 -354
- package/include/libxml2/libxml/xmlversion.h +18 -33
- package/include/libxml2/libxml/xpath.h +5 -15
- package/include/libxml2/libxml/xpathInternals.h +9 -3
- package/include/libxml2/libxml/xpointer.h +1 -91
- package/include/pango-1.0/pango/pango-features.h +2 -2
- package/include/pango-1.0/pango/pango-font.h +1 -1
- package/include/vips/colour.h +2 -0
- package/include/vips/version.h +4 -4
- package/package.json +1 -1
- package/versions.json +13 -13
|
@@ -33,9 +33,9 @@ G_BEGIN_DECLS
|
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* GBusAcquiredCallback:
|
|
36
|
-
* @connection:
|
|
37
|
-
* @name:
|
|
38
|
-
* @user_data:
|
|
36
|
+
* @connection: the connection to a message bus
|
|
37
|
+
* @name: the name that is requested to be owned
|
|
38
|
+
* @user_data: user data passed to [func@Gio.bus_own_name]
|
|
39
39
|
*
|
|
40
40
|
* Invoked when a connection to a message bus has been obtained.
|
|
41
41
|
*
|
|
@@ -47,9 +47,10 @@ typedef void (*GBusAcquiredCallback) (GDBusConnection *connection,
|
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* GBusNameAcquiredCallback:
|
|
50
|
-
* @connection:
|
|
51
|
-
* @name:
|
|
52
|
-
* @user_data:
|
|
50
|
+
* @connection: the connection on which to acquired the name
|
|
51
|
+
* @name: the name being owned
|
|
52
|
+
* @user_data: user data passed to [func@Gio.bus_own_name] or
|
|
53
|
+
* [func@Gio.bus_own_name_on_connection]
|
|
53
54
|
*
|
|
54
55
|
* Invoked when the name is acquired.
|
|
55
56
|
*
|
|
@@ -61,10 +62,11 @@ typedef void (*GBusNameAcquiredCallback) (GDBusConnection *connection,
|
|
|
61
62
|
|
|
62
63
|
/**
|
|
63
64
|
* GBusNameLostCallback:
|
|
64
|
-
* @connection:
|
|
65
|
-
*
|
|
66
|
-
* @name:
|
|
67
|
-
* @user_data:
|
|
65
|
+
* @connection: the connect on which to acquire the name or `NULL` if
|
|
66
|
+
* the connection was disconnected
|
|
67
|
+
* @name: the name being owned
|
|
68
|
+
* @user_data: user data passed to [func@Gio.bus_own_name] or
|
|
69
|
+
* [func@Gio.bus_own_name_on_connection]
|
|
68
70
|
*
|
|
69
71
|
* Invoked when the name is lost or @connection has been closed.
|
|
70
72
|
*
|
|
@@ -224,15 +224,15 @@ void g_settings_sync (void);
|
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* GSettingsBindSetMapping:
|
|
227
|
-
* @value:
|
|
228
|
-
* @expected_type:
|
|
227
|
+
* @value: the property value to map
|
|
228
|
+
* @expected_type: expected type of the result
|
|
229
229
|
* @user_data: user data that was specified when the binding was created
|
|
230
230
|
*
|
|
231
231
|
* The type for the function that is used to convert an object property
|
|
232
|
-
* value to a
|
|
232
|
+
* value to a [struct@GLib.Variant] for storing it in [class@Gio.Settings].
|
|
233
233
|
*
|
|
234
|
-
* Returns: a new
|
|
235
|
-
*
|
|
234
|
+
* Returns: (nullable): a new [struct@GLib.Variant] holding the data from @value,
|
|
235
|
+
* or `NULL` in case of an error
|
|
236
236
|
*/
|
|
237
237
|
typedef GVariant * (*GSettingsBindSetMapping) (const GValue *value,
|
|
238
238
|
const GVariantType *expected_type,
|
|
@@ -241,14 +241,15 @@ typedef GVariant * (*GSettingsBindSetMapping) (const G
|
|
|
241
241
|
/**
|
|
242
242
|
* GSettingsBindGetMapping:
|
|
243
243
|
* @value: return location for the property value
|
|
244
|
-
* @variant: the
|
|
244
|
+
* @variant: variant to map to the property value
|
|
245
245
|
* @user_data: user data that was specified when the binding was created
|
|
246
246
|
*
|
|
247
|
-
* The type for the function that is used to convert from
|
|
248
|
-
* an object property.
|
|
249
|
-
* of the appropriate type.
|
|
247
|
+
* The type for the function that is used to convert from [class@Gio.Settings]
|
|
248
|
+
* to an object property.
|
|
250
249
|
*
|
|
251
|
-
*
|
|
250
|
+
* The @value is already initialized to hold values of the appropriate type.
|
|
251
|
+
*
|
|
252
|
+
* Returns: true if the conversion succeeded, false in case of an error
|
|
252
253
|
*/
|
|
253
254
|
typedef gboolean (*GSettingsBindGetMapping) (GValue *value,
|
|
254
255
|
GVariant *variant,
|
|
@@ -256,23 +257,23 @@ typedef gboolean (*GSettingsBindGetMapping) (GValue
|
|
|
256
257
|
|
|
257
258
|
/**
|
|
258
259
|
* GSettingsGetMapping:
|
|
259
|
-
* @value:
|
|
260
|
+
* @value: (nullable): variant to map to the application value
|
|
260
261
|
* @result: (out): the result of the mapping
|
|
261
262
|
* @user_data: (closure): the user data that was passed to
|
|
262
|
-
*
|
|
263
|
+
* [method@Gio.Settings.get_mapped]
|
|
263
264
|
*
|
|
264
265
|
* The type of the function that is used to convert from a value stored
|
|
265
|
-
* in a
|
|
266
|
+
* in a [class@Gio.Settings] to a value that is useful to the application.
|
|
266
267
|
*
|
|
267
268
|
* If the value is successfully mapped, the result should be stored at
|
|
268
|
-
* @result and
|
|
269
|
-
* is not in the right format) then
|
|
269
|
+
* @result and true returned. If mapping fails (for example, if @value
|
|
270
|
+
* is not in the right format) then false should be returned.
|
|
270
271
|
*
|
|
271
|
-
* If @value is
|
|
272
|
-
* given a
|
|
272
|
+
* If @value is `NULL` then it means that the mapping function is being
|
|
273
|
+
* given a ‘last chance’ to successfully return a valid value. True
|
|
273
274
|
* must be returned in this case.
|
|
274
275
|
*
|
|
275
|
-
* Returns:
|
|
276
|
+
* Returns: true if the conversion succeeded, false in case of an error
|
|
276
277
|
**/
|
|
277
278
|
typedef gboolean (*GSettingsGetMapping) (GVariant *value,
|
|
278
279
|
gpointer *result,
|
|
@@ -281,20 +282,23 @@ typedef gboolean (*GSettingsGetMapping) (GVarian
|
|
|
281
282
|
/**
|
|
282
283
|
* GSettingsBindFlags:
|
|
283
284
|
* @G_SETTINGS_BIND_DEFAULT: Equivalent to `G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET`
|
|
284
|
-
* @G_SETTINGS_BIND_GET: Update the
|
|
285
|
-
*
|
|
286
|
-
* @G_SETTINGS_BIND_SET: Update the setting when the
|
|
287
|
-
*
|
|
288
|
-
* @G_SETTINGS_BIND_NO_SENSITIVITY: Do not try to bind a
|
|
289
|
-
* @G_SETTINGS_BIND_GET_NO_CHANGES: When set in addition to
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
285
|
+
* @G_SETTINGS_BIND_GET: Update the [class@GObject.Object] property when the setting changes.
|
|
286
|
+
* It is an error to use this flag if the property is not writable.
|
|
287
|
+
* @G_SETTINGS_BIND_SET: Update the setting when the [class@GObject.Object] property changes.
|
|
288
|
+
* It is an error to use this flag if the property is not readable.
|
|
289
|
+
* @G_SETTINGS_BIND_NO_SENSITIVITY: Do not try to bind a ‘sensitivity’ property to the writability of the setting
|
|
290
|
+
* @G_SETTINGS_BIND_GET_NO_CHANGES: When set in addition to [flags@Gio.SettingsBindFlags.GET],
|
|
291
|
+
* set the [class@GObject.Object] property
|
|
292
|
+
* value initially from the setting, but do not listen for changes of the setting
|
|
293
|
+
* @G_SETTINGS_BIND_INVERT_BOOLEAN: When passed to [method@Gio.Settings.bind],
|
|
294
|
+
* uses a pair of mapping functions that invert
|
|
295
|
+
* the boolean value when mapping between the setting and the property. The setting and property must both
|
|
296
|
+
* be booleans. You cannot pass this flag to [method@Gio.Settings.bind_with_mapping].
|
|
297
|
+
*
|
|
298
|
+
* Flags used when creating a binding.
|
|
294
299
|
*
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
* directions.
|
|
300
|
+
* These flags determine in which direction the binding works. The default is to
|
|
301
|
+
* synchronize in both directions.
|
|
298
302
|
*/
|
|
299
303
|
typedef enum
|
|
300
304
|
{
|
|
@@ -124,14 +124,6 @@ typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint,
|
|
|
124
124
|
* of as object methods which can be called generically by
|
|
125
125
|
* third-party code.
|
|
126
126
|
* @G_SIGNAL_NO_HOOKS: No emissions hooks are supported for this signal.
|
|
127
|
-
* @G_SIGNAL_MUST_COLLECT: Varargs signal emission will always collect the
|
|
128
|
-
* arguments, even if there are no signal handlers connected. Since 2.30.
|
|
129
|
-
* @G_SIGNAL_DEPRECATED: The signal is deprecated and will be removed
|
|
130
|
-
* in a future version. A warning will be generated if it is connected while
|
|
131
|
-
* running with G_ENABLE_DIAGNOSTIC=1. Since 2.32.
|
|
132
|
-
* @G_SIGNAL_ACCUMULATOR_FIRST_RUN: Only used in #GSignalAccumulator accumulator
|
|
133
|
-
* functions for the #GSignalInvocationHint::run_type field to mark the first
|
|
134
|
-
* call to the accumulator function for a signal emission. Since 2.68.
|
|
135
127
|
*
|
|
136
128
|
* The signal flags are used to specify a signal's behaviour.
|
|
137
129
|
*/
|
|
@@ -149,6 +141,39 @@ typedef enum
|
|
|
149
141
|
/* normal signal flags until 1 << 16 */
|
|
150
142
|
G_SIGNAL_ACCUMULATOR_FIRST_RUN = 1 << 17,
|
|
151
143
|
} GSignalFlags;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* G_SIGNAL_MUST_COLLECT:
|
|
147
|
+
*
|
|
148
|
+
* Varargs signal emission will always collect the arguments, even if there
|
|
149
|
+
* are no signal handlers connected.
|
|
150
|
+
*
|
|
151
|
+
* Since: 2.30
|
|
152
|
+
*/
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* G_SIGNAL_DEPRECATED:
|
|
156
|
+
*
|
|
157
|
+
* The signal is deprecated and will be removed in a future version.
|
|
158
|
+
*
|
|
159
|
+
* A warning will be generated if it is connected while running with
|
|
160
|
+
* `G_ENABLE_DIAGNOSTIC=1`.
|
|
161
|
+
*
|
|
162
|
+
* Since: 2.32
|
|
163
|
+
*/
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* G_SIGNAL_ACCUMULATOR_FIRST_RUN:
|
|
167
|
+
*
|
|
168
|
+
* The signal accumulator was invoked for the first time.
|
|
169
|
+
*
|
|
170
|
+
* This flag is only used in [callback@GObject.SignalAccumulator][accumulator functions]
|
|
171
|
+
* for the `run_type` field of the [struct@GObject.SignalInvocationHint], to
|
|
172
|
+
* mark the first call to the accumulator function for a signal emission.
|
|
173
|
+
*
|
|
174
|
+
* Since: 2.68
|
|
175
|
+
*/
|
|
176
|
+
|
|
152
177
|
/**
|
|
153
178
|
* G_SIGNAL_FLAGS_MASK:
|
|
154
179
|
*
|
|
@@ -422,18 +422,34 @@ hb_buffer_get_flags (const hb_buffer_t *buffer);
|
|
|
422
422
|
* @HB_BUFFER_CLUSTER_LEVEL_CHARACTERS: Don't group cluster values.
|
|
423
423
|
* @HB_BUFFER_CLUSTER_LEVEL_DEFAULT: Default cluster level,
|
|
424
424
|
* equal to @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES.
|
|
425
|
-
*
|
|
425
|
+
* @HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES: Only group clusters, but don't enforce monotone order.
|
|
426
|
+
*
|
|
426
427
|
* Data type for holding HarfBuzz's clustering behavior options. The cluster level
|
|
427
|
-
* dictates one aspect of how HarfBuzz will treat non-base characters
|
|
428
|
+
* dictates one aspect of how HarfBuzz will treat non-base characters
|
|
428
429
|
* during shaping.
|
|
429
430
|
*
|
|
430
431
|
* In @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES, non-base
|
|
431
432
|
* characters are merged into the cluster of the base character that precedes them.
|
|
433
|
+
* There is also cluster merging every time the clusters will otherwise become non-monotone.
|
|
432
434
|
*
|
|
433
435
|
* In @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS, non-base characters are initially
|
|
434
436
|
* assigned their own cluster values, which are not merged into preceding base
|
|
435
437
|
* clusters. This allows HarfBuzz to perform additional operations like reorder
|
|
436
|
-
* sequences of adjacent marks.
|
|
438
|
+
* sequences of adjacent marks. The output is still monotone, but the cluster
|
|
439
|
+
* values are more granular.
|
|
440
|
+
*
|
|
441
|
+
* In @HB_BUFFER_CLUSTER_LEVEL_CHARACTERS, non-base characters are assigned their
|
|
442
|
+
* own cluster values, which are not merged into preceding base clusters. Moreover,
|
|
443
|
+
* the cluster values are not merged into monotone order. This is the most granular
|
|
444
|
+
* cluster level, and it is useful for clients that need to know the exact cluster
|
|
445
|
+
* values of each character, but is harder to use for clients, since clusters
|
|
446
|
+
* might appear in any order.
|
|
447
|
+
*
|
|
448
|
+
* In @HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES, non-base characters are merged into the
|
|
449
|
+
* cluster of the base character that precedes them. This is similar to the Unicode
|
|
450
|
+
* Grapheme Cluster algorithm, but it is not exactly the same. The output is
|
|
451
|
+
* not forced to be monotone. This is useful for clients that want to use HarfBuzz
|
|
452
|
+
* as a cheap implementation of the Unicode Grapheme Cluster algorithm.
|
|
437
453
|
*
|
|
438
454
|
* @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES is the default, because it maintains
|
|
439
455
|
* backward compatibility with older versions of HarfBuzz. New client programs that
|
|
@@ -446,9 +462,52 @@ typedef enum {
|
|
|
446
462
|
HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES = 0,
|
|
447
463
|
HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS = 1,
|
|
448
464
|
HB_BUFFER_CLUSTER_LEVEL_CHARACTERS = 2,
|
|
465
|
+
HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES = 3,
|
|
449
466
|
HB_BUFFER_CLUSTER_LEVEL_DEFAULT = HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES
|
|
450
467
|
} hb_buffer_cluster_level_t;
|
|
451
468
|
|
|
469
|
+
/**
|
|
470
|
+
* HB_BUFFER_CLUSTER_LEVEL_IS_MONOTONE:
|
|
471
|
+
* @level: #hb_buffer_cluster_level_t to test
|
|
472
|
+
*
|
|
473
|
+
* Tests whether a cluster level groups cluster values into monotone order.
|
|
474
|
+
* Requires that the level be valid.
|
|
475
|
+
*
|
|
476
|
+
* Since: 11.0.0
|
|
477
|
+
*/
|
|
478
|
+
#define HB_BUFFER_CLUSTER_LEVEL_IS_MONOTONE(level) \
|
|
479
|
+
((bool) ((1u << (unsigned) (level)) & \
|
|
480
|
+
((1u << HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES) | \
|
|
481
|
+
(1u << HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS))))
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* HB_BUFFER_CLUSTER_LEVEL_IS_GRAPHEMES:
|
|
485
|
+
* @level: #hb_buffer_cluster_level_t to test
|
|
486
|
+
*
|
|
487
|
+
* Tests whether a cluster level groups cluster values by graphemes. Requires
|
|
488
|
+
* that the level be valid.
|
|
489
|
+
*
|
|
490
|
+
* Since: 11.0.0
|
|
491
|
+
*/
|
|
492
|
+
#define HB_BUFFER_CLUSTER_LEVEL_IS_GRAPHEMES(level) \
|
|
493
|
+
((bool) ((1u << (unsigned) (level)) & \
|
|
494
|
+
((1u << HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES) | \
|
|
495
|
+
(1u << HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES))))
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* HB_BUFFER_CLUSTER_LEVEL_IS_CHARACTERS
|
|
499
|
+
* @level: #hb_buffer_cluster_level_t to test
|
|
500
|
+
*
|
|
501
|
+
* Tests whether a cluster level does not group cluster values by graphemes.
|
|
502
|
+
* Requires that the level be valid.
|
|
503
|
+
*
|
|
504
|
+
* Since: 11.0.0
|
|
505
|
+
*/
|
|
506
|
+
#define HB_BUFFER_CLUSTER_LEVEL_IS_CHARACTERS(level) \
|
|
507
|
+
((bool) ((1u << (unsigned) (level)) & \
|
|
508
|
+
((1u << HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARCATERS) | \
|
|
509
|
+
(1u << HB_BUFFER_CLUSTER_LEVEL_CHARACTERS))))
|
|
510
|
+
|
|
452
511
|
HB_EXTERN void
|
|
453
512
|
hb_buffer_set_cluster_level (hb_buffer_t *buffer,
|
|
454
513
|
hb_buffer_cluster_level_t cluster_level);
|
|
@@ -65,6 +65,7 @@ typedef unsigned __int64 uint64_t;
|
|
|
65
65
|
#else
|
|
66
66
|
# include <inttypes.h>
|
|
67
67
|
#endif
|
|
68
|
+
#include <stddef.h>
|
|
68
69
|
|
|
69
70
|
#if defined(__GNUC__) && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
|
|
70
71
|
#define HB_DEPRECATED __attribute__((__deprecated__))
|
|
@@ -948,6 +949,16 @@ typedef struct hb_glyph_extents_t {
|
|
|
948
949
|
*/
|
|
949
950
|
typedef struct hb_font_t hb_font_t;
|
|
950
951
|
|
|
952
|
+
/* Not of much use to clients. */
|
|
953
|
+
HB_EXTERN void*
|
|
954
|
+
hb_malloc (size_t size);
|
|
955
|
+
HB_EXTERN void*
|
|
956
|
+
hb_calloc (size_t nmemb, size_t size);
|
|
957
|
+
HB_EXTERN void*
|
|
958
|
+
hb_realloc (void *ptr, size_t size);
|
|
959
|
+
HB_EXTERN void
|
|
960
|
+
hb_free (void *ptr);
|
|
961
|
+
|
|
951
962
|
HB_END_DECLS
|
|
952
963
|
|
|
953
964
|
#endif /* HB_COMMON_H */
|
|
@@ -41,9 +41,16 @@ HB_BEGIN_DECLS
|
|
|
41
41
|
* @path_start_y: Y component of the start of current path
|
|
42
42
|
* @current_x: X component of current point
|
|
43
43
|
* @current_y: Y component of current point
|
|
44
|
+
* @slant_xy: Slanting factor for synthetic oblique, Since: 11.0.0
|
|
44
45
|
*
|
|
45
46
|
* Current drawing state.
|
|
46
47
|
*
|
|
48
|
+
* The @slant_xy is a slanting factor for synthetic oblique. If the font's
|
|
49
|
+
* oblique angle is not 0, this factor is used to slant the drawing. For
|
|
50
|
+
* fonts with uniform x and y scales, this factor is calculated as
|
|
51
|
+
* tan(oblique_angle). For fonts with non-uniform scales, this factor is
|
|
52
|
+
* calculated as tan(oblique_angle) * x_scale / y_scale, or 0 if y_scale is 0.
|
|
53
|
+
*
|
|
47
54
|
* Since: 4.0.0
|
|
48
55
|
**/
|
|
49
56
|
typedef struct hb_draw_state_t {
|
|
@@ -55,6 +62,8 @@ typedef struct hb_draw_state_t {
|
|
|
55
62
|
float current_x;
|
|
56
63
|
float current_y;
|
|
57
64
|
|
|
65
|
+
float slant_xy;
|
|
66
|
+
|
|
58
67
|
/*< private >*/
|
|
59
68
|
hb_var_num_t reserved1;
|
|
60
69
|
hb_var_num_t reserved2;
|
|
@@ -62,7 +71,6 @@ typedef struct hb_draw_state_t {
|
|
|
62
71
|
hb_var_num_t reserved4;
|
|
63
72
|
hb_var_num_t reserved5;
|
|
64
73
|
hb_var_num_t reserved6;
|
|
65
|
-
hb_var_num_t reserved7;
|
|
66
74
|
} hb_draw_state_t;
|
|
67
75
|
|
|
68
76
|
/**
|
|
@@ -70,7 +78,7 @@ typedef struct hb_draw_state_t {
|
|
|
70
78
|
*
|
|
71
79
|
* The default #hb_draw_state_t at the start of glyph drawing.
|
|
72
80
|
*/
|
|
73
|
-
#define HB_DRAW_STATE_DEFAULT {0, 0.f, 0.f, 0.f, 0.f,
|
|
81
|
+
#define HB_DRAW_STATE_DEFAULT {0, 0.f, 0.f, 0.f, 0.f, 0.f, {0.}, {0.}, {0.}, {0.}, {0.}, {0.}}
|
|
74
82
|
|
|
75
83
|
|
|
76
84
|
/**
|
|
@@ -63,10 +63,24 @@ HB_EXTERN hb_face_t *
|
|
|
63
63
|
hb_face_create_or_fail (hb_blob_t *blob,
|
|
64
64
|
unsigned int index);
|
|
65
65
|
|
|
66
|
+
HB_EXTERN hb_face_t *
|
|
67
|
+
hb_face_create_or_fail_using (hb_blob_t *blob,
|
|
68
|
+
unsigned int index,
|
|
69
|
+
const char *loader_name);
|
|
70
|
+
|
|
66
71
|
HB_EXTERN hb_face_t *
|
|
67
72
|
hb_face_create_from_file_or_fail (const char *file_name,
|
|
68
73
|
unsigned int index);
|
|
69
74
|
|
|
75
|
+
HB_EXTERN hb_face_t *
|
|
76
|
+
hb_face_create_from_file_or_fail_using (const char *file_name,
|
|
77
|
+
unsigned int index,
|
|
78
|
+
const char *loader_name);
|
|
79
|
+
|
|
80
|
+
HB_EXTERN const char **
|
|
81
|
+
hb_face_list_loaders (void);
|
|
82
|
+
|
|
83
|
+
|
|
70
84
|
/**
|
|
71
85
|
* hb_reference_table_func_t:
|
|
72
86
|
* @face: an #hb_face_t to reference table for
|
|
@@ -1052,6 +1052,12 @@ hb_font_set_funcs_data (hb_font_t *font,
|
|
|
1052
1052
|
void *font_data,
|
|
1053
1053
|
hb_destroy_func_t destroy);
|
|
1054
1054
|
|
|
1055
|
+
HB_EXTERN hb_bool_t
|
|
1056
|
+
hb_font_set_funcs_using (hb_font_t *font,
|
|
1057
|
+
const char *name);
|
|
1058
|
+
|
|
1059
|
+
HB_EXTERN const char **
|
|
1060
|
+
hb_font_list_funcs (void);
|
|
1055
1061
|
|
|
1056
1062
|
HB_EXTERN void
|
|
1057
1063
|
hb_font_set_scale (hb_font_t *font,
|
package/include/harfbuzz/hb-ft.h
CHANGED
|
@@ -88,6 +88,10 @@ HB_EXTERN hb_face_t *
|
|
|
88
88
|
hb_ft_face_create_from_file_or_fail (const char *file_name,
|
|
89
89
|
unsigned int index);
|
|
90
90
|
|
|
91
|
+
HB_EXTERN hb_face_t *
|
|
92
|
+
hb_ft_face_create_from_blob_or_fail (hb_blob_t *blob,
|
|
93
|
+
unsigned int index);
|
|
94
|
+
|
|
91
95
|
/*
|
|
92
96
|
* hb-font from ft-face.
|
|
93
97
|
*/
|
|
@@ -111,7 +115,7 @@ HB_EXTERN hb_font_t *
|
|
|
111
115
|
hb_ft_font_create_referenced (FT_Face ft_face);
|
|
112
116
|
|
|
113
117
|
HB_EXTERN FT_Face
|
|
114
|
-
|
|
118
|
+
hb_ft_font_get_ft_face (hb_font_t *font);
|
|
115
119
|
|
|
116
120
|
HB_EXTERN FT_Face
|
|
117
121
|
hb_ft_font_lock_face (hb_font_t *font);
|
|
@@ -142,6 +146,13 @@ hb_ft_hb_font_changed (hb_font_t *font);
|
|
|
142
146
|
HB_EXTERN void
|
|
143
147
|
hb_ft_font_set_funcs (hb_font_t *font);
|
|
144
148
|
|
|
149
|
+
#ifndef HB_DISABLE_DEPRECATED
|
|
150
|
+
|
|
151
|
+
HB_DEPRECATED_FOR (hb_ft_font_get_ft_face)
|
|
152
|
+
HB_EXTERN FT_Face
|
|
153
|
+
hb_ft_font_get_face (hb_font_t *font);
|
|
154
|
+
|
|
155
|
+
#endif
|
|
145
156
|
|
|
146
157
|
HB_END_DECLS
|
|
147
158
|
|
|
@@ -956,6 +956,14 @@ hb_paint_push_transform (hb_paint_funcs_t *funcs, void *paint_data,
|
|
|
956
956
|
float xy, float yy,
|
|
957
957
|
float dx, float dy);
|
|
958
958
|
|
|
959
|
+
HB_EXTERN void
|
|
960
|
+
hb_paint_push_font_transform (hb_paint_funcs_t *funcs, void *paint_data,
|
|
961
|
+
const hb_font_t *font);
|
|
962
|
+
|
|
963
|
+
HB_EXTERN void
|
|
964
|
+
hb_paint_push_inverse_font_transform (hb_paint_funcs_t *funcs, void *paint_data,
|
|
965
|
+
const hb_font_t *font);
|
|
966
|
+
|
|
959
967
|
HB_EXTERN void
|
|
960
968
|
hb_paint_pop_transform (hb_paint_funcs_t *funcs, void *paint_data);
|
|
961
969
|
|
|
@@ -224,6 +224,23 @@ hb_subset_input_override_name_table (hb_subset_input_t *input,
|
|
|
224
224
|
unsigned language_id,
|
|
225
225
|
const char *name_str,
|
|
226
226
|
int str_len);
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
/*
|
|
230
|
+
* Raw outline data access
|
|
231
|
+
*/
|
|
232
|
+
|
|
233
|
+
HB_EXTERN hb_blob_t*
|
|
234
|
+
hb_subset_cff_get_charstring_data (hb_face_t* face, hb_codepoint_t glyph_index);
|
|
235
|
+
|
|
236
|
+
HB_EXTERN hb_blob_t*
|
|
237
|
+
hb_subset_cff_get_charstrings_index (hb_face_t* face);
|
|
238
|
+
|
|
239
|
+
HB_EXTERN hb_blob_t*
|
|
240
|
+
hb_subset_cff2_get_charstring_data (hb_face_t* face, hb_codepoint_t glyph_index);
|
|
241
|
+
|
|
242
|
+
HB_EXTERN hb_blob_t*
|
|
243
|
+
hb_subset_cff2_get_charstrings_index (hb_face_t* face);
|
|
227
244
|
#endif
|
|
228
245
|
|
|
229
246
|
HB_EXTERN hb_face_t *
|
|
@@ -41,26 +41,26 @@ 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
|
|
44
|
+
#define HB_VERSION_MAJOR 11
|
|
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
|
|
50
|
+
#define HB_VERSION_MINOR 0
|
|
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
|
|
56
|
+
#define HB_VERSION_MICRO 1
|
|
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 "
|
|
63
|
+
#define HB_VERSION_STRING "11.0.1"
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* HB_VERSION_ATLEAST:
|
package/include/libheif/heif.h
CHANGED
|
@@ -1897,6 +1897,7 @@ int heif_image_has_channel(const struct heif_image*, enum heif_channel channel);
|
|
|
1897
1897
|
// The 'out_stride' is returned as "bytes per line".
|
|
1898
1898
|
// When out_stride is NULL, no value will be written.
|
|
1899
1899
|
// Returns NULL if a non-existing channel was given.
|
|
1900
|
+
// TODO: it would be better if the 'stride' parameter would be size_t to prevent integer overflows when this value is multiplicated with large y coordinates.
|
|
1900
1901
|
LIBHEIF_API
|
|
1901
1902
|
const uint8_t* heif_image_get_plane_readonly(const struct heif_image*,
|
|
1902
1903
|
enum heif_channel channel,
|
|
@@ -2383,6 +2384,11 @@ struct heif_encoding_options
|
|
|
2383
2384
|
|
|
2384
2385
|
// Set this to true to use compressed form of uncC where possible.
|
|
2385
2386
|
uint8_t prefer_uncC_short_form;
|
|
2387
|
+
|
|
2388
|
+
// TODO: we should add a flag to force MIAF compatible outputs. E.g. this will put restrictions on grid tile sizes and
|
|
2389
|
+
// might add a clap box when the grid output size does not match the color subsampling factors.
|
|
2390
|
+
// Since some of these constraints have to be known before actually encoding the image, "forcing MIAF compatibility"
|
|
2391
|
+
// could also be a flag in the heif_context.
|
|
2386
2392
|
};
|
|
2387
2393
|
|
|
2388
2394
|
LIBHEIF_API
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* C++ interface to libheif
|
|
3
|
-
* Copyright (c) 2018 Dirk Farin <dirk.farin@gmail.com>
|
|
4
3
|
*
|
|
5
|
-
*
|
|
4
|
+
* MIT License
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2018 Dirk Farin <dirk.farin@gmail.com>
|
|
6
7
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
10
|
+
* in the Software without restriction, including without limitation the rights
|
|
11
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
13
|
+
* furnished to do so, subject to the following conditions:
|
|
11
14
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
-
* GNU Lesser General Public License for more details.
|
|
15
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
16
|
+
* copies or substantial portions of the Software.
|
|
16
17
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
18
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
24
|
+
* SOFTWARE.
|
|
19
25
|
*/
|
|
20
26
|
|
|
21
27
|
#ifndef LIBHEIF_HEIF_CXX_H
|
|
@@ -151,7 +151,7 @@ struct heif_error heif_item_set_item_name(struct heif_context* ctx,
|
|
|
151
151
|
LIBHEIF_API
|
|
152
152
|
struct heif_error heif_item_get_item_data(const struct heif_context* ctx,
|
|
153
153
|
heif_item_id item_id,
|
|
154
|
-
heif_metadata_compression* out_compression_format,
|
|
154
|
+
enum heif_metadata_compression* out_compression_format,
|
|
155
155
|
uint8_t** out_data, size_t* out_data_size);
|
|
156
156
|
|
|
157
157
|
/**
|
|
@@ -213,7 +213,7 @@ struct heif_error heif_context_add_item(struct heif_context* ctx,
|
|
|
213
213
|
LIBHEIF_API
|
|
214
214
|
struct heif_error heif_context_add_mime_item(struct heif_context* ctx,
|
|
215
215
|
const char* content_type,
|
|
216
|
-
heif_metadata_compression content_encoding,
|
|
216
|
+
enum heif_metadata_compression content_encoding,
|
|
217
217
|
const void* data, int size,
|
|
218
218
|
heif_item_id* out_item_id);
|
|
219
219
|
|
|
@@ -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) | (19<<16) | (
|
|
31
|
+
#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (19<<16) | (7<<8) | 0)
|
|
32
32
|
|
|
33
33
|
/* Version string */
|
|
34
|
-
#define LIBHEIF_VERSION "1.19.
|
|
34
|
+
#define LIBHEIF_VERSION "1.19.7"
|
|
35
35
|
|
|
36
36
|
#define LIBHEIF_PLUGIN_DIRECTORY "/target/lib/libheif"
|
|
37
37
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
#define RSVG_VERSION_H
|
|
7
7
|
|
|
8
8
|
#define LIBRSVG_MAJOR_VERSION (2)
|
|
9
|
-
#define LIBRSVG_MINOR_VERSION (
|
|
10
|
-
#define LIBRSVG_MICRO_VERSION (
|
|
11
|
-
#define LIBRSVG_VERSION "2.
|
|
9
|
+
#define LIBRSVG_MINOR_VERSION (60)
|
|
10
|
+
#define LIBRSVG_MICRO_VERSION (0)
|
|
11
|
+
#define LIBRSVG_VERSION "2.60.0"
|
|
12
12
|
|
|
13
13
|
#endif
|