@revizly/sharp-libvips-dev 1.0.28 → 1.0.30

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 (77) hide show
  1. package/include/expat.h +1 -1
  2. package/include/expat_config.h +3 -3
  3. package/include/expat_external.h +1 -1
  4. package/include/freetype2/freetype/config/ftconfig.h +1 -1
  5. package/include/freetype2/freetype/config/ftheader.h +1 -1
  6. package/include/freetype2/freetype/config/ftoption.h +1 -1
  7. package/include/freetype2/freetype/config/ftstdlib.h +1 -1
  8. package/include/freetype2/freetype/config/integer-types.h +1 -1
  9. package/include/freetype2/freetype/config/mac-support.h +1 -1
  10. package/include/freetype2/freetype/config/public-macros.h +1 -1
  11. package/include/freetype2/freetype/freetype.h +2 -2
  12. package/include/freetype2/freetype/ftadvanc.h +1 -1
  13. package/include/freetype2/freetype/ftbbox.h +1 -1
  14. package/include/freetype2/freetype/ftbdf.h +1 -1
  15. package/include/freetype2/freetype/ftbitmap.h +1 -1
  16. package/include/freetype2/freetype/ftbzip2.h +1 -1
  17. package/include/freetype2/freetype/ftcache.h +1 -1
  18. package/include/freetype2/freetype/ftcid.h +1 -1
  19. package/include/freetype2/freetype/ftcolor.h +1 -1
  20. package/include/freetype2/freetype/ftdriver.h +1 -1
  21. package/include/freetype2/freetype/fterrdef.h +1 -1
  22. package/include/freetype2/freetype/fterrors.h +1 -1
  23. package/include/freetype2/freetype/ftfntfmt.h +1 -1
  24. package/include/freetype2/freetype/ftgasp.h +1 -1
  25. package/include/freetype2/freetype/ftglyph.h +1 -1
  26. package/include/freetype2/freetype/ftgxval.h +1 -1
  27. package/include/freetype2/freetype/ftgzip.h +1 -1
  28. package/include/freetype2/freetype/ftimage.h +1 -1
  29. package/include/freetype2/freetype/ftincrem.h +1 -1
  30. package/include/freetype2/freetype/ftlcdfil.h +1 -1
  31. package/include/freetype2/freetype/ftlist.h +1 -1
  32. package/include/freetype2/freetype/ftlogging.h +1 -1
  33. package/include/freetype2/freetype/ftlzw.h +1 -1
  34. package/include/freetype2/freetype/ftmac.h +1 -1
  35. package/include/freetype2/freetype/ftmm.h +1 -1
  36. package/include/freetype2/freetype/ftmodapi.h +1 -1
  37. package/include/freetype2/freetype/ftmoderr.h +1 -1
  38. package/include/freetype2/freetype/ftotval.h +1 -1
  39. package/include/freetype2/freetype/ftoutln.h +1 -1
  40. package/include/freetype2/freetype/ftparams.h +1 -1
  41. package/include/freetype2/freetype/ftpfr.h +1 -1
  42. package/include/freetype2/freetype/ftrender.h +1 -1
  43. package/include/freetype2/freetype/ftsizes.h +1 -1
  44. package/include/freetype2/freetype/ftsnames.h +1 -1
  45. package/include/freetype2/freetype/ftstroke.h +1 -1
  46. package/include/freetype2/freetype/ftsynth.h +1 -1
  47. package/include/freetype2/freetype/ftsystem.h +1 -1
  48. package/include/freetype2/freetype/fttrigon.h +1 -1
  49. package/include/freetype2/freetype/fttypes.h +1 -1
  50. package/include/freetype2/freetype/ftwinfnt.h +1 -1
  51. package/include/freetype2/freetype/otsvg.h +1 -1
  52. package/include/freetype2/freetype/t1tables.h +1 -1
  53. package/include/freetype2/freetype/ttnameid.h +2 -2
  54. package/include/freetype2/freetype/tttables.h +1 -1
  55. package/include/freetype2/freetype/tttags.h +1 -1
  56. package/include/freetype2/ft2build.h +1 -1
  57. package/include/glib-2.0/glib/gslice.h +12 -4
  58. package/include/harfbuzz/hb-features.h +7 -0
  59. package/include/harfbuzz/hb-ot-shape.h +15 -0
  60. package/include/harfbuzz/hb-version.h +3 -3
  61. package/include/libde265/de265-version.h +3 -3
  62. package/include/libde265/de265.h +41 -40
  63. package/include/libpng16/png.h +8 -8
  64. package/include/libpng16/pngconf.h +1 -1
  65. package/include/libpng16/pnglibconf.h +1 -1
  66. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  67. package/include/pango-1.0/pango/pango-features.h +2 -2
  68. package/include/pango-1.0/pango/pango-script.h +2 -0
  69. package/include/png.h +8 -8
  70. package/include/pngconf.h +1 -1
  71. package/include/pnglibconf.h +1 -1
  72. package/include/vips/colour.h +2 -2
  73. package/include/vips/memory.h +1 -1
  74. package/include/vips/version.h +4 -4
  75. package/package.json +1 -1
  76. package/versions.json +11 -11
  77. package/include/libde265/en265.h +0 -218
