@revizly/sharp-libvips-dev 1.0.3 → 1.0.4

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # `@img/sharp-libvips-dev`
1
+ # `@revizly/sharp-libvips-dev`
2
2
 
3
3
  Header files and C++ sources for libvips and dependencies required when compiling sharp from source.
4
4
 
@@ -273,7 +273,7 @@ FT_BEGIN_HEADER
273
273
  * options set by those programs have precedence, overwriting the value
274
274
  * here with the configured one.
275
275
  */
276
- /* #define FT_CONFIG_OPTION_USE_PNG */
276
+ #define FT_CONFIG_OPTION_USE_PNG
277
277
 
278
278
 
279
279
  /**************************************************************************
@@ -47,14 +47,10 @@
47
47
  # endif /* !__cplusplus */
48
48
  #endif
49
49
 
50
- #if defined (_SVR4) || defined (SVR4) || defined (__OpenBSD__) || \
51
- defined (_sgi) || defined (__sun) || defined (sun) || \
52
- defined (__digital__) || defined (__HP_cc)
53
- # include <inttypes.h>
54
- #elif defined (_AIX)
50
+ #if defined (_AIX)
55
51
  # include <sys/inttypes.h>
56
- #elif defined (_MSC_VER) && _MSC_VER < 1600
57
- /* VS 2010 (_MSC_VER 1600) has stdint.h */
52
+ #elif defined (_MSC_VER) && _MSC_VER < 1800
53
+ /* VS 2013 (_MSC_VER 1800) has inttypes.h */
58
54
  typedef __int8 int8_t;
59
55
  typedef unsigned __int8 uint8_t;
60
56
  typedef __int16 int16_t;
@@ -63,10 +59,8 @@ typedef __int32 int32_t;
63
59
  typedef unsigned __int32 uint32_t;
64
60
  typedef __int64 int64_t;
65
61
  typedef unsigned __int64 uint64_t;
66
- #elif defined (__KERNEL__)
67
- # include <linux/types.h>
68
62
  #else
69
- # include <stdint.h>
63
+ # include <inttypes.h>
70
64
  #endif
71
65
 
72
66
  #if defined(__GNUC__) && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
@@ -56,15 +56,15 @@ struct shared_ptr
56
56
 
57
57
  explicit shared_ptr (T *p = nullptr) : p (p) {}
58
58
  shared_ptr (const shared_ptr &o) : p (v::reference (o.p)) {}
59
- shared_ptr (shared_ptr &&o) : p (o.p) { o.p = nullptr; }
59
+ shared_ptr (shared_ptr &&o) noexcept : p (o.p) { o.p = nullptr; }
60
60
  shared_ptr& operator = (const shared_ptr &o) { if (p != o.p) { destroy (); p = o.p; reference (); } return *this; }
61
- shared_ptr& operator = (shared_ptr &&o) { v::destroy (p); p = o.p; o.p = nullptr; return *this; }
61
+ shared_ptr& operator = (shared_ptr &&o) noexcept { v::destroy (p); p = o.p; o.p = nullptr; return *this; }
62
62
  ~shared_ptr () { v::destroy (p); p = nullptr; }
63
63
 
64
64
  T* get() const { return p; }
65
65
 
66
- void swap (shared_ptr &o) { std::swap (p, o.p); }
67
- friend void swap (shared_ptr &a, shared_ptr &b) { std::swap (a.p, b.p); }
66
+ void swap (shared_ptr &o) noexcept { std::swap (p, o.p); }
67
+ friend void swap (shared_ptr &a, shared_ptr &b) noexcept { std::swap (a.p, b.p); }
68
68
 
69
69
  operator T * () const { return p; }
70
70
  T& operator * () const { return *get (); }
@@ -98,16 +98,16 @@ struct unique_ptr
98
98
 
99
99
  explicit unique_ptr (T *p = nullptr) : p (p) {}
100
100
  unique_ptr (const unique_ptr &o) = delete;
101
- unique_ptr (unique_ptr &&o) : p (o.p) { o.p = nullptr; }
101
+ unique_ptr (unique_ptr &&o) noexcept : p (o.p) { o.p = nullptr; }
102
102
  unique_ptr& operator = (const unique_ptr &o) = delete;
103
- unique_ptr& operator = (unique_ptr &&o) { v::destroy (p); p = o.p; o.p = nullptr; return *this; }
103
+ unique_ptr& operator = (unique_ptr &&o) noexcept { v::destroy (p); p = o.p; o.p = nullptr; return *this; }
104
104
  ~unique_ptr () { v::destroy (p); p = nullptr; }
105
105
 
106
106
  T* get() const { return p; }
107
107
  T* release () { T* v = p; p = nullptr; return v; }
108
108
 
109
- void swap (unique_ptr &o) { std::swap (p, o.p); }
110
- friend void swap (unique_ptr &a, unique_ptr &b) { std::swap (a.p, b.p); }
109
+ void swap (unique_ptr &o) noexcept { std::swap (p, o.p); }
110
+ friend void swap (unique_ptr &a, unique_ptr &b) noexcept { std::swap (a.p, b.p); }
111
111
 
112
112
  operator T * () const { return p; }
113
113
  T& operator * () const { return *get (); }
@@ -76,6 +76,8 @@ typedef struct hb_subset_plan_t hb_subset_plan_t;
76
76
  * @HB_SUBSET_FLAGS_IFTB_REQUIREMENTS: If set enforce requirements on the output subset
77
77
  * to allow it to be used with incremental font transfer IFTB patches. Primarily,
78
78
  * this forces all outline data to use long (32 bit) offsets. Since: EXPERIMENTAL
