@img/sharp-libvips-dev 1.1.0-rc4 → 1.1.0-rc5
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/expat.h +3 -3
- package/include/expat_config.h +3 -3
- package/include/fontconfig/fcfreetype.h +5 -5
- package/include/fontconfig/fcprivate.h +86 -92
- package/include/fontconfig/fontconfig.h +327 -320
- 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 +4 -0
- package/include/harfbuzz/hb-paint.h +8 -0
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
- package/include/libxml2/libxml/xmlversion.h +4 -4
- package/include/pango-1.0/pango/pango-features.h +2 -2
- package/include/pango-1.0/pango/pango-font.h +1 -1
- package/package.json +1 -1
- package/versions.json +7 -7
|
@@ -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: (Since: 11.0.0): Slanting factor for synthetic oblique
|
|
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
|
*/
|
|
@@ -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
|
|
|
@@ -41,13 +41,13 @@ HB_BEGIN_DECLS
|
|
|
41
41
|
*
|
|
42
42
|
* The major component of the library version available at compile-time.
|
|
43
43
|
*/
|
|
44
|
-
#define HB_VERSION_MAJOR
|
|
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
|
*
|
|
@@ -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 "
|
|
63
|
+
#define HB_VERSION_STRING "11.0.0"
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* HB_VERSION_ATLEAST:
|
|
@@ -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
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
*
|
|
16
16
|
* the version string like "1.2.3"
|
|
17
17
|
*/
|
|
18
|
-
#define LIBXML_DOTTED_VERSION "2.13.
|
|
18
|
+
#define LIBXML_DOTTED_VERSION "2.13.7"
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* LIBXML_VERSION:
|
|
22
22
|
*
|
|
23
23
|
* the version number: 1.2.3 value is 10203
|
|
24
24
|
*/
|
|
25
|
-
#define LIBXML_VERSION
|
|
25
|
+
#define LIBXML_VERSION 21307
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* LIBXML_VERSION_STRING:
|
|
29
29
|
*
|
|
30
30
|
* the version number string, 1.2.3 value is "10203"
|
|
31
31
|
*/
|
|
32
|
-
#define LIBXML_VERSION_STRING "
|
|
32
|
+
#define LIBXML_VERSION_STRING "21307"
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* LIBXML_VERSION_EXTRA:
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
* Macro to check that the libxml version in use is compatible with
|
|
45
45
|
* the version the software has been compiled against
|
|
46
46
|
*/
|
|
47
|
-
#define LIBXML_TEST_VERSION xmlCheckVersion(
|
|
47
|
+
#define LIBXML_TEST_VERSION xmlCheckVersion(21307);
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* LIBXML_THREAD_ENABLED:
|
|
@@ -279,7 +279,7 @@ gboolean pango_font_description_equal (const PangoFontDescrip
|
|
|
279
279
|
const PangoFontDescription *desc2) G_GNUC_PURE;
|
|
280
280
|
PANGO_AVAILABLE_IN_ALL
|
|
281
281
|
void pango_font_description_free (PangoFontDescription *desc);
|
|
282
|
-
|
|
282
|
+
PANGO_DEPRECATED_IN_1_56
|
|
283
283
|
void pango_font_descriptions_free (PangoFontDescription **descs,
|
|
284
284
|
int n_descs);
|
|
285
285
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@img/sharp-libvips-dev",
|
|
3
|
-
"version": "1.1.0-
|
|
3
|
+
"version": "1.1.0-rc5",
|
|
4
4
|
"description": "Header files and C++ sources for libvips and dependencies required when compiling sharp from source",
|
|
5
5
|
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
6
|
"homepage": "https://sharp.pixelplumbing.com",
|
package/versions.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"aom": "3.12.0",
|
|
3
|
-
"archive": "3.7.
|
|
3
|
+
"archive": "3.7.9",
|
|
4
4
|
"cairo": "1.18.4",
|
|
5
5
|
"cgif": "0.5.0",
|
|
6
6
|
"exif": "0.6.25",
|
|
7
|
-
"expat": "2.
|
|
7
|
+
"expat": "2.7.1",
|
|
8
8
|
"ffi": "3.4.7",
|
|
9
|
-
"fontconfig": "2.16.
|
|
9
|
+
"fontconfig": "2.16.1",
|
|
10
10
|
"freetype": "2.13.3",
|
|
11
11
|
"fribidi": "1.0.16",
|
|
12
12
|
"glib": "2.84.0",
|
|
13
|
-
"harfbuzz": "
|
|
13
|
+
"harfbuzz": "11.0.0",
|
|
14
14
|
"heif": "1.19.7",
|
|
15
15
|
"highway": "1.2.0",
|
|
16
16
|
"imagequant": "2.4.1",
|
|
17
17
|
"lcms": "2.17",
|
|
18
18
|
"mozjpeg": "4.1.5",
|
|
19
|
-
"pango": "1.56.
|
|
19
|
+
"pango": "1.56.3",
|
|
20
20
|
"pixman": "0.44.2",
|
|
21
21
|
"png": "1.6.47",
|
|
22
22
|
"proxy-libintl": "0.4",
|
|
23
|
-
"rsvg": "2.
|
|
23
|
+
"rsvg": "2.60.0",
|
|
24
24
|
"spng": "0.7.4",
|
|
25
25
|
"tiff": "4.7.0",
|
|
26
26
|
"vips": "8.16.1",
|
|
27
27
|
"webp": "1.5.0",
|
|
28
|
-
"xml": "2.13.
|
|
28
|
+
"xml": "2.13.7",
|
|
29
29
|
"zlib-ng": "2.2.4"
|
|
30
30
|
}
|