package/include/expat.h CHANGED
@@ -1082,7 +1082,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1082
1082
  */
1083
1083
  # define XML_MAJOR_VERSION 2
1084
1084
  # define XML_MINOR_VERSION 7
1085
- # define XML_MICRO_VERSION 4
1085
+ # define XML_MICRO_VERSION 5
1086
1086
 
1087
1087
  # ifdef __cplusplus
1088
1088
  }
@@ -80,7 +80,7 @@
80
80
  #define PACKAGE_NAME "expat"
81
81
 
82
82
  /* Define to the full name and version of this package. */
83
- #define PACKAGE_STRING "expat 2.7.4"
83
+ #define PACKAGE_STRING "expat 2.7.5"
84
84
 
85
85
  /* Define to the one symbol short name of this package. */
86
86
  #define PACKAGE_TARNAME "expat"
@@ -89,7 +89,7 @@
89
89
  #define PACKAGE_URL ""
90
90
 
91
91
  /* Define to the version of this package. */
92
- #define PACKAGE_VERSION "2.7.4"
92
+ #define PACKAGE_VERSION "2.7.5"
93
93
 
94
94
  /* Define to 1 if all of the C89 standard headers exist (not just the ones
95
95
  required in a freestanding environment). This macro is provided for
@@ -97,7 +97,7 @@
97
97
  #define STDC_HEADERS 1
98
98
 
99
99
  /* Version number of package */
100
- #define VERSION "2.7.4"
100
+ #define VERSION "2.7.5"
101
101
 
102
102
  /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
103
103
  significant byte first (like Motorola and SPARC, unlike Intel). */
@@ -12,7 +12,7 @@
12
12
  Copyright (c) 2001-2002 Greg Stein <gstein@users.sourceforge.net>
13
13
  Copyright (c) 2002-2006 Karl Waclawek <karl@waclawek.net>
14
14
  Copyright (c) 2016 Cristian Rodríguez <crrodriguez@opensuse.org>
15
- Copyright (c) 2016-2025 Sebastian Pipping <sebastian@pipping.org>
15
+ Copyright (c) 2016-2026 Sebastian Pipping <sebastian@pipping.org>
16
16
  Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
17
17
  Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com>
18
18
  Licensed under the MIT license:
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * ANSI-specific configuration file (specification only).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Build macros of the FreeType 2 library.
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * User-selectable configuration macros (specification only).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -5,7 +5,7 @@
5
5
  * ANSI-specific library and header configuration file (specification
6
6
  * only).
7
7
  *
8
- * Copyright (C) 2002-2025 by
8
+ * Copyright (C) 2002-2026 by
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
11
11
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType integer types definitions.
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Mac/OS X support configuration header.
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Define a set of compiler macros used in public FreeType headers.
6
6
  *
7
- * Copyright (C) 2020-2025 by
7
+ * Copyright (C) 2020-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType high-level API and common types (specification only).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -5169,7 +5169,7 @@ FT_BEGIN_HEADER
5169
5169
  */
5170
5170
  #define FREETYPE_MAJOR 2
5171
5171
  #define FREETYPE_MINOR 14
5172
- #define FREETYPE_PATCH 2
5172
+ #define FREETYPE_PATCH 3
5173
5173
 
5174
5174
 
