jassub 1.7.12 → 1.7.14

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 (175) hide show
  1. package/dist/jassub-worker-modern.wasm +0 -0
  2. package/dist/jassub-worker.js +11 -11
  3. package/dist/jassub-worker.wasm +0 -0
  4. package/dist/jassub-worker.wasm.js +1 -1
  5. package/package.json +4 -2
  6. package/dist/js/jassub-worker-modern.js +0 -10
  7. package/dist/js/jassub-worker-modern.wasm +0 -0
  8. package/dist/js/jassub-worker.js +0 -10
  9. package/dist/js/jassub-worker.wasm +0 -0
  10. package/dist/js/jassub-worker.wasm.js +0 -84
  11. package/dist/js/jassub.js +0 -832
  12. package/dist/libraries/bin/brotli.js +0 -1
  13. package/dist/libraries/include/ass/ass.h +0 -812
  14. package/dist/libraries/include/ass/ass_types.h +0 -292
  15. package/dist/libraries/include/brotli/decode.h +0 -344
  16. package/dist/libraries/include/brotli/encode.h +0 -448
  17. package/dist/libraries/include/brotli/port.h +0 -288
  18. package/dist/libraries/include/brotli/types.h +0 -83
  19. package/dist/libraries/include/expat.h +0 -1064
  20. package/dist/libraries/include/expat_config.h +0 -115
  21. package/dist/libraries/include/expat_external.h +0 -165
  22. package/dist/libraries/include/fontconfig/fcfreetype.h +0 -59
  23. package/dist/libraries/include/fontconfig/fcprivate.h +0 -134
  24. package/dist/libraries/include/fontconfig/fontconfig.h +0 -1154
  25. package/dist/libraries/include/freetype2/freetype/config/ftconfig.h +0 -63
  26. package/dist/libraries/include/freetype2/freetype/config/ftheader.h +0 -824
  27. package/dist/libraries/include/freetype2/freetype/config/ftmodule.h +0 -20
  28. package/dist/libraries/include/freetype2/freetype/config/ftoption.h +0 -1011
  29. package/dist/libraries/include/freetype2/freetype/config/ftstdlib.h +0 -175
  30. package/dist/libraries/include/freetype2/freetype/config/integer-types.h +0 -245
  31. package/dist/libraries/include/freetype2/freetype/config/mac-support.h +0 -49
  32. package/dist/libraries/include/freetype2/freetype/config/public-macros.h +0 -120
  33. package/dist/libraries/include/freetype2/freetype/freetype.h +0 -4833
  34. package/dist/libraries/include/freetype2/freetype/ftadvanc.h +0 -188
  35. package/dist/libraries/include/freetype2/freetype/ftbbox.h +0 -101
  36. package/dist/libraries/include/freetype2/freetype/ftbdf.h +0 -212
  37. package/dist/libraries/include/freetype2/freetype/ftbitmap.h +0 -329
  38. package/dist/libraries/include/freetype2/freetype/ftbzip2.h +0 -102
  39. package/dist/libraries/include/freetype2/freetype/ftcache.h +0 -1087
  40. package/dist/libraries/include/freetype2/freetype/ftchapters.h +0 -147
  41. package/dist/libraries/include/freetype2/freetype/ftcid.h +0 -167
  42. package/dist/libraries/include/freetype2/freetype/ftcolor.h +0 -1609
  43. package/dist/libraries/include/freetype2/freetype/ftdriver.h +0 -1193
  44. package/dist/libraries/include/freetype2/freetype/fterrdef.h +0 -279
  45. package/dist/libraries/include/freetype2/freetype/fterrors.h +0 -296
  46. package/dist/libraries/include/freetype2/freetype/ftfntfmt.h +0 -93
  47. package/dist/libraries/include/freetype2/freetype/ftgasp.h +0 -143
  48. package/dist/libraries/include/freetype2/freetype/ftglyph.h +0 -664
  49. package/dist/libraries/include/freetype2/freetype/ftgxval.h +0 -354
  50. package/dist/libraries/include/freetype2/freetype/ftgzip.h +0 -151
  51. package/dist/libraries/include/freetype2/freetype/ftimage.h +0 -1276
  52. package/dist/libraries/include/freetype2/freetype/ftincrem.h +0 -348
  53. package/dist/libraries/include/freetype2/freetype/ftlcdfil.h +0 -323
  54. package/dist/libraries/include/freetype2/freetype/ftlist.h +0 -296
  55. package/dist/libraries/include/freetype2/freetype/ftlogging.h +0 -184
  56. package/dist/libraries/include/freetype2/freetype/ftlzw.h +0 -100
  57. package/dist/libraries/include/freetype2/freetype/ftmac.h +0 -289
  58. package/dist/libraries/include/freetype2/freetype/ftmm.h +0 -752
  59. package/dist/libraries/include/freetype2/freetype/ftmodapi.h +0 -806
  60. package/dist/libraries/include/freetype2/freetype/ftmoderr.h +0 -204
  61. package/dist/libraries/include/freetype2/freetype/ftotval.h +0 -206
  62. package/dist/libraries/include/freetype2/freetype/ftoutln.h +0 -586
  63. package/dist/libraries/include/freetype2/freetype/ftparams.h +0 -203
  64. package/dist/libraries/include/freetype2/freetype/ftpfr.h +0 -179
  65. package/dist/libraries/include/freetype2/freetype/ftrender.h +0 -244
  66. package/dist/libraries/include/freetype2/freetype/ftsizes.h +0 -159
  67. package/dist/libraries/include/freetype2/freetype/ftsnames.h +0 -272
  68. package/dist/libraries/include/freetype2/freetype/ftstroke.h +0 -773
  69. package/dist/libraries/include/freetype2/freetype/ftsynth.h +0 -83
  70. package/dist/libraries/include/freetype2/freetype/ftsystem.h +0 -352
  71. package/dist/libraries/include/freetype2/freetype/fttrigon.h +0 -350
  72. package/dist/libraries/include/freetype2/freetype/fttypes.h +0 -615
  73. package/dist/libraries/include/freetype2/freetype/ftwinfnt.h +0 -276
  74. package/dist/libraries/include/freetype2/freetype/t1tables.h +0 -773
  75. package/dist/libraries/include/freetype2/freetype/ttnameid.h +0 -1235
  76. package/dist/libraries/include/freetype2/freetype/tttables.h +0 -855
  77. package/dist/libraries/include/freetype2/freetype/tttags.h +0 -123
  78. package/dist/libraries/include/freetype2/ft2build.h +0 -42
  79. package/dist/libraries/include/fribidi/fribidi-arabic.h +0 -81
  80. package/dist/libraries/include/fribidi/fribidi-begindecls.h +0 -3
  81. package/dist/libraries/include/fribidi/fribidi-bidi-types-list.h +0 -96
  82. package/dist/libraries/include/fribidi/fribidi-bidi-types.h +0 -405
  83. package/dist/libraries/include/fribidi/fribidi-bidi.h +0 -142
  84. package/dist/libraries/include/fribidi/fribidi-brackets.h +0 -89
  85. package/dist/libraries/include/fribidi/fribidi-char-sets-list.h +0 -54
  86. package/dist/libraries/include/fribidi/fribidi-char-sets.h +0 -106
  87. package/dist/libraries/include/fribidi/fribidi-common.h +0 -158
  88. package/dist/libraries/include/fribidi/fribidi-config.h +0 -23
  89. package/dist/libraries/include/fribidi/fribidi-deprecated.h +0 -175
  90. package/dist/libraries/include/fribidi/fribidi-enddecls.h +0 -3
  91. package/dist/libraries/include/fribidi/fribidi-flags.h +0 -72
  92. package/dist/libraries/include/fribidi/fribidi-joining-types-list.h +0 -44
  93. package/dist/libraries/include/fribidi/fribidi-joining-types.h +0 -249
  94. package/dist/libraries/include/fribidi/fribidi-joining.h +0 -74
  95. package/dist/libraries/include/fribidi/fribidi-mirroring.h +0 -86
  96. package/dist/libraries/include/fribidi/fribidi-shape.h +0 -71
  97. package/dist/libraries/include/fribidi/fribidi-types.h +0 -79
  98. package/dist/libraries/include/fribidi/fribidi-unicode-version.h +0 -10
  99. package/dist/libraries/include/fribidi/fribidi-unicode.h +0 -105
  100. package/dist/libraries/include/fribidi/fribidi.h +0 -129
  101. package/dist/libraries/include/harfbuzz/hb-aat-layout.h +0 -795
  102. package/dist/libraries/include/harfbuzz/hb-aat.h +0 -38
  103. package/dist/libraries/include/harfbuzz/hb-blob.h +0 -160
  104. package/dist/libraries/include/harfbuzz/hb-buffer.h +0 -799
  105. package/dist/libraries/include/harfbuzz/hb-common.h +0 -902
  106. package/dist/libraries/include/harfbuzz/hb-cplusplus.hh +0 -221
  107. package/dist/libraries/include/harfbuzz/hb-deprecated.h +0 -251
  108. package/dist/libraries/include/harfbuzz/hb-draw.h +0 -325
  109. package/dist/libraries/include/harfbuzz/hb-face.h +0 -181
  110. package/dist/libraries/include/harfbuzz/hb-font.h +0 -1108
  111. package/dist/libraries/include/harfbuzz/hb-ft.h +0 -145
  112. package/dist/libraries/include/harfbuzz/hb-map.h +0 -124
  113. package/dist/libraries/include/harfbuzz/hb-ot-color.h +0 -146
  114. package/dist/libraries/include/harfbuzz/hb-ot-deprecated.h +0 -141
  115. package/dist/libraries/include/harfbuzz/hb-ot-font.h +0 -45
  116. package/dist/libraries/include/harfbuzz/hb-ot-layout.h +0 -503
  117. package/dist/libraries/include/harfbuzz/hb-ot-math.h +0 -333
  118. package/dist/libraries/include/harfbuzz/hb-ot-meta.h +0 -72
  119. package/dist/libraries/include/harfbuzz/hb-ot-metrics.h +0 -129
  120. package/dist/libraries/include/harfbuzz/hb-ot-name.h +0 -158
  121. package/dist/libraries/include/harfbuzz/hb-ot-shape.h +0 -53
  122. package/dist/libraries/include/harfbuzz/hb-ot-var.h +0 -191
  123. package/dist/libraries/include/harfbuzz/hb-ot.h +0 -49
  124. package/dist/libraries/include/harfbuzz/hb-set.h +0 -200
  125. package/dist/libraries/include/harfbuzz/hb-shape-plan.h +0 -122
  126. package/dist/libraries/include/harfbuzz/hb-shape.h +0 -62
  127. package/dist/libraries/include/harfbuzz/hb-style.h +0 -81
  128. package/dist/libraries/include/harfbuzz/hb-subset-repacker.h +0 -81
  129. package/dist/libraries/include/harfbuzz/hb-subset.h +0 -234
  130. package/dist/libraries/include/harfbuzz/hb-unicode.h +0 -643
  131. package/dist/libraries/include/harfbuzz/hb-version.h +0 -95
  132. package/dist/libraries/include/harfbuzz/hb.h +0 -50
  133. package/dist/libraries/lib/cmake/expat-2.4.7/expat-config-version.cmake +0 -70
  134. package/dist/libraries/lib/cmake/expat-2.4.7/expat-config.cmake +0 -99
  135. package/dist/libraries/lib/cmake/expat-2.4.7/expat-noconfig.cmake +0 -19
  136. package/dist/libraries/lib/cmake/expat-2.4.7/expat.cmake +0 -99
  137. package/dist/libraries/lib/libass.a +0 -0
  138. package/dist/libraries/lib/libass.la +0 -41
  139. package/dist/libraries/lib/libbrotlicommon.a +0 -0
  140. package/dist/libraries/lib/libbrotlidec.a +0 -0
  141. package/dist/libraries/lib/libbrotlienc.a +0 -0
  142. package/dist/libraries/lib/libexpat.a +0 -0
  143. package/dist/libraries/lib/libfontconfig.a +0 -0
  144. package/dist/libraries/lib/libfontconfig.la +0 -41
  145. package/dist/libraries/lib/libfreetype.a +0 -0
  146. package/dist/libraries/lib/libfreetype.la +0 -41
  147. package/dist/libraries/lib/libfribidi.a +0 -0
  148. package/dist/libraries/lib/libfribidi.la +0 -41
  149. package/dist/libraries/lib/libharfbuzz-subset.a +0 -0
  150. package/dist/libraries/lib/libharfbuzz-subset.la +0 -41
  151. package/dist/libraries/lib/libharfbuzz.a +0 -0
  152. package/dist/libraries/lib/libharfbuzz.la +0 -41
  153. package/dist/libraries/lib/pkgconfig/expat.pc +0 -11
  154. package/dist/libraries/lib/pkgconfig/fontconfig.pc +0 -18
  155. package/dist/libraries/lib/pkgconfig/freetype2.pc +0 -14
  156. package/dist/libraries/lib/pkgconfig/fribidi.pc +0 -13
  157. package/dist/libraries/lib/pkgconfig/harfbuzz-subset.pc +0 -12
  158. package/dist/libraries/lib/pkgconfig/harfbuzz.pc +0 -13
  159. package/dist/libraries/lib/pkgconfig/libass.pc +0 -13
  160. package/dist/libraries/lib/pkgconfig/libbrotlicommon.pc +0 -11
  161. package/dist/libraries/lib/pkgconfig/libbrotlidec.pc +0 -12
  162. package/dist/libraries/lib/pkgconfig/libbrotlienc.pc +0 -12
  163. package/dist/libraries/share/aclocal/freetype2.m4 +0 -194
  164. package/dist/libraries/share/doc/expat/AUTHORS +0 -10
  165. package/dist/libraries/share/doc/expat/changelog +0 -1161
  166. package/dist/license/all +0 -951
  167. package/dist/license/all.tmp +0 -307
  168. package/dist/license/brotli +0 -12
  169. package/dist/license/expat +0 -71
  170. package/dist/license/fontconfig +0 -46
  171. package/dist/license/freetype +0 -92
  172. package/dist/license/fribidi +0 -15
  173. package/dist/license/harfbuzz +0 -32
  174. package/dist/license/jassub +0 -0
  175. package/dist/license/libass +0 -28
