jassub 1.7.13 → 1.7.15

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 (172) hide show
  1. package/dist/jassub-worker.js +6 -6
  2. package/package.json +4 -2
  3. package/dist/js/jassub-worker-modern.js +0 -128
  4. package/dist/js/jassub-worker-modern.wasm +0 -0
  5. package/dist/js/jassub-worker.js +0 -128
  6. package/dist/js/jassub-worker.wasm +0 -0
  7. package/dist/js/jassub-worker.wasm.js +0 -84
  8. package/dist/js/jassub.js +0 -832
  9. package/dist/libraries/bin/brotli.js +0 -1
  10. package/dist/libraries/include/ass/ass.h +0 -812
  11. package/dist/libraries/include/ass/ass_types.h +0 -292
  12. package/dist/libraries/include/brotli/decode.h +0 -344
  13. package/dist/libraries/include/brotli/encode.h +0 -448
  14. package/dist/libraries/include/brotli/port.h +0 -288
  15. package/dist/libraries/include/brotli/types.h +0 -83
  16. package/dist/libraries/include/expat.h +0 -1064
  17. package/dist/libraries/include/expat_config.h +0 -115
  18. package/dist/libraries/include/expat_external.h +0 -165
  19. package/dist/libraries/include/fontconfig/fcfreetype.h +0 -59
  20. package/dist/libraries/include/fontconfig/fcprivate.h +0 -134
  21. package/dist/libraries/include/fontconfig/fontconfig.h +0 -1154
  22. package/dist/libraries/include/freetype2/freetype/config/ftconfig.h +0 -63
  23. package/dist/libraries/include/freetype2/freetype/config/ftheader.h +0 -824
  24. package/dist/libraries/include/freetype2/freetype/config/ftmodule.h +0 -20
  25. package/dist/libraries/include/freetype2/freetype/config/ftoption.h +0 -1011
  26. package/dist/libraries/include/freetype2/freetype/config/ftstdlib.h +0 -175
  27. package/dist/libraries/include/freetype2/freetype/config/integer-types.h +0 -245
  28. package/dist/libraries/include/freetype2/freetype/config/mac-support.h +0 -49
  29. package/dist/libraries/include/freetype2/freetype/config/public-macros.h +0 -120
  30. package/dist/libraries/include/freetype2/freetype/freetype.h +0 -4833
  31. package/dist/libraries/include/freetype2/freetype/ftadvanc.h +0 -188
  32. package/dist/libraries/include/freetype2/freetype/ftbbox.h +0 -101
  33. package/dist/libraries/include/freetype2/freetype/ftbdf.h +0 -212
  34. package/dist/libraries/include/freetype2/freetype/ftbitmap.h +0 -329
  35. package/dist/libraries/include/freetype2/freetype/ftbzip2.h +0 -102
  36. package/dist/libraries/include/freetype2/freetype/ftcache.h +0 -1087
  37. package/dist/libraries/include/freetype2/freetype/ftchapters.h +0 -147
  38. package/dist/libraries/include/freetype2/freetype/ftcid.h +0 -167
  39. package/dist/libraries/include/freetype2/freetype/ftcolor.h +0 -1609
  40. package/dist/libraries/include/freetype2/freetype/ftdriver.h +0 -1193
  41. package/dist/libraries/include/freetype2/freetype/fterrdef.h +0 -279
  42. package/dist/libraries/include/freetype2/freetype/fterrors.h +0 -296
  43. package/dist/libraries/include/freetype2/freetype/ftfntfmt.h +0 -93
  44. package/dist/libraries/include/freetype2/freetype/ftgasp.h +0 -143
  45. package/dist/libraries/include/freetype2/freetype/ftglyph.h +0 -664
  46. package/dist/libraries/include/freetype2/freetype/ftgxval.h +0 -354
  47. package/dist/libraries/include/freetype2/freetype/ftgzip.h +0 -151
  48. package/dist/libraries/include/freetype2/freetype/ftimage.h +0 -1276
  49. package/dist/libraries/include/freetype2/freetype/ftincrem.h +0 -348
  50. package/dist/libraries/include/freetype2/freetype/ftlcdfil.h +0 -323
  51. package/dist/libraries/include/freetype2/freetype/ftlist.h +0 -296
  52. package/dist/libraries/include/freetype2/freetype/ftlogging.h +0 -184
  53. package/dist/libraries/include/freetype2/freetype/ftlzw.h +0 -100
  54. package/dist/libraries/include/freetype2/freetype/ftmac.h +0 -289
  55. package/dist/libraries/include/freetype2/freetype/ftmm.h +0 -752
  56. package/dist/libraries/include/freetype2/freetype/ftmodapi.h +0 -806
  57. package/dist/libraries/include/freetype2/freetype/ftmoderr.h +0 -204
  58. package/dist/libraries/include/freetype2/freetype/ftotval.h +0 -206
  59. package/dist/libraries/include/freetype2/freetype/ftoutln.h +0 -586
  60. package/dist/libraries/include/freetype2/freetype/ftparams.h +0 -203
  61. package/dist/libraries/include/freetype2/freetype/ftpfr.h +0 -179
  62. package/dist/libraries/include/freetype2/freetype/ftrender.h +0 -244
  63. package/dist/libraries/include/freetype2/freetype/ftsizes.h +0 -159
  64. package/dist/libraries/include/freetype2/freetype/ftsnames.h +0 -272
  65. package/dist/libraries/include/freetype2/freetype/ftstroke.h +0 -773
  66. package/dist/libraries/include/freetype2/freetype/ftsynth.h +0 -83
  67. package/dist/libraries/include/freetype2/freetype/ftsystem.h +0 -352
  68. package/dist/libraries/include/freetype2/freetype/fttrigon.h +0 -350
  69. package/dist/libraries/include/freetype2/freetype/fttypes.h +0 -615
  70. package/dist/libraries/include/freetype2/freetype/ftwinfnt.h +0 -276
  71. package/dist/libraries/include/freetype2/freetype/t1tables.h +0 -773
  72. package/dist/libraries/include/freetype2/freetype/ttnameid.h +0 -1235
  73. package/dist/libraries/include/freetype2/freetype/tttables.h +0 -855
  74. package/dist/libraries/include/freetype2/freetype/tttags.h +0 -123
  75. package/dist/libraries/include/freetype2/ft2build.h +0 -42
  76. package/dist/libraries/include/fribidi/fribidi-arabic.h +0 -81
  77. package/dist/libraries/include/fribidi/fribidi-begindecls.h +0 -3
  78. package/dist/libraries/include/fribidi/fribidi-bidi-types-list.h +0 -96
  79. package/dist/libraries/include/fribidi/fribidi-bidi-types.h +0 -405
  80. package/dist/libraries/include/fribidi/fribidi-bidi.h +0 -142
  81. package/dist/libraries/include/fribidi/fribidi-brackets.h +0 -89
  82. package/dist/libraries/include/fribidi/fribidi-char-sets-list.h +0 -54
  83. package/dist/libraries/include/fribidi/fribidi-char-sets.h +0 -106
  84. package/dist/libraries/include/fribidi/fribidi-common.h +0 -158
  85. package/dist/libraries/include/fribidi/fribidi-config.h +0 -23
  86. package/dist/libraries/include/fribidi/fribidi-deprecated.h +0 -175
  87. package/dist/libraries/include/fribidi/fribidi-enddecls.h +0 -3
  88. package/dist/libraries/include/fribidi/fribidi-flags.h +0 -72
  89. package/dist/libraries/include/fribidi/fribidi-joining-types-list.h +0 -44
  90. package/dist/libraries/include/fribidi/fribidi-joining-types.h +0 -249
  91. package/dist/libraries/include/fribidi/fribidi-joining.h +0 -74
  92. package/dist/libraries/include/fribidi/fribidi-mirroring.h +0 -86
  93. package/dist/libraries/include/fribidi/fribidi-shape.h +0 -71
  94. package/dist/libraries/include/fribidi/fribidi-types.h +0 -79
  95. package/dist/libraries/include/fribidi/fribidi-unicode-version.h +0 -10
  96. package/dist/libraries/include/fribidi/fribidi-unicode.h +0 -105
  97. package/dist/libraries/include/fribidi/fribidi.h +0 -129
  98. package/dist/libraries/include/harfbuzz/hb-aat-layout.h +0 -795
  99. package/dist/libraries/include/harfbuzz/hb-aat.h +0 -38
  100. package/dist/libraries/include/harfbuzz/hb-blob.h +0 -160
  101. package/dist/libraries/include/harfbuzz/hb-buffer.h +0 -799
  102. package/dist/libraries/include/harfbuzz/hb-common.h +0 -902
  103. package/dist/libraries/include/harfbuzz/hb-cplusplus.hh +0 -221
  104. package/dist/libraries/include/harfbuzz/hb-deprecated.h +0 -251
  105. package/dist/libraries/include/harfbuzz/hb-draw.h +0 -325
  106. package/dist/libraries/include/harfbuzz/hb-face.h +0 -181
  107. package/dist/libraries/include/harfbuzz/hb-font.h +0 -1108
  108. package/dist/libraries/include/harfbuzz/hb-ft.h +0 -145
  109. package/dist/libraries/include/harfbuzz/hb-map.h +0 -124
  110. package/dist/libraries/include/harfbuzz/hb-ot-color.h +0 -146
  111. package/dist/libraries/include/harfbuzz/hb-ot-deprecated.h +0 -141
  112. package/dist/libraries/include/harfbuzz/hb-ot-font.h +0 -45
  113. package/dist/libraries/include/harfbuzz/hb-ot-layout.h +0 -503
  114. package/dist/libraries/include/harfbuzz/hb-ot-math.h +0 -333
  115. package/dist/libraries/include/harfbuzz/hb-ot-meta.h +0 -72
  116. package/dist/libraries/include/harfbuzz/hb-ot-metrics.h +0 -129
  117. package/dist/libraries/include/harfbuzz/hb-ot-name.h +0 -158
  118. package/dist/libraries/include/harfbuzz/hb-ot-shape.h +0 -53
  119. package/dist/libraries/include/harfbuzz/hb-ot-var.h +0 -191
  120. package/dist/libraries/include/harfbuzz/hb-ot.h +0 -49
  121. package/dist/libraries/include/harfbuzz/hb-set.h +0 -200
  122. package/dist/libraries/include/harfbuzz/hb-shape-plan.h +0 -122
  123. package/dist/libraries/include/harfbuzz/hb-shape.h +0 -62
  124. package/dist/libraries/include/harfbuzz/hb-style.h +0 -81
  125. package/dist/libraries/include/harfbuzz/hb-subset-repacker.h +0 -81
  126. package/dist/libraries/include/harfbuzz/hb-subset.h +0 -234
  127. package/dist/libraries/include/harfbuzz/hb-unicode.h +0 -643
  128. package/dist/libraries/include/harfbuzz/hb-version.h +0 -95
  129. package/dist/libraries/include/harfbuzz/hb.h +0 -50
  130. package/dist/libraries/lib/cmake/expat-2.4.7/expat-config-version.cmake +0 -70
  131. package/dist/libraries/lib/cmake/expat-2.4.7/expat-config.cmake +0 -99
  132. package/dist/libraries/lib/cmake/expat-2.4.7/expat-noconfig.cmake +0 -19
  133. package/dist/libraries/lib/cmake/expat-2.4.7/expat.cmake +0 -99
  134. package/dist/libraries/lib/libass.a +0 -0
  135. package/dist/libraries/lib/libass.la +0 -41
  136. package/dist/libraries/lib/libbrotlicommon.a +0 -0
  137. package/dist/libraries/lib/libbrotlidec.a +0 -0
  138. package/dist/libraries/lib/libbrotlienc.a +0 -0
  139. package/dist/libraries/lib/libexpat.a +0 -0
  140. package/dist/libraries/lib/libfontconfig.a +0 -0
  141. package/dist/libraries/lib/libfontconfig.la +0 -41
  142. package/dist/libraries/lib/libfreetype.a +0 -0
  143. package/dist/libraries/lib/libfreetype.la +0 -41
  144. package/dist/libraries/lib/libfribidi.a +0 -0
  145. package/dist/libraries/lib/libfribidi.la +0 -41
  146. package/dist/libraries/lib/libharfbuzz-subset.a +0 -0
  147. package/dist/libraries/lib/libharfbuzz-subset.la +0 -41
  148. package/dist/libraries/lib/libharfbuzz.a +0 -0
  149. package/dist/libraries/lib/libharfbuzz.la +0 -41
  150. package/dist/libraries/lib/pkgconfig/expat.pc +0 -11
  151. package/dist/libraries/lib/pkgconfig/fontconfig.pc +0 -18
  152. package/dist/libraries/lib/pkgconfig/freetype2.pc +0 -14
  153. package/dist/libraries/lib/pkgconfig/fribidi.pc +0 -13
  154. package/dist/libraries/lib/pkgconfig/harfbuzz-subset.pc +0 -12
  155. package/dist/libraries/lib/pkgconfig/harfbuzz.pc +0 -13
  156. package/dist/libraries/lib/pkgconfig/libass.pc +0 -13
  157. package/dist/libraries/lib/pkgconfig/libbrotlicommon.pc +0 -11
  158. package/dist/libraries/lib/pkgconfig/libbrotlidec.pc +0 -12
  159. package/dist/libraries/lib/pkgconfig/libbrotlienc.pc +0 -12
  160. package/dist/libraries/share/aclocal/freetype2.m4 +0 -194
  161. package/dist/libraries/share/doc/expat/AUTHORS +0 -10
  162. package/dist/libraries/share/doc/expat/changelog +0 -1161
  163. package/dist/license/all +0 -951
  164. package/dist/license/all.tmp +0 -307
  165. package/dist/license/brotli +0 -12
  166. package/dist/license/expat +0 -71
  167. package/dist/license/fontconfig +0 -46
  168. package/dist/license/freetype +0 -92
  169. package/dist/license/fribidi +0 -15
  170. package/dist/license/harfbuzz +0 -32
  171. package/dist/license/jassub +0 -0
  172. package/dist/license/libass +0 -28