5175
5175
  /**************************************************************************
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Quick computation of advance widths (specification only).
6
6
  *
7
- * Copyright (C) 2008-2025 by
7
+ * Copyright (C) 2008-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType exact bbox computation (specification).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for accessing BDF-specific strings (specification).
6
6
  *
7
- * Copyright (C) 2002-2025 by
7
+ * Copyright (C) 2002-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType utility functions for bitmaps (specification).
6
6
  *
7
- * Copyright (C) 2004-2025 by
7
+ * Copyright (C) 2004-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Bzip2-compressed stream support.
6
6
  *
7
- * Copyright (C) 2010-2025 by
7
+ * Copyright (C) 2010-2026 by
8
8
  * Joel Klinghed.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType Cache subsystem (specification).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for accessing CID font information (specification).
6
6
  *
7
- * Copyright (C) 2007-2025 by
7
+ * Copyright (C) 2007-2026 by
8
8
  * Dereg Clegg and Michael Toftdal.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType's glyph color management (specification).
6
6
  *
7
- * Copyright (C) 2018-2025 by
7
+ * Copyright (C) 2018-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for controlling driver modules (specification only).
6
6
  *
7
- * Copyright (C) 2017-2025 by
7
+ * Copyright (C) 2017-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType error codes (specification).
6
6
  *
7
- * Copyright (C) 2002-2025 by
7
+ * Copyright (C) 2002-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType error code handling (specification).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Support functions for font formats.
6
6
  *
7
- * Copyright (C) 2002-2025 by
7
+ * Copyright (C) 2002-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Access of TrueType's 'gasp' table (specification).
6
6
  *
7
- * Copyright (C) 2007-2025 by
7
+ * Copyright (C) 2007-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType convenience functions to handle glyphs (specification).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for validating TrueTypeGX/AAT tables (specification).
6
6
  *
7
- * Copyright (C) 2004-2025 by
7
+ * Copyright (C) 2004-2026 by
8
8
  * Masatake YAMATO, Redhat K.K,
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Gzip-compressed stream support.
6
6
  *
7
- * Copyright (C) 2002-2025 by
7
+ * Copyright (C) 2002-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -5,7 +5,7 @@
5
5
  * FreeType glyph image formats and default raster interface
6
6
  * (specification).
7
7
  *
8
- * Copyright (C) 1996-2025 by
8
+ * Copyright (C) 1996-2026 by
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
11
11
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType incremental loading (specification).
6
6
  *
7
- * Copyright (C) 2002-2025 by
7
+ * Copyright (C) 2002-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -5,7 +5,7 @@
5
5
  * FreeType API for color filtering of subpixel bitmap glyphs
6
6
  * (specification).
7
7
  *
8
- * Copyright (C) 2006-2025 by
8
+ * Copyright (C) 2006-2026 by
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
11
11
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Generic list support for FreeType (specification).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Additional debugging APIs.
6
6
  *
7
- * Copyright (C) 2020-2025 by
7
+ * Copyright (C) 2020-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * LZW-compressed stream support.
6
6
  *
7
- * Copyright (C) 2004-2025 by
7
+ * Copyright (C) 2004-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Additional Mac-specific API.
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType variation font interface (specification).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType modules public interface (specification).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType module error offsets (specification).
6
6
  *
7
- * Copyright (C) 2001-2025 by
7
+ * Copyright (C) 2001-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for validating OpenType tables (specification).
6
6
  *
7
- * Copyright (C) 2004-2025 by
7
+ * Copyright (C) 2004-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -5,7 +5,7 @@
5
5
  * Support for the FT_Outline type used to store glyph shapes of
6
6
  * most scalable font formats (specification).
7
7
  *
8
- * Copyright (C) 1996-2025 by
8
+ * Copyright (C) 1996-2026 by
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
11
11
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for possible FT_Parameter tags (specification only).
6
6
  *
7
- * Copyright (C) 2017-2025 by
7
+ * Copyright (C) 2017-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for accessing PFR-specific data (specification only).
6
6
  *
7
- * Copyright (C) 2002-2025 by
7
+ * Copyright (C) 2002-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType renderer modules public interface (specification).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType size objects management (specification).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This is _not_ used to retrieve glyph names!
9
9
  *
10
- * Copyright (C) 1996-2025 by
10
+ * Copyright (C) 1996-2026 by
11
11
  * David Turner, Robert Wilhelm, and Werner Lemberg.
12
12
  *
13
13
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType path stroker (specification).
6
6
  *
7
- * Copyright (C) 2002-2025 by
7
+ * Copyright (C) 2002-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -5,7 +5,7 @@
5
5
  * FreeType synthesizing code for emboldening and slanting
6
6
  * (specification).
7
7
  *
8
- * Copyright (C) 2000-2025 by
8
+ * Copyright (C) 2000-2026 by
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
11
11
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType low-level system interface definition (specification).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType trigonometric functions (specification).
6
6
  *
7
- * Copyright (C) 2001-2025 by
7
+ * Copyright (C) 2001-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType simple types definitions (specification only).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType API for accessing Windows fnt-specific data.
6
6
  *
7
- * Copyright (C) 2003-2025 by
7
+ * Copyright (C) 2003-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Interface for OT-SVG support related things (specification).
6
6
  *
7
- * Copyright (C) 2022-2025 by
7
+ * Copyright (C) 2022-2026 by
8
8
  * David Turner, Robert Wilhelm, Werner Lemberg, and Moazin Khatti.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -5,7 +5,7 @@
5
5
  * Basic Type 1/Type 2 tables definitions and interface (specification
6
6
  * only).
7
7
  *
8
- * Copyright (C) 1996-2025 by
8
+ * Copyright (C) 1996-2026 by
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
11
11
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * TrueType name ID definitions (specification only).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -169,7 +169,7 @@ FT_BEGIN_HEADER
169
169
  #define TT_MAC_ID_LAOTIAN 22
170
170
  #define TT_MAC_ID_GEORGIAN 23
171
171
  #define TT_MAC_ID_ARMENIAN 24
172
- #define TT_MAC_ID_MALDIVIAN 25
172
+ #define TT_MAC_ID_MALDIVIAN 25 /* TrueType version 1.66 */
173
173
  #define TT_MAC_ID_SIMPLIFIED_CHINESE 25
