@revizly/sharp-libvips-dev 1.0.9 → 1.0.10
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/aom/aomcx.h +35 -7
- package/include/ffi.h +1 -1
- package/include/fontconfig/fontconfig.h +22 -2
- package/include/gio-unix-2.0/gio/gdesktopappinfo.h +1 -1
- package/include/gio-unix-2.0/gio/gunixmounts.h +8 -1
- package/include/glib-2.0/gio/gdbusconnection.h +65 -5
- package/include/glib-2.0/gio/gdebugcontroller.h +1 -1
- package/include/glib-2.0/gio/gioenums.h +14 -3
- package/include/glib-2.0/gio/gioenumtypes.h +3 -3
- package/include/glib-2.0/gio/giotypes.h +4 -4
- package/include/glib-2.0/gio/gmemorymonitor.h +1 -1
- package/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
- package/include/glib-2.0/gio/gpowerprofilemonitor.h +1 -1
- package/include/glib-2.0/gio/gproxy.h +1 -1
- package/include/glib-2.0/gio/gproxyresolver.h +1 -1
- package/include/glib-2.0/gio/gtlsbackend.h +1 -1
- package/include/glib-2.0/gio/gvfs.h +3 -3
- package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
- package/include/glib-2.0/glib/gerror.h +1 -1
- package/include/glib-2.0/glib/gmacros.h +1 -3
- package/include/glib-2.0/glib/gmain.h +1 -1
- package/include/glib-2.0/glib/goption.h +58 -36
- package/include/glib-2.0/glib/gqueue.h +1 -1
- package/include/glib-2.0/glib/gtestutils.h +65 -33
- package/include/glib-2.0/glib/gthread.h +2 -0
- package/include/glib-2.0/glib/gtypes.h +1 -1
- package/include/glib-2.0/glib/gunicode.h +4 -4
- package/include/glib-2.0/gobject/glib-enumtypes.h +1 -1
- package/include/glib-2.0/gobject/gparam.h +4 -2
- package/include/glib-2.0/gobject/gsignal.h +22 -7
- package/include/glib-2.0/gobject/gtype.h +10 -4
- package/include/harfbuzz/hb-face.h +7 -2
- package/include/harfbuzz/hb-ot-shape.h +6 -0
- package/include/harfbuzz/hb-paint.h +1 -1
- package/include/harfbuzz/hb-shape.h +2 -0
- package/include/harfbuzz/hb-subset-serialize.h +83 -0
- package/include/harfbuzz/hb-subset.h +12 -0
- package/include/harfbuzz/hb-version.h +2 -2
- package/include/lcms2.h +7 -5
- package/include/lcms2_plugin.h +1 -1
- package/include/libexif/exif-byte-order.h +2 -0
- package/include/libexif/exif-content.h +2 -0
- package/include/libexif/exif-data-type.h +2 -0
- package/include/libexif/exif-data.h +3 -2
- package/include/libexif/exif-entry.h +2 -0
- package/include/libexif/exif-format.h +2 -0
- package/include/libexif/exif-ifd.h +2 -0
- package/include/libexif/exif-loader.h +2 -0
- package/include/libexif/exif-log.h +2 -0
- package/include/libexif/exif-mem.h +2 -0
- package/include/libexif/exif-mnote-data.h +2 -0
- package/include/libexif/exif-tag.h +2 -0
- package/include/libexif/exif-utils.h +2 -0
- package/include/libpng16/png.h +120 -12
- package/include/libpng16/pngconf.h +2 -3
- package/include/libpng16/pnglibconf.h +11 -2
- package/include/librsvg-2.0/librsvg/rsvg-features.h +1 -1
- package/include/librsvg-2.0/librsvg/rsvg-pixbuf.h +1 -1
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg.h +1 -1
- package/include/libxml2/libxml/xmlversion.h +4 -4
- package/include/pango-1.0/pango/pango-features.h +3 -3
- package/include/pango-1.0/pango/pango-font.h +31 -2
- package/include/pango-1.0/pango/pango-fontmap.h +4 -0
- package/include/pango-1.0/pango/pango-layout.h +10 -1
- package/include/pango-1.0/pango/pango-version-macros.h +52 -0
- package/include/pango-1.0/pango/pangofc-fontmap.h +6 -0
- package/include/pixman-1/pixman-version.h +2 -2
- package/include/png.h +120 -12
- package/include/pngconf.h +2 -3
- package/include/pnglibconf.h +11 -2
- package/include/webp/encode.h +5 -4
- package/include/webp/sharpyuv/sharpyuv.h +14 -5
- package/include/webp/sharpyuv/sharpyuv_csp.h +5 -0
- package/include/webp/types.h +2 -2
- package/include/zlib.h +4 -4
- package/package.json +1 -1
- package/versions.json +15 -15
|
@@ -55,32 +55,51 @@ typedef struct _GOptionEntry GOptionEntry;
|
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* GOptionFlags:
|
|
58
|
-
* @G_OPTION_FLAG_NONE: No flags. Since: 2.42.
|
|
59
58
|
* @G_OPTION_FLAG_HIDDEN: The option doesn't appear in `--help` output.
|
|
60
59
|
* @G_OPTION_FLAG_IN_MAIN: The option appears in the main section of the
|
|
61
|
-
*
|
|
60
|
+
* `--help` output, even if it is defined in a group.
|
|
62
61
|
* @G_OPTION_FLAG_REVERSE: For options of the %G_OPTION_ARG_NONE kind, this
|
|
63
|
-
*
|
|
64
|
-
*
|
|
62
|
+
* flag indicates that the sense of the option is reversed. i.e. %FALSE will
|
|
63
|
+
* be stored into the argument rather than %TRUE.
|
|
65
64
|
* @G_OPTION_FLAG_NO_ARG: For options of the %G_OPTION_ARG_CALLBACK kind,
|
|
66
|
-
*
|
|
67
|
-
*
|
|
65
|
+
* this flag indicates that the callback does not take any argument
|
|
66
|
+
* (like a %G_OPTION_ARG_NONE option). Since 2.8
|
|
68
67
|
* @G_OPTION_FLAG_FILENAME: For options of the %G_OPTION_ARG_CALLBACK
|
|
69
|
-
*
|
|
70
|
-
*
|
|
68
|
+
* kind, this flag indicates that the argument should be passed to the
|
|
69
|
+
* callback in the GLib filename encoding rather than UTF-8. Since 2.8
|
|
71
70
|
* @G_OPTION_FLAG_OPTIONAL_ARG: For options of the %G_OPTION_ARG_CALLBACK
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
71
|
+
* kind, this flag indicates that the argument supply is optional.
|
|
72
|
+
* If no argument is given then data of %GOptionParseFunc will be
|
|
73
|
+
* set to NULL. Since 2.8
|
|
75
74
|
* @G_OPTION_FLAG_NOALIAS: This flag turns off the automatic conflict
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
75
|
+
* resolution which prefixes long option names with `groupname-` if
|
|
76
|
+
* there is a conflict. This option should only be used in situations
|
|
77
|
+
* where aliasing is necessary to model some legacy commandline interface.
|
|
78
|
+
* It is not safe to use this option, unless all option groups are under
|
|
79
|
+
* your direct control. Since 2.8.
|
|
81
80
|
*
|
|
82
81
|
* Flags which modify individual options.
|
|
83
82
|
*/
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* G_OPTION_FLAG_NONE:
|
|
86
|
+
*
|
|
87
|
+
* No flags.
|
|
88
|
+
*
|
|
89
|
+
* Since: 2.42
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* G_OPTION_FLAG_DEPRECATED:
|
|
94
|
+
*
|
|
95
|
+
* This flag marks the option as deprecated in the `--help`.
|
|
96
|
+
*
|
|
97
|
+
* You should update the description of the option to describe what
|
|
98
|
+
* the user should do in response to the deprecation, for instance:
|
|
99
|
+
* remove the option, or replace it with another one.
|
|
100
|
+
*
|
|
101
|
+
* Since: 2.84
|
|
102
|
+
*/
|
|
84
103
|
typedef enum
|
|
85
104
|
{
|
|
86
105
|
G_OPTION_FLAG_NONE = 0,
|
|
@@ -90,7 +109,8 @@ typedef enum
|
|
|
90
109
|
G_OPTION_FLAG_NO_ARG = 1 << 3,
|
|
91
110
|
G_OPTION_FLAG_FILENAME = 1 << 4,
|
|
92
111
|
G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5,
|
|
93
|
-
G_OPTION_FLAG_NOALIAS = 1 << 6
|
|
112
|
+
G_OPTION_FLAG_NOALIAS = 1 << 6,
|
|
113
|
+
G_OPTION_FLAG_DEPRECATED GLIB_AVAILABLE_ENUMERATOR_IN_2_84 = 1 << 7
|
|
94
114
|
} GOptionFlags;
|
|
95
115
|
|
|
96
116
|
/**
|
|
@@ -98,21 +118,21 @@ typedef enum
|
|
|
98
118
|
* @G_OPTION_ARG_NONE: No extra argument. This is useful for simple flags or booleans.
|
|
99
119
|
* @G_OPTION_ARG_STRING: The option takes a UTF-8 string argument.
|
|
100
120
|
* @G_OPTION_ARG_INT: The option takes an integer argument.
|
|
101
|
-
* @G_OPTION_ARG_CALLBACK: The option provides a callback (of type
|
|
102
|
-
*
|
|
121
|
+
* @G_OPTION_ARG_CALLBACK: The option provides a callback (of type #GOptionArgFunc)
|
|
122
|
+
* to parse the extra argument.
|
|
103
123
|
* @G_OPTION_ARG_FILENAME: The option takes a filename as argument, which will
|
|
104
|
-
|
|
124
|
+
be in the GLib filename encoding rather than UTF-8.
|
|
105
125
|
* @G_OPTION_ARG_STRING_ARRAY: The option takes a string argument, multiple
|
|
106
|
-
*
|
|
126
|
+
* uses of the option are collected into an array of strings.
|
|
107
127
|
* @G_OPTION_ARG_FILENAME_ARRAY: The option takes a filename as argument,
|
|
108
|
-
*
|
|
128
|
+
* multiple uses of the option are collected into an array of strings.
|
|
109
129
|
* @G_OPTION_ARG_DOUBLE: The option takes a double argument. The argument
|
|
110
|
-
*
|
|
111
|
-
*
|
|
130
|
+
* can be formatted either for the user's locale or for the "C" locale.
|
|
131
|
+
* Since 2.12
|
|
112
132
|
* @G_OPTION_ARG_INT64: The option takes a 64-bit integer. Like
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
133
|
+
* %G_OPTION_ARG_INT but for larger numbers. The number can be in
|
|
134
|
+
* decimal base, or in hexadecimal (when prefixed with `0x`, for
|
|
135
|
+
* example, `0xffffffff`). Since 2.12
|
|
116
136
|
*
|
|
117
137
|
* The #GOptionArg enum values determine which type of extra argument the
|
|
118
138
|
* options expect to find. If an option expects an extra argument, it can
|
|
@@ -221,7 +241,7 @@ GQuark g_option_error_quark (void);
|
|
|
221
241
|
* @long_name: The long name of an option can be used to specify it
|
|
222
242
|
* in a commandline as `--long_name`. Every option must have a
|
|
223
243
|
* long name. To resolve conflicts if multiple option groups contain
|
|
224
|
-
* the same long name, it is also possible to specify the option as
|
|
244
|
+
* the same long name, it is also possible to specify the option as
|
|
225
245
|
* `--groupname-long_name`.
|
|
226
246
|
* @short_name: If an option has a short name, it can be specified
|
|
227
247
|
* `-short_name` in a commandline. @short_name must be a printable
|
|
@@ -234,13 +254,15 @@ GQuark g_option_error_quark (void);
|
|
|
234
254
|
* called to handle the extra argument. Otherwise, @arg_data is a
|
|
235
255
|
* pointer to a location to store the value, the required type of
|
|
236
256
|
* the location depends on the @arg type:
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
257
|
+
*
|
|
258
|
+
* - %G_OPTION_ARG_NONE: %gboolean
|
|
259
|
+
* - %G_OPTION_ARG_STRING: %gchar*
|
|
260
|
+
* - %G_OPTION_ARG_INT: %gint
|
|
261
|
+
* - %G_OPTION_ARG_FILENAME: %gchar*
|
|
262
|
+
* - %G_OPTION_ARG_STRING_ARRAY: %gchar**
|
|
263
|
+
* - %G_OPTION_ARG_FILENAME_ARRAY: %gchar**
|
|
264
|
+
* - %G_OPTION_ARG_DOUBLE: %gdouble
|
|
265
|
+
*
|
|
244
266
|
* If @arg type is %G_OPTION_ARG_STRING or %G_OPTION_ARG_FILENAME,
|
|
245
267
|
* the location will contain a newly allocated string if the option
|
|
246
268
|
* was given. That string needs to be freed by the callee using g_free().
|
|
@@ -253,7 +275,7 @@ GQuark g_option_error_quark (void);
|
|
|
253
275
|
* by the option in `--help` output. The @arg_description is translated
|
|
254
276
|
* using the @translate_func of the group, see
|
|
255
277
|
* g_option_group_set_translation_domain().
|
|
256
|
-
*
|
|
278
|
+
*
|
|
257
279
|
* A GOptionEntry struct defines a single option. To have an effect, they
|
|
258
280
|
* must be added to a #GOptionGroup with g_option_context_add_main_entries()
|
|
259
281
|
* or g_option_group_add_entries().
|
|
@@ -302,34 +302,61 @@ void g_test_init (int *argc,
|
|
|
302
302
|
/**
|
|
303
303
|
* G_TEST_OPTION_ISOLATE_DIRS:
|
|
304
304
|
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
305
|
+
* A value that can be passed as an option to [func@GLib.test_init].
|
|
306
|
+
*
|
|
307
|
+
* Creates a unique temporary directory for each unit test and uses sets
|
|
308
|
+
* XDG directories to point into subdirectories of it for the duration of
|
|
309
|
+
* the unit test. The directory tree is cleaned up after the test finishes
|
|
310
|
+
* successfully.
|
|
311
|
+
*
|
|
312
|
+
* Note that this doesn’t take effect until [func@GLib.test_run] is called,
|
|
313
|
+
* so calls to (for example) [func@GLib.get_home_dir] will return the
|
|
314
|
+
* system-wide value when made in a test program’s main() function.
|
|
311
315
|
*
|
|
312
316
|
* The following functions will return subdirectories of the temporary directory
|
|
313
317
|
* when this option is used. The specific subdirectory paths in use are not
|
|
314
318
|
* guaranteed to be stable API — always use a getter function to retrieve them.
|
|
315
319
|
*
|
|
316
|
-
* -
|
|
317
|
-
* -
|
|
318
|
-
* -
|
|
319
|
-
* -
|
|
320
|
-
* -
|
|
321
|
-
* -
|
|
322
|
-
* -
|
|
323
|
-
* -
|
|
320
|
+
* - [func@GLib.get_home_dir]
|
|
321
|
+
* - [func@GLib.get_user_cache_dir]
|
|
322
|
+
* - [func@GLib.get_system_config_dirs]
|
|
323
|
+
* - [func@GLib.get_user_config_dir]
|
|
324
|
+
* - [func@GLib.get_system_data_dirs]
|
|
325
|
+
* - [func@GLib.get_user_data_dir]
|
|
326
|
+
* - [func@GLib.get_user_state_dir]
|
|
327
|
+
* - [func@GLib.get_user_runtime_dir]
|
|
324
328
|
*
|
|
325
329
|
* The subdirectories may not be created by the test harness; as with normal
|
|
326
|
-
* calls to functions like
|
|
327
|
-
* to create the directory if it doesn’t exist.
|
|
330
|
+
* calls to functions like [func@GLib.get_user_cache_dir], the caller must
|
|
331
|
+
* be prepared to create the directory if it doesn’t exist.
|
|
328
332
|
*
|
|
329
333
|
* Since: 2.60
|
|
330
334
|
*/
|
|
331
335
|
#define G_TEST_OPTION_ISOLATE_DIRS "isolate_dirs"
|
|
332
336
|
|
|
337
|
+
/**
|
|
338
|
+
* G_TEST_OPTION_NO_PRGNAME:
|
|
339
|
+
*
|
|
340
|
+
* A value that can be passed as an option to [func@GLib.test_init].
|
|
341
|
+
*
|
|
342
|
+
* If this option is given, [func@GLib.test_init] will not call [func@GLib.set_prgname].
|
|
343
|
+
*
|
|
344
|
+
* Since: 2.84
|
|
345
|
+
*/
|
|
346
|
+
#define G_TEST_OPTION_NO_PRGNAME "no_g_set_prgname"
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* G_TEST_OPTION_NONFATAL_ASSERTIONS:
|
|
350
|
+
*
|
|
351
|
+
* A value that can be passed as an option to [func@GLib.test_init].
|
|
352
|
+
*
|
|
353
|
+
* If this option is given, assertions will not abort the process, but
|
|
354
|
+
* call [func@GLib.test_fail]. Equivalent to [func@GLib.test_set_nonfatal_assertions].
|
|
355
|
+
*
|
|
356
|
+
* Since: 2.84
|
|
357
|
+
*/
|
|
358
|
+
#define G_TEST_OPTION_NONFATAL_ASSERTIONS "nonfatal-assertions"
|
|
359
|
+
|
|
333
360
|
/* While we discourage its use, g_assert() is often used in unit tests
|
|
334
361
|
* (especially in legacy code). g_assert_*() should really be used instead.
|
|
335
362
|
* g_assert() can be disabled at client program compile time, which can render
|
|
@@ -412,20 +439,24 @@ void g_test_disable_crash_reporting (void);
|
|
|
412
439
|
|
|
413
440
|
/**
|
|
414
441
|
* g_test_add:
|
|
415
|
-
* @testpath:
|
|
416
|
-
* @Fixture:
|
|
417
|
-
* @tdata:
|
|
418
|
-
* @fsetup:
|
|
419
|
-
* @ftest:
|
|
420
|
-
* @fteardown:
|
|
442
|
+
* @testpath: the test path for a new test case
|
|
443
|
+
* @Fixture: the type of a fixture data structure
|
|
444
|
+
* @tdata: data argument for the test functions
|
|
445
|
+
* @fsetup: the function to set up the fixture data
|
|
446
|
+
* @ftest: the actual test function
|
|
447
|
+
* @fteardown: the function to tear down the fixture data
|
|
448
|
+
*
|
|
449
|
+
* Hooks up a new test case at @testpath.
|
|
421
450
|
*
|
|
422
|
-
*
|
|
423
|
-
* A fixture data structure with setup and teardown functions may be provided,
|
|
424
|
-
* similar to g_test_create_case().
|
|
451
|
+
* This function is similar to [func@GLib.test_add_func].
|
|
425
452
|
*
|
|
426
|
-
*
|
|
427
|
-
*
|
|
428
|
-
*
|
|
453
|
+
* A fixture data structure with setup and teardown functions
|
|
454
|
+
* may be provided, similar to [func@GLib.test_create_case].
|
|
455
|
+
*
|
|
456
|
+
* `g_test_add()` is implemented as a macro, so that the @fsetup,
|
|
457
|
+
* @ftest and @fteardown callbacks can expect a @Fixture pointer
|
|
458
|
+
* as their first argument in a type safe manner. They otherwise
|
|
459
|
+
* have type `GTestFixtureFunc`.
|
|
429
460
|
*
|
|
430
461
|
* Since: 2.16
|
|
431
462
|
*/
|
|
@@ -482,12 +513,13 @@ void g_test_queue_destroy (GDestroyNotify destroy_func,
|
|
|
482
513
|
* child process is shared with stdin of its parent process.
|
|
483
514
|
* It is redirected to `/dev/null` otherwise.
|
|
484
515
|
*
|
|
485
|
-
*
|
|
486
|
-
*
|
|
516
|
+
* Flags to pass to [func@GLib.test_trap_fork] to control input and output.
|
|
517
|
+
*
|
|
518
|
+
* Test traps are guards around forked tests. These flags determine what traps to set.
|
|
487
519
|
*
|
|
488
|
-
* Deprecated: 2.38:
|
|
489
|
-
*
|
|
490
|
-
*
|
|
520
|
+
* Deprecated: 2.38: `GTestTrapFlags` is used only with [func@GLib.test_trap_fork],
|
|
521
|
+
* which is deprecated. Its replacement, [func@GLib.test_trap_subprocess] uses
|
|
522
|
+
* [flags@GLib.TestSubprocessFlags].
|
|
491
523
|
*/
|
|
492
524
|
typedef enum {
|
|
493
525
|
G_TEST_TRAP_DEFAULT GLIB_AVAILABLE_ENUMERATOR_IN_2_74 = 0,
|
|
@@ -165,6 +165,8 @@ gpointer g_thread_join (GThread *thread);
|
|
|
165
165
|
GLIB_AVAILABLE_IN_ALL
|
|
166
166
|
void g_thread_yield (void);
|
|
167
167
|
|
|
168
|
+
GLIB_AVAILABLE_IN_2_84
|
|
169
|
+
const char * g_thread_get_name (GThread *thread);
|
|
168
170
|
|
|
169
171
|
GLIB_AVAILABLE_IN_2_32
|
|
170
172
|
void g_mutex_init (GMutex *mutex);
|
|
@@ -247,7 +247,7 @@ typedef const gchar * (*GTranslateFunc) (const gchar *str,
|
|
|
247
247
|
*/
|
|
248
248
|
#if defined (__GNUC__) && (__GNUC__ >= 2) && defined (__OPTIMIZE__)
|
|
249
249
|
|
|
250
|
-
# if __GNUC__
|
|
250
|
+
# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
|
|
251
251
|
# define GUINT32_SWAP_LE_BE(val) ((guint32) __builtin_bswap32 ((guint32) (val)))
|
|
252
252
|
# define GUINT64_SWAP_LE_BE(val) ((guint64) __builtin_bswap64 ((guint64) (val)))
|
|
253
253
|
# endif
|
|
@@ -205,10 +205,10 @@ typedef enum
|
|
|
205
205
|
* @G_UNICODE_BREAK_EMOJI_MODIFIER: Emoji Modifier (EM). Since: 2.50
|
|
206
206
|
* @G_UNICODE_BREAK_ZERO_WIDTH_JOINER: Zero Width Joiner (ZWJ). Since: 2.50
|
|
207
207
|
* @G_UNICODE_BREAK_AKSARA: Aksara (AK). Since: 2.80
|
|
208
|
-
* @G_UNICODE_BREAK_AKSARA_PRE_BASE (AP). Since: 2.80
|
|
209
|
-
* @G_UNICODE_BREAK_AKSARA_START (AS). Since: 2.80
|
|
210
|
-
* @G_UNICODE_BREAK_VIRAMA_FINAL (VF). Since: 2.80
|
|
211
|
-
* @G_UNICODE_BREAK_VIRAMA (VI). Since: 2.80
|
|
208
|
+
* @G_UNICODE_BREAK_AKSARA_PRE_BASE: Aksara Pre-Base (AP). Since: 2.80
|
|
209
|
+
* @G_UNICODE_BREAK_AKSARA_START: Aksara Start (AS). Since: 2.80
|
|
210
|
+
* @G_UNICODE_BREAK_VIRAMA_FINAL: Virama Final (VF). Since: 2.80
|
|
211
|
+
* @G_UNICODE_BREAK_VIRAMA: Virama (VI). Since: 2.80
|
|
212
212
|
*
|
|
213
213
|
* These are the possible line break classifications.
|
|
214
214
|
*
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
G_BEGIN_DECLS
|
|
10
10
|
|
|
11
|
-
/* enumerations from "
|
|
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;
|
|
@@ -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
|
-
* @
|
|
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#
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
-
*
|
|
1420
|
-
*
|
|
1421
|
-
*
|
|
1422
|
-
*
|
|
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'`
|
|
@@ -73,9 +73,14 @@ hb_face_create_from_file_or_fail (const char *file_name,
|
|
|
73
73
|
* @tag: the tag of the table to reference
|
|
74
74
|
* @user_data: User data pointer passed by the caller
|
|
75
75
|
*
|
|
76
|
-
* 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.
|
|
77
81
|
*
|
|
78
|
-
* 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.
|
|
79
84
|
*
|
|
80
85
|
* Since: 0.9.2
|
|
81
86
|
*/
|
|
@@ -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:
|
|
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,7 +47,7 @@ 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
|
|
50
|
+
#define HB_VERSION_MINOR 3
|
|
51
51
|
/**
|
|
52
52
|
* HB_VERSION_MICRO:
|
|
53
53
|
*
|
|
@@ -60,7 +60,7 @@ HB_BEGIN_DECLS
|
|
|
60
60
|
*
|
|
61
61
|
* A string literal containing the library version available at compile-time.
|
|
62
62
|
*/
|
|
63
|
-
#define HB_VERSION_STRING "10.
|
|
63
|
+
#define HB_VERSION_STRING "10.3.0"
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* HB_VERSION_ATLEAST:
|