@@ -1,53 +0,0 @@
1
- /*
2
- * Copyright © 2013 Red Hat, 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
- * Red Hat 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_SHAPE_H
32
- #define HB_OT_SHAPE_H
33
-
34
- #include "hb.h"
35
-
36
- HB_BEGIN_DECLS
37
-
38
- /* TODO port to shape-plan / set. */
39
- HB_EXTERN void
40
- hb_ot_shape_glyphs_closure (hb_font_t *font,
41
- hb_buffer_t *buffer,
42
- const hb_feature_t *features,
43
- unsigned int num_features,
44
- hb_set_t *glyphs);
45
-
46
- HB_EXTERN void
47
- hb_ot_shape_plan_collect_lookups (hb_shape_plan_t *shape_plan,
48
- hb_tag_t table_tag,
49
- hb_set_t *lookup_indexes /* OUT */);
50
-
51
- HB_END_DECLS
52
-
53
- #endif /* HB_OT_SHAPE_H */
@@ -1,191 +0,0 @@
1
- /*
2
- * Copyright © 2017 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
- * Red Hat 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_VAR_H
32
- #define HB_OT_VAR_H
33
-
34
- #include "hb.h"
35
-
36
- HB_BEGIN_DECLS
37
-
38
- /**
39
- * HB_OT_TAG_VAR_AXIS_ITALIC:
40
- *
41
- * Registered tag for the roman/italic axis.
42
- */
43
- #define HB_OT_TAG_VAR_AXIS_ITALIC HB_TAG('i','t','a','l')
44
-
45
- /**
46
- * HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE:
47
- *
48
- * Registered tag for the optical-size axis.
49
- * <note>Note: The optical-size axis supersedes the OpenType `size` feature.</note>
50
- */
51
- #define HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE HB_TAG('o','p','s','z')
52
-
53
- /**
54
- * HB_OT_TAG_VAR_AXIS_SLANT:
55
- *
56
- * Registered tag for the slant axis
57
- */
58
- #define HB_OT_TAG_VAR_AXIS_SLANT HB_TAG('s','l','n','t')
59
-
60
- /**
61
- * HB_OT_TAG_VAR_AXIS_WIDTH:
62
- *
63
- * Registered tag for the width axis.
64
- */
65
- #define HB_OT_TAG_VAR_AXIS_WIDTH HB_TAG('w','d','t','h')
66
-
67
- /**
68
- * HB_OT_TAG_VAR_AXIS_WEIGHT:
69
- *
70
- * Registered tag for the weight axis.
71
- */
72
- #define HB_OT_TAG_VAR_AXIS_WEIGHT HB_TAG('w','g','h','t')
73
-
74
-
75
- /*
76
- * fvar / avar
77
- */
78
-
79
- HB_EXTERN hb_bool_t
80
- hb_ot_var_has_data (hb_face_t *face);
81
-
82
-
83
- /*
84
- * Variation axes.
85
- */
86
-
87
-
88
- HB_EXTERN unsigned int
89
- hb_ot_var_get_axis_count (hb_face_t *face);
90
-
91
- /**
92
- * hb_ot_var_axis_flags_t:
93
- * @HB_OT_VAR_AXIS_FLAG_HIDDEN: The axis should not be exposed directly in user interfaces.
94
- *
95
- * Flags for #hb_ot_var_axis_info_t.
96
- *
97
- * Since: 2.2.0
98
- */
99
- typedef enum { /*< flags >*/
100
- HB_OT_VAR_AXIS_FLAG_HIDDEN = 0x00000001u,
101
-
102
- /*< private >*/
103
- _HB_OT_VAR_AXIS_FLAG_MAX_VALUE= HB_TAG_MAX_SIGNED /*< skip >*/
104
- } hb_ot_var_axis_flags_t;
105
-
106
- /**
107
- * hb_ot_var_axis_info_t:
108
- * @axis_index: Index of the axis in the variation-axis array
109
- * @tag: The #hb_tag_t tag identifying the design variation of the axis
110
- * @name_id: The `name` table Name ID that provides display names for the axis
111
- * @flags: The #hb_ot_var_axis_flags_t flags for the axis
112
- * @min_value: The minimum value on the variation axis that the font covers
113
- * @default_value: The position on the variation axis corresponding to the font's defaults
114
- * @max_value: The maximum value on the variation axis that the font covers
115
- *
116
- * Data type for holding variation-axis values.
117
- *
118
- * The minimum, default, and maximum values are in un-normalized, user scales.
119
- *
120
- * <note>Note: at present, the only flag defined for @flags is
121
- * #HB_OT_VAR_AXIS_FLAG_HIDDEN.</note>
122
- *
123
- * Since: 2.2.0
124
- */
125
- typedef struct hb_ot_var_axis_info_t {
126
- unsigned int axis_index;
127
- hb_tag_t tag;
128
- hb_ot_name_id_t name_id;
129
- hb_ot_var_axis_flags_t flags;
130
- float min_value;
131
- float default_value;
132
- float max_value;
133
- /*< private >*/
134
- unsigned int reserved;
135
- } hb_ot_var_axis_info_t;
136
-
137
- HB_EXTERN unsigned int
138
- hb_ot_var_get_axis_infos (hb_face_t *face,
139
- unsigned int start_offset,
140
- unsigned int *axes_count /* IN/OUT */,
141
- hb_ot_var_axis_info_t *axes_array /* OUT */);
142
-
143
- HB_EXTERN hb_bool_t
144
- hb_ot_var_find_axis_info (hb_face_t *face,
145
- hb_tag_t axis_tag,
146
- hb_ot_var_axis_info_t *axis_info);
147
-
148
-
149
- /*
150
- * Named instances.
151
- */
152
-
153
- HB_EXTERN unsigned int
154
- hb_ot_var_get_named_instance_count (hb_face_t *face);
155
-
156
- HB_EXTERN hb_ot_name_id_t
157
- hb_ot_var_named_instance_get_subfamily_name_id (hb_face_t *face,
158
- unsigned int instance_index);
159
-
160
- HB_EXTERN hb_ot_name_id_t
161
- hb_ot_var_named_instance_get_postscript_name_id (hb_face_t *face,
162
- unsigned int instance_index);
163
-
164
- HB_EXTERN unsigned int
165
- hb_ot_var_named_instance_get_design_coords (hb_face_t *face,
166
- unsigned int instance_index,
167
- unsigned int *coords_length, /* IN/OUT */
168
- float *coords /* OUT */);
169
-
170
-
171
- /*
172
- * Conversions.
173
- */
174
-
175
- HB_EXTERN void
176
- hb_ot_var_normalize_variations (hb_face_t *face,
177
- const hb_variation_t *variations, /* IN */
178
- unsigned int variations_length,
179
- int *coords, /* OUT */
180
- unsigned int coords_length);
181
-
182
- HB_EXTERN void
183
- hb_ot_var_normalize_coords (hb_face_t *face,
184
- unsigned int coords_length,
185
- const float *design_coords, /* IN */
186
- int *normalized_coords /* OUT */);
187
-
188
-
189
- HB_END_DECLS
190
-
191
- #endif /* HB_OT_VAR_H */
@@ -1,49 +0,0 @@
1
- /*
2
- * Copyright © 2009 Red Hat, 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
- * Red Hat Author(s): Behdad Esfahbod
25
- */
26
-
27
- #ifndef HB_OT_H
28
- #define HB_OT_H
29
- #define HB_OT_H_IN
30
-
31
- #include "hb.h"
32
-
33
- #include "hb-ot-color.h"
34
- #include "hb-ot-deprecated.h"
35
- #include "hb-ot-font.h"
36
- #include "hb-ot-layout.h"
37
- #include "hb-ot-math.h"
38
- #include "hb-ot-meta.h"
39
- #include "hb-ot-metrics.h"
40
- #include "hb-ot-name.h"
41
- #include "hb-ot-shape.h"
42
- #include "hb-ot-var.h"
43
-
44
- HB_BEGIN_DECLS
45
-
46
- HB_END_DECLS
47
-
48
- #undef HB_OT_H_IN
49
- #endif /* HB_OT_H */
@@ -1,200 +0,0 @@
1
- /*
2
- * Copyright © 2012 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_SET_H
32
- #define HB_SET_H
33
-
34
- #include "hb-common.h"
35
-
36
- HB_BEGIN_DECLS
37
-
38
-
39
- /**
40
- * HB_SET_VALUE_INVALID:
41
- *
42
- * Unset #hb_set_t value.
43
- *
44
- * Since: 0.9.21
45
- */
46
- #define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
47
-
48
- /**
49
- * hb_set_t:
50
- *
51
- * Data type for holding a set of integers. #hb_set_t's are
52
- * used to gather and contain glyph IDs, Unicode code
53
- * points, and various other collections of discrete
54
- * values.
55
- *
56
- **/
57
- typedef struct hb_set_t hb_set_t;
58
-
59
-
60
- HB_EXTERN hb_set_t *
61
- hb_set_create (void);
62
-
63
- HB_EXTERN hb_set_t *
64
- hb_set_get_empty (void);
65
-
66
- HB_EXTERN hb_set_t *
67
- hb_set_reference (hb_set_t *set);
68
-
69
- HB_EXTERN void
70
- hb_set_destroy (hb_set_t *set);
71
-
72
- HB_EXTERN hb_bool_t
73
- hb_set_set_user_data (hb_set_t *set,
74
- hb_user_data_key_t *key,
75
- void * data,
76
- hb_destroy_func_t destroy,
77
- hb_bool_t replace);
78
-
79
- HB_EXTERN void *
80
- hb_set_get_user_data (const hb_set_t *set,
81
- hb_user_data_key_t *key);
82
-
83
-
84
- /* Returns false if allocation has failed before */
85
- HB_EXTERN hb_bool_t
86
- hb_set_allocation_successful (const hb_set_t *set);
87
-
88
- HB_EXTERN hb_set_t *
89
- hb_set_copy (const hb_set_t *set);
90
-
91
- HB_EXTERN void
92
- hb_set_clear (hb_set_t *set);
93
-
94
- HB_EXTERN hb_bool_t
95
- hb_set_is_empty (const hb_set_t *set);
96
-
97
- HB_EXTERN void
98
- hb_set_invert (hb_set_t *set);
99
-
100
- HB_EXTERN hb_bool_t
101
- hb_set_has (const hb_set_t *set,
102
- hb_codepoint_t codepoint);
103
-
104
- HB_EXTERN void
105
- hb_set_add (hb_set_t *set,
106
- hb_codepoint_t codepoint);
107
-
108
- HB_EXTERN void
109
- hb_set_add_range (hb_set_t *set,
110
- hb_codepoint_t first,
111
- hb_codepoint_t last);
112
-
113
- HB_EXTERN void
114
- hb_set_add_sorted_array (hb_set_t *set,
115
- const hb_codepoint_t *sorted_codepoints,
116
- unsigned int num_codepoints);
117
-
118
- HB_EXTERN void
119
- hb_set_del (hb_set_t *set,
120
- hb_codepoint_t codepoint);
121
-
122
- HB_EXTERN void
123
- hb_set_del_range (hb_set_t *set,
124
- hb_codepoint_t first,
125
- hb_codepoint_t last);
126
-
127
- HB_EXTERN hb_bool_t
128
- hb_set_is_equal (const hb_set_t *set,
129
- const hb_set_t *other);
130
-
131
- HB_EXTERN unsigned int
132
- hb_set_hash (const hb_set_t *set);
133
-
134
- HB_EXTERN hb_bool_t
135
- hb_set_is_subset (const hb_set_t *set,
136
- const hb_set_t *larger_set);
137
-
138
- HB_EXTERN void
139
- hb_set_set (hb_set_t *set,
140
- const hb_set_t *other);
141
-
142
- HB_EXTERN void
143
- hb_set_union (hb_set_t *set,
144
- const hb_set_t *other);
145
-
146
- HB_EXTERN void
147
- hb_set_intersect (hb_set_t *set,
148
- const hb_set_t *other);
149
-
150
- HB_EXTERN void
151
- hb_set_subtract (hb_set_t *set,
152
- const hb_set_t *other);
153
-
154
- HB_EXTERN void
155
- hb_set_symmetric_difference (hb_set_t *set,
156
- const hb_set_t *other);
157
-
158
- HB_EXTERN unsigned int
159
- hb_set_get_population (const hb_set_t *set);
160
-
161
- /* Returns HB_SET_VALUE_INVALID if set empty. */
162
- HB_EXTERN hb_codepoint_t
163
- hb_set_get_min (const hb_set_t *set);
164
-
165
- /* Returns HB_SET_VALUE_INVALID if set empty. */
166
- HB_EXTERN hb_codepoint_t
167
- hb_set_get_max (const hb_set_t *set);
168
-
169
- /* Pass HB_SET_VALUE_INVALID in to get started. */
170
- HB_EXTERN hb_bool_t
171
- hb_set_next (const hb_set_t *set,
172
- hb_codepoint_t *codepoint);
173
-
174
- /* Pass HB_SET_VALUE_INVALID in to get started. */
175
- HB_EXTERN hb_bool_t
176
- hb_set_previous (const hb_set_t *set,
177
- hb_codepoint_t *codepoint);
178
-
179
- /* Pass HB_SET_VALUE_INVALID for first and last to get started. */
180
- HB_EXTERN hb_bool_t
181
- hb_set_next_range (const hb_set_t *set,
182
- hb_codepoint_t *first,
183
- hb_codepoint_t *last);
184
-
185
- /* Pass HB_SET_VALUE_INVALID for first and last to get started. */
186
- HB_EXTERN hb_bool_t
187
- hb_set_previous_range (const hb_set_t *set,
188
- hb_codepoint_t *first,
189
- hb_codepoint_t *last);
190
-
191
- /* Pass HB_SET_VALUE_INVALID in to get started. */
192
- HB_EXTERN unsigned int
193
- hb_set_next_many (const hb_set_t *set,
194
- hb_codepoint_t codepoint,
195
- hb_codepoint_t *out,
196
- unsigned int size);
197
-
198
- HB_END_DECLS
199
-
200
- #endif /* HB_SET_H */
@@ -1,122 +0,0 @@
1
- /*
2
- * Copyright © 2012 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_SHAPE_PLAN_H
32
- #define HB_SHAPE_PLAN_H
33
-
34
- #include "hb-common.h"
35
- #include "hb-font.h"
36
-
37
- HB_BEGIN_DECLS
38
-
39
- /**
40
- * hb_shape_plan_t:
41
- *
42
- * Data type for holding a shaping plan.
43
- *
44
- * Shape plans contain information about how HarfBuzz will shape a
45
- * particular text segment, based on the segment's properties and the
46
- * capabilities in the font face in use.
47
- *
48
- * Shape plans can be queried about how shaping will perform, given a set
49
- * of specific input parameters (script, language, direction, features,
50
- * etc.).
51
- *
52
- **/
53
- typedef struct hb_shape_plan_t hb_shape_plan_t;
54
-
55
- HB_EXTERN hb_shape_plan_t *
56
- hb_shape_plan_create (hb_face_t *face,
57
- const hb_segment_properties_t *props,
58
- const hb_feature_t *user_features,
59
- unsigned int num_user_features,
60
- const char * const *shaper_list);
61
-
62
- HB_EXTERN hb_shape_plan_t *
63
- hb_shape_plan_create_cached (hb_face_t *face,
64
- const hb_segment_properties_t *props,
65
- const hb_feature_t *user_features,
66
- unsigned int num_user_features,
67
- const char * const *shaper_list);
68
-
69
- HB_EXTERN hb_shape_plan_t *
70
- hb_shape_plan_create2 (hb_face_t *face,
71
- const hb_segment_properties_t *props,
72
- const hb_feature_t *user_features,
73
- unsigned int num_user_features,
74
- const int *coords,
75
- unsigned int num_coords,
76
- const char * const *shaper_list);
77
-
78
- HB_EXTERN hb_shape_plan_t *
79
- hb_shape_plan_create_cached2 (hb_face_t *face,
80
- const hb_segment_properties_t *props,
81
- const hb_feature_t *user_features,
82
- unsigned int num_user_features,
83
- const int *coords,
84
- unsigned int num_coords,
85
- const char * const *shaper_list);
86
-
87
-
88
- HB_EXTERN hb_shape_plan_t *
89
- hb_shape_plan_get_empty (void);
90
-
91
- HB_EXTERN hb_shape_plan_t *
92
- hb_shape_plan_reference (hb_shape_plan_t *shape_plan);
93
-
94
- HB_EXTERN void
95
- hb_shape_plan_destroy (hb_shape_plan_t *shape_plan);
96
-
97
- HB_EXTERN hb_bool_t
98
- hb_shape_plan_set_user_data (hb_shape_plan_t *shape_plan,
99
- hb_user_data_key_t *key,
100
- void * data,
101
- hb_destroy_func_t destroy,
102
- hb_bool_t replace);
103
-
104
- HB_EXTERN void *
105
- hb_shape_plan_get_user_data (const hb_shape_plan_t *shape_plan,
106
- hb_user_data_key_t *key);
107
-
108
-
109
- HB_EXTERN hb_bool_t
110
- hb_shape_plan_execute (hb_shape_plan_t *shape_plan,
111
- hb_font_t *font,
112
- hb_buffer_t *buffer,
113
- const hb_feature_t *features,
114
- unsigned int num_features);
115
-
116
- HB_EXTERN const char *
117
- hb_shape_plan_get_shaper (hb_shape_plan_t *shape_plan);
118
-
119
-
120
- HB_END_DECLS
121
-
122
- #endif /* HB_SHAPE_PLAN_H */
@@ -1,62 +0,0 @@
1
- /*
2
- * Copyright © 2009 Red Hat, Inc.
3
- * Copyright © 2012 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
- #if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
30
- #error "Include <hb.h> instead."
31
- #endif
32
-
33
- #ifndef HB_SHAPE_H
34
- #define HB_SHAPE_H
35
-
36
- #include "hb-common.h"
37
- #include "hb-buffer.h"
38
- #include "hb-font.h"
39
-
40
- HB_BEGIN_DECLS
41
-
42
-
43
- HB_EXTERN void
44
- hb_shape (hb_font_t *font,
45
- hb_buffer_t *buffer,
46
- const hb_feature_t *features,
47
- unsigned int num_features);
48
-
49
- HB_EXTERN hb_bool_t
50
- hb_shape_full (hb_font_t *font,
51
- hb_buffer_t *buffer,
52
- const hb_feature_t *features,
53
- unsigned int num_features,
54
- const char * const *shaper_list);
55
-
56
- HB_EXTERN const char **
57
- hb_shape_list_shapers (void);
58
-
59
-
60
- HB_END_DECLS
61
-
62
- #endif /* HB_SHAPE_H */