174
174
  #define TT_MAC_ID_TIBETAN 26
175
175
  #define TT_MAC_ID_MONGOLIAN 27
@@ -5,7 +5,7 @@
5
5
  * Basic SFNT/TrueType tables definitions and interface
6
6
  * (specification only).
7
7
  *
8
- * Copyright (C) 1996-2025 by
8
+ * Copyright (C) 1996-2026 by
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
11
11
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Tags for TrueType and OpenType tables (specification only).
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType 2 build and setup macros.
6
6
  *
7
- * Copyright (C) 1996-2025 by
7
+ * Copyright (C) 1996-2026 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -45,21 +45,29 @@ GLIB_AVAILABLE_IN_ALL
45
45
  void g_slice_free_chain_with_offset (gsize block_size,
46
46
  gpointer mem_chain,
47
47
  gsize next_offset);
48
- #define g_slice_new(type) ((type*) g_slice_alloc (MAX (sizeof (type), 1)))
48
+
49
+ #ifndef __GI_SCANNER__
50
+ /* Private helper to give the allocation size for a struct — we want to
51
+ * guarantee non-empty allocations, so it returns a minimum of 1B. This is
52
+ * necessary because some compilers do allow empty (zero size) structs. */
53
+ #define g_slice_alloc_size(type) (sizeof (type) > 0 ? sizeof (type) : 1)
54
+ #endif
55
+
56
+ #define g_slice_new(type) ((type*) g_slice_alloc (g_slice_alloc_size (type)))
49
57
 
50
58
  /* Allow the compiler to inline memset(). Since the size is a constant, this
51
59
  * can significantly improve performance. */
52
60
  #if defined (__GNUC__) && (__GNUC__ >= 2) && defined (__OPTIMIZE__)
53
61
  # define g_slice_new0(type) \
54
62
  (type *) (G_GNUC_EXTENSION ({ \
55
- gsize __s = MAX (sizeof (type), 1); \
63
+ gsize __s = g_slice_alloc_size (type); \
56
64
  gpointer __p; \
57
65
  __p = g_slice_alloc (__s); \
58
66
  memset (__p, 0, __s); \
59
67
  __p; \
60
68
  }))
61
69
  #else
62
- # define g_slice_new0(type) ((type*) g_slice_alloc0 (MAX (sizeof (type), 1)))
70
+ # define g_slice_new0(type) ((type*) g_slice_alloc0 (g_slice_alloc_size (type)))
63
71
  #endif
64
72
 
65
73
  /* MemoryBlockType *
@@ -76,7 +84,7 @@ void g_slice_free_chain_with_offset (gsize block_size,
76
84
 
77
85
  /* we go through extra hoops to ensure type safety */
78
86
  #define g_slice_dup(type, mem) \
79
- (1 ? (type*) g_slice_copy (MAX (sizeof (type), 1), (mem)) \
87
+ (1 ? (type*) g_slice_copy (g_slice_alloc_size (type), (mem)) \
80
88
  : ((void) ((type*) 0 == (mem)), (type*) 0))
81
89
  #define g_slice_free(type, mem) \
82
90
  G_STMT_START { \