@@ -1,145 +0,0 @@
1
- /*
2
- * Copyright © 2009 Red Hat, Inc.
3
- * Copyright © 2015 Google, Inc.
4
- *
5
- * This is part of HarfBuzz, a text shaping library.
6
- *
7
- * Permission is hereby granted, without written agreement and without
8
- * license or royalty fees, to use, copy, modify, and distribute this
9
- * software and its documentation for any purpose, provided that the
10
- * above copyright notice and the following two paragraphs appear in
11
- * all copies of this software.
12
- *
13
- * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
14
- * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
15
- * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
16
- * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
17
- * DAMAGE.
18
- *
19
- * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
20
- * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
- * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
22
- * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
23
- * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
24
- *
25
- * Red Hat Author(s): Behdad Esfahbod
26
- * Google Author(s): Behdad Esfahbod
27
- */
28
-
29
- #ifndef HB_FT_H
30
- #define HB_FT_H
31
-
32
- #include "hb.h"
33
-
34
- #include <ft2build.h>
35
- #include FT_FREETYPE_H
36
-
37
- HB_BEGIN_DECLS
38
-
39
- /*
40
- * Note: FreeType is not thread-safe.
41
- * Hence, these functions are not either.
42
- */
43
-
44
- /*
45
- * hb-face from ft-face.
46
- */
47
-
48
- /* This one creates a new hb-face for given ft-face.
49
- * When the returned hb-face is destroyed, the destroy
50
- * callback is called (if not NULL), with the ft-face passed
51
- * to it.
52
- *
53
- * The client is responsible to make sure that ft-face is
54
- * destroyed after hb-face is destroyed.
55
- *
56
- * Most often you don't want this function. You should use either
57
- * hb_ft_face_create_cached(), or hb_ft_face_create_referenced().
58
- * In particular, if you are going to pass NULL as destroy, you
59
- * probably should use (the more recent) hb_ft_face_create_referenced()
60
- * instead.
61
- */
62
- HB_EXTERN hb_face_t *
63
- hb_ft_face_create (FT_Face ft_face,
64
- hb_destroy_func_t destroy);
65
-
66
- /* This version is like hb_ft_face_create(), except that it caches
67
- * the hb-face using the generic pointer of the ft-face. This means
68
- * that subsequent calls to this function with the same ft-face will
69
- * return the same hb-face (correctly referenced).
70
- *
71
- * Client is still responsible for making sure that ft-face is destroyed
72
- * after hb-face is.
73
- */
74
- HB_EXTERN hb_face_t *
75
- hb_ft_face_create_cached (FT_Face ft_face);
76
-
77
- /* This version is like hb_ft_face_create(), except that it calls
78
- * FT_Reference_Face() on ft-face, as such keeping ft-face alive
79
- * as long as the hb-face is.
80
- *
81
- * This is the most convenient version to use. Use it unless you have
82
- * very good reasons not to.
83
- */
84
- HB_EXTERN hb_face_t *
85
- hb_ft_face_create_referenced (FT_Face ft_face);
86
-
87
-
88
- /*
89
- * hb-font from ft-face.
90
- */
91
-
92
- /*
93
- * Note:
94
- *
95
- * Set face size on ft-face before creating hb-font from it.
96
- * Otherwise hb-ft would NOT pick up the font size correctly.
97
- */
98
-
99
- /* See notes on hb_ft_face_create(). Same issues re lifecycle-management
100
- * apply here. Use hb_ft_font_create_referenced() if you can. */
101
- HB_EXTERN hb_font_t *
102
- hb_ft_font_create (FT_Face ft_face,
103
- hb_destroy_func_t destroy);
104
-
105
- /* See notes on hb_ft_face_create_referenced() re lifecycle-management
106
- * issues. */
107
- HB_EXTERN hb_font_t *
108
- hb_ft_font_create_referenced (FT_Face ft_face);
109
-
110
- HB_EXTERN FT_Face
111
- hb_ft_font_get_face (hb_font_t *font);
112
-
113
- HB_EXTERN FT_Face
114
- hb_ft_font_lock_face (hb_font_t *font);
115
-
116
- HB_EXTERN void
117
- hb_ft_font_unlock_face (hb_font_t *font);
118
-
119
- HB_EXTERN void
120
- hb_ft_font_set_load_flags (hb_font_t *font, int load_flags);
121
-
122
- HB_EXTERN int
123
- hb_ft_font_get_load_flags (hb_font_t *font);
124
-
125
- /* Call when size or variations settings on underlying FT_Face changed,
126
- * and you want to update the hb_font_t from it. */
127
- HB_EXTERN void
128
- hb_ft_font_changed (hb_font_t *font);
129
-
130
- /* Call when size or variations settings on underlying hb_font_t may have
131
- * changed, and you want to update the FT_Face from it. This call is fast
132
- * if nothing changed on hb_font_t. Returns true if changed. */
133
- HB_EXTERN hb_bool_t
134
- hb_ft_hb_font_changed (hb_font_t *font);
135
-
136
- /* Makes an hb_font_t use FreeType internally to implement font functions.
137
- * Note: this internally creates an FT_Face. Use it when you create your
138
- * hb_face_t using hb_face_create(). */
139
- HB_EXTERN void
140
- hb_ft_font_set_funcs (hb_font_t *font);
141
-
142
-
143
- HB_END_DECLS
144
-
145
- #endif /* HB_FT_H */
@@ -1,124 +0,0 @@
1
- /*
2
- * Copyright © 2018 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
- * Google Author(s): Behdad Esfahbod
25
- */
26
-
27
- #if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
28
- #error "Include <hb.h> instead."
29
- #endif
30
-
31
- #ifndef HB_MAP_H
32
- #define HB_MAP_H
33
-
34
- #include "hb-common.h"
35
-
36
- HB_BEGIN_DECLS
37
-
38
-
39
- /**
40
- * HB_MAP_VALUE_INVALID:
41
- *
42
- * Unset #hb_map_t value.
43
- *
44
- * Since: 1.7.7
45
- */
46
- #define HB_MAP_VALUE_INVALID ((hb_codepoint_t) -1)
47
-
48
- /**
49
- * hb_map_t:
50
- *
51
- * Data type for holding integer-to-integer hash maps.
52
- *
53
- **/
54
- typedef struct hb_map_t hb_map_t;
55
-
56
-
57
- HB_EXTERN hb_map_t *
58
- hb_map_create (void);
59
-
60
- HB_EXTERN hb_map_t *
61
- hb_map_get_empty (void);
62
-
63
- HB_EXTERN hb_map_t *
64
- hb_map_reference (hb_map_t *map);
65
-
66
- HB_EXTERN void
67
- hb_map_destroy (hb_map_t *map);
68
-
69
- HB_EXTERN hb_bool_t
70
- hb_map_set_user_data (hb_map_t *map,
71
- hb_user_data_key_t *key,
72
- void * data,
73
- hb_destroy_func_t destroy,
74
- hb_bool_t replace);
75
-
76
- HB_EXTERN void *
77
- hb_map_get_user_data (const hb_map_t *map,
78
- hb_user_data_key_t *key);
79
-
80
-
81
- /* Returns false if allocation has failed before */
82
- HB_EXTERN hb_bool_t
83
- hb_map_allocation_successful (const hb_map_t *map);
84
-
85
- HB_EXTERN hb_map_t *
86
- hb_map_copy (const hb_map_t *map);
87
-
88
- HB_EXTERN void
89
- hb_map_clear (hb_map_t *map);
90
-
91
- HB_EXTERN hb_bool_t
92
- hb_map_is_empty (const hb_map_t *map);
93
-
94
- HB_EXTERN unsigned int
95
- hb_map_get_population (const hb_map_t *map);
96
-
97
- HB_EXTERN hb_bool_t
98
- hb_map_is_equal (const hb_map_t *map,
99
- const hb_map_t *other);
100
-
101
- HB_EXTERN unsigned int
102
- hb_map_hash (const hb_map_t *map);
103
-
104
- HB_EXTERN void
105
- hb_map_set (hb_map_t *map,
106
- hb_codepoint_t key,
107
- hb_codepoint_t value);
108
-
109
- HB_EXTERN hb_codepoint_t
110
- hb_map_get (const hb_map_t *map,
111
- hb_codepoint_t key);
112
-
113
- HB_EXTERN void
114
- hb_map_del (hb_map_t *map,
115
- hb_codepoint_t key);
116
-
117
- HB_EXTERN hb_bool_t
118
- hb_map_has (const hb_map_t *map,
119
- hb_codepoint_t key);
120
-
121
-
122
- HB_END_DECLS
123
-
124
- #endif /* HB_MAP_H */
@@ -1,146 +0,0 @@
1
- /*
2
- * Copyright © 2016 Google, Inc.
3
- * Copyright © 2018 Khaled Hosny
4
- * Copyright © 2018 Ebrahim Byagowi
5
- *
6
- * This is part of HarfBuzz, a text shaping library.
7
- *
8
- * Permission is hereby granted, without written agreement and without
9
- * license or royalty fees, to use, copy, modify, and distribute this
10
- * software and its documentation for any purpose, provided that the
11
- * above copyright notice and the following two paragraphs appear in
12
- * all copies of this software.
13
- *
14
- * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
15
- * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
16
- * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
17
- * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
18
- * DAMAGE.
19
- *
20
- * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
21
- * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
22
- * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
23
- * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
24
- * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
25
- *
26
- * Google Author(s): Sascha Brawer, Behdad Esfahbod
27
- */
28
-
29
- #if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
30
- #error "Include <hb-ot.h> instead."
31
- #endif
32
-
33
- #ifndef HB_OT_COLOR_H
34
- #define HB_OT_COLOR_H
35
-
36
- #include "hb.h"
37
- #include "hb-ot-name.h"
38
-
39
- HB_BEGIN_DECLS
40
-
41
-
42
- /*
43
- * Color palettes.
44
- */
45
-
46
- HB_EXTERN hb_bool_t
47
- hb_ot_color_has_palettes (hb_face_t *face);
48
-
49
- HB_EXTERN unsigned int
50
- hb_ot_color_palette_get_count (hb_face_t *face);
51
-
52
- HB_EXTERN hb_ot_name_id_t
53
- hb_ot_color_palette_get_name_id (hb_face_t *face,
54
- unsigned int palette_index);
55
-
56
- HB_EXTERN hb_ot_name_id_t
57
- hb_ot_color_palette_color_get_name_id (hb_face_t *face,
58
- unsigned int color_index);
59
-
60
- /**
61
- * hb_ot_color_palette_flags_t:
62
- * @HB_OT_COLOR_PALETTE_FLAG_DEFAULT: Default indicating that there is nothing special
63
- * to note about a color palette.
64
- * @HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_LIGHT_BACKGROUND: Flag indicating that the color
65
- * palette is appropriate to use when displaying the font on a light background such as white.
66
- * @HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_DARK_BACKGROUND: Flag indicating that the color
67
- * palette is appropriate to use when displaying the font on a dark background such as black.
68
- *
69
- * Flags that describe the properties of color palette.
70
- *
71
- * Since: 2.1.0
72
- */
73
- typedef enum { /*< flags >*/
74
- HB_OT_COLOR_PALETTE_FLAG_DEFAULT = 0x00000000u,
75
- HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_LIGHT_BACKGROUND = 0x00000001u,
76
- HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_DARK_BACKGROUND = 0x00000002u
77
- } hb_ot_color_palette_flags_t;
78
-
79
- HB_EXTERN hb_ot_color_palette_flags_t
80
- hb_ot_color_palette_get_flags (hb_face_t *face,
81
- unsigned int palette_index);
82
-
83
- HB_EXTERN unsigned int
84
- hb_ot_color_palette_get_colors (hb_face_t *face,
85
- unsigned int palette_index,
86
- unsigned int start_offset,
87
- unsigned int *color_count, /* IN/OUT. May be NULL. */
88
- hb_color_t *colors /* OUT. May be NULL. */);
89
-
90
-
91
- /*
92
- * Color layers.
93
- */
94
-
95
- HB_EXTERN hb_bool_t
96
- hb_ot_color_has_layers (hb_face_t *face);
97
-
98
- /**
99
- * hb_ot_color_layer_t:
100
- * @glyph: the glyph ID of the layer
101
- * @color_index: the palette color index of the layer
102
- *
103
- * Pairs of glyph and color index.
104
- *
105
- * A color index of 0xFFFF does not refer to a palette
106
- * color, but indicates that the foreground color should
107
- * be used.
108
- *
109
- * Since: 2.1.0
110
- **/
111
- typedef struct hb_ot_color_layer_t {
112
- hb_codepoint_t glyph;
113
- unsigned int color_index;
114
- } hb_ot_color_layer_t;
115
-
116
- HB_EXTERN unsigned int
117
- hb_ot_color_glyph_get_layers (hb_face_t *face,
118
- hb_codepoint_t glyph,
119
- unsigned int start_offset,
120
- unsigned int *layer_count, /* IN/OUT. May be NULL. */
121
- hb_ot_color_layer_t *layers /* OUT. May be NULL. */);
122
-
123
- /*
124
- * SVG
125
- */
126
-
127
- HB_EXTERN hb_bool_t
128
- hb_ot_color_has_svg (hb_face_t *face);
129
-
130
- HB_EXTERN hb_blob_t *
131
- hb_ot_color_glyph_reference_svg (hb_face_t *face, hb_codepoint_t glyph);
132
-
133
- /*
134
- * PNG: CBDT or sbix
135
- */
136
-
137
- HB_EXTERN hb_bool_t
138
- hb_ot_color_has_png (hb_face_t *face);
139
-
140
- HB_EXTERN hb_blob_t *
141
- hb_ot_color_glyph_reference_png (hb_font_t *font, hb_codepoint_t glyph);
142
-
143
-
144
- HB_END_DECLS
145
-
146
- #endif /* HB_OT_COLOR_H */
@@ -1,141 +0,0 @@
1
- /*
2
- * Copyright © 2018 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
- * Google Author(s): Behdad Esfahbod
25
- */
26
-
27
- #if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
28
- #error "Include <hb-ot.h> instead."
29
- #endif
30
-
31
- #ifndef HB_OT_DEPRECATED_H
32
- #define HB_OT_DEPRECATED_H
33
-
34
- #include "hb.h"
35
- #include "hb-ot-name.h"
36
-
37
-
38
- HB_BEGIN_DECLS
39
-
40
- #ifndef HB_DISABLE_DEPRECATED
41
-
42
-
43
- /* https://github.com/harfbuzz/harfbuzz/issues/1734 */
44
- /**
45
- * HB_MATH_GLYPH_PART_FLAG_EXTENDER:
46
- *
47
- * Use #HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER instead.
48
- *
49
- * Deprecated: 2.5.1
50
- */
51
- #define HB_MATH_GLYPH_PART_FLAG_EXTENDER HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER
52
-
53
- /* https://github.com/harfbuzz/harfbuzz/pull/3417 */
54
- /**
55
- * HB_OT_MATH_SCRIPT:
56
- *
57
- * Use #HB_SCRIPT_MATH or #HB_OT_TAG_MATH_SCRIPT instead.
58
- *
59
- * <note>Previous versions of this documentation recommended passing
60
- * #HB_OT_MATH_SCRIPT to hb_buffer_set_script() to enable math shaping, but this
61
- * usage is no longer supported. Use #HB_SCRIPT_MATH instead.</note>
62
- *
63
- * Since: 1.3.3
64
- * Deprecated: 3.4.0
65
- */
66
- #define HB_OT_MATH_SCRIPT HB_OT_TAG_MATH_SCRIPT
67
-
68
-
69
- /* Like hb_ot_layout_table_find_script, but takes zero-terminated array of scripts to test */
70
- HB_EXTERN HB_DEPRECATED_FOR (hb_ot_layout_table_select_script) hb_bool_t
71
- hb_ot_layout_table_choose_script (hb_face_t *face,
72
- hb_tag_t table_tag,
73
- const hb_tag_t *script_tags,
74
- unsigned int *script_index,
75
- hb_tag_t *chosen_script);
76
-
77
- HB_EXTERN HB_DEPRECATED_FOR (hb_ot_layout_script_select_language) hb_bool_t
78
- hb_ot_layout_script_find_language (hb_face_t *face,
79
- hb_tag_t table_tag,
80
- unsigned int script_index,
81
- hb_tag_t language_tag,
82
- unsigned int *language_index);
83
-
84
- HB_EXTERN HB_DEPRECATED_FOR (hb_ot_tags_from_script_and_language) void
85
- hb_ot_tags_from_script (hb_script_t script,
86
- hb_tag_t *script_tag_1,
87
- hb_tag_t *script_tag_2);
88
-
89
- HB_EXTERN HB_DEPRECATED_FOR (hb_ot_tags_from_script_and_language) hb_tag_t
90
- hb_ot_tag_from_language (hb_language_t language);
91
-
92
-
93
- /**
94
- * HB_OT_VAR_NO_AXIS_INDEX:
95
- *
96
- * Do not use.
97
- *
98
- * Since: 1.4.2
99
- * Deprecated: 2.2.0
100
- */
101
- #define HB_OT_VAR_NO_AXIS_INDEX 0xFFFFFFFFu
102
-
103
- /**
104
- * hb_ot_var_axis_t:
105
- * @tag: axis tag
106
- * @name_id: axis name identifier
107
- * @min_value: minimum value of the axis
108
- * @default_value: default value of the axis
109
- * @max_value: maximum value of the axis
110
- *
111
- * Use #hb_ot_var_axis_info_t instead.
112
- *
113
- * Since: 1.4.2
114
- * Deprecated: 2.2.0
115
- */
116
- typedef struct hb_ot_var_axis_t {
117
- hb_tag_t tag;
118
- hb_ot_name_id_t name_id;
119
- float min_value;
120
- float default_value;
121
- float max_value;
122
- } hb_ot_var_axis_t;
123
-
124
- HB_EXTERN HB_DEPRECATED_FOR (hb_ot_var_get_axis_infos) unsigned int
125
- hb_ot_var_get_axes (hb_face_t *face,
126
- unsigned int start_offset,
127
- unsigned int *axes_count /* IN/OUT */,
128
- hb_ot_var_axis_t *axes_array /* OUT */);
129
-
130
- HB_EXTERN HB_DEPRECATED_FOR (hb_ot_var_find_axis_info) hb_bool_t
131
- hb_ot_var_find_axis (hb_face_t *face,
132
- hb_tag_t axis_tag,
133
- unsigned int *axis_index,
134
- hb_ot_var_axis_t *axis_info);
135
-
136
-
137
- #endif
138
-
139
- HB_END_DECLS
140
-
141
- #endif /* HB_OT_DEPRECATED_H */
@@ -1,45 +0,0 @@
1
- /*
2
- * Copyright © 2014 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
- * Google Author(s): Behdad Esfahbod, Roozbeh Pournader
25
- */
26
-
27
- #if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
28
- #error "Include <hb-ot.h> instead."
29
- #endif
30
-
31
- #ifndef HB_OT_FONT_H
32
- #define HB_OT_FONT_H
33
-
34
- #include "hb.h"
35
-
36
- HB_BEGIN_DECLS
37
-
38
-
39
- HB_EXTERN void
40
- hb_ot_font_set_funcs (hb_font_t *font);
41
-
42
-
43
- HB_END_DECLS
44
-
45
- #endif /* HB_OT_FONT_H */