79
+ * @HB_SUBSET_FLAGS_OPTIMIZE_IUP_DELTAS: If set perform IUP delta optimization on the
80
+ * remaining gvar table's deltas. Since: EXPERIMENTAL
79
81
  *
80
82
  * List of boolean properties that can be configured on the subset input.
81
83
  *
@@ -95,6 +97,7 @@ typedef enum { /*< flags >*/
95
97
  HB_SUBSET_FLAGS_NO_LAYOUT_CLOSURE = 0x00000200u,
96
98
  #ifdef HB_EXPERIMENTAL_API
97
99
  HB_SUBSET_FLAGS_IFTB_REQUIREMENTS = 0x00000400u,
100
+ HB_SUBSET_FLAGS_OPTIMIZE_IUP_DELTAS = 0x00000800u,
98
101
  #endif
99
102
  } hb_subset_flags_t;
100
103
 
@@ -170,6 +173,10 @@ HB_EXTERN void
170
173
  hb_subset_input_set_flags (hb_subset_input_t *input,
171
174
  unsigned value);
172
175
 
176
+ HB_EXTERN hb_bool_t
177
+ hb_subset_input_pin_all_axes_to_default (hb_subset_input_t *input,
178
+ hb_face_t *face);
179
+
173
180
  HB_EXTERN hb_bool_t
174
181
  hb_subset_input_pin_axis_to_default (hb_subset_input_t *input,
175
182
  hb_face_t *face,
@@ -182,13 +189,20 @@ hb_subset_input_pin_axis_location (hb_subset_input_t *input,
182
189
  float axis_value);
183
190
 
184
191
  #ifdef HB_EXPERIMENTAL_API
192
+ HB_EXTERN hb_bool_t
193
+ hb_subset_input_get_axis_range (hb_subset_input_t *input,
194
+ hb_tag_t axis_tag,
195
+ float *axis_min_value,
196
+ float *axis_max_value,
197
+ float *axis_def_value);
198
+
185
199
  HB_EXTERN hb_bool_t
186
200
  hb_subset_input_set_axis_range (hb_subset_input_t *input,
187
201
  hb_face_t *face,
188
202
  hb_tag_t axis_tag,
189
203
  float axis_min_value,
190
204
  float axis_max_value,
191
- float *axis_def_value);
205
+ float axis_def_value);
192
206
 
193
207
  HB_EXTERN hb_bool_t
194
208
  hb_subset_input_override_name_table (hb_subset_input_t *input,
@@ -53,14 +53,14 @@ HB_BEGIN_DECLS
53
53
  *
54
54
  * The micro component of the library version available at compile-time.
55
55
  */
56
- #define HB_VERSION_MICRO 0
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 "8.3.0"
63
+ #define HB_VERSION_STRING "8.3.1"
64
64
 
65
65
  /**
66
66
  * HB_VERSION_ATLEAST:
@@ -7,7 +7,7 @@
7
7
 
8
8
  #define LIBRSVG_MAJOR_VERSION (2)
9
9
  #define LIBRSVG_MINOR_VERSION (57)
10
- #define LIBRSVG_MICRO_VERSION (92)
11
- #define LIBRSVG_VERSION "2.57.92"
10
+ #define LIBRSVG_MICRO_VERSION (2)
11
+ #define LIBRSVG_VERSION "2.57.2"
12
12
 
13
13
  #endif
@@ -798,14 +798,9 @@ gboolean rsvg_handle_has_sub (RsvgHandle *handle, const char *id);
798
798
  * @RSVG_UNIT_MM: millimeters
799
799
  * @RSVG_UNIT_PT: points, or 1/72 inch
800
800
  * @RSVG_UNIT_PC: picas, or 1/6 inch (12 points)
801
- * @RSVG_UNIT_CH: advance measure of a '0' character (depends on the text orientation)
802
801
  *
803
802
  * Units for the `RsvgLength` struct. These have the same meaning as [CSS length
804
803
  * units](https://www.w3.org/TR/CSS21/syndata.html#length-units).
805
- *
806
- * If you test for the values of this enum, please note that librsvg may add other units in the future
807
- * as its support for CSS improves. Please make your code handle unknown units gracefully (e.g. with
808
- * a `default` case in a `switch()` statement).
809
804
  */
810
805
  typedef enum {
811
806
  RSVG_UNIT_PERCENT,
@@ -816,8 +811,7 @@ typedef enum {
816
811
  RSVG_UNIT_CM,
817
812
  RSVG_UNIT_MM,
818
813
  RSVG_UNIT_PT,
819
- RSVG_UNIT_PC,
820
- RSVG_UNIT_CH,
814
+ RSVG_UNIT_PC
821
815
  } RsvgUnit;
822
816
 
823
817
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revizly/sharp-libvips-dev",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
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
@@ -12,7 +12,7 @@
12
12
  "fribidi": "1.0.13",
13
13
  "gdkpixbuf": "2.42.10",
14
14
  "glib": "2.80.0",
15
- "harfbuzz": "8.3.0",
15
+ "harfbuzz": "8.3.1",
16
16
  "heif": "1.17.6",
17
17
  "highway": "1.1.0",
18
18
  "imagequant": "2.4.1",
@@ -22,7 +22,7 @@
22
22
  "pixman": "0.43.4",
23
23
  "png": "1.6.43",
24
24
  "proxy-libintl": "0.4",
25
- "rsvg": "2.57.92",
25
+ "rsvg": "2.57.2",
26
26
  "spng": "0.7.4",
27
27
  "tiff": "4.6.0",
28
28
  "vips": "8.15.2",