jassub 1.7.13 → 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 (171) hide show
  1. package/package.json +4 -2
  2. package/dist/js/jassub-worker-modern.js +0 -128
  3. package/dist/js/jassub-worker-modern.wasm +0 -0
  4. package/dist/js/jassub-worker.js +0 -128
  5. package/dist/js/jassub-worker.wasm +0 -0
  6. package/dist/js/jassub-worker.wasm.js +0 -84
  7. package/dist/js/jassub.js +0 -832
  8. package/dist/libraries/bin/brotli.js +0 -1
  9. package/dist/libraries/include/ass/ass.h +0 -812
  10. package/dist/libraries/include/ass/ass_types.h +0 -292
  11. package/dist/libraries/include/brotli/decode.h +0 -344
  12. package/dist/libraries/include/brotli/encode.h +0 -448
  13. package/dist/libraries/include/brotli/port.h +0 -288
  14. package/dist/libraries/include/brotli/types.h +0 -83
  15. package/dist/libraries/include/expat.h +0 -1064
  16. package/dist/libraries/include/expat_config.h +0 -115
  17. package/dist/libraries/include/expat_external.h +0 -165
  18. package/dist/libraries/include/fontconfig/fcfreetype.h +0 -59
  19. package/dist/libraries/include/fontconfig/fcprivate.h +0 -134
  20. package/dist/libraries/include/fontconfig/fontconfig.h +0 -1154
  21. package/dist/libraries/include/freetype2/freetype/config/ftconfig.h +0 -63
  22. package/dist/libraries/include/freetype2/freetype/config/ftheader.h +0 -824
  23. package/dist/libraries/include/freetype2/freetype/config/ftmodule.h +0 -20
  24. package/dist/libraries/include/freetype2/freetype/config/ftoption.h +0 -1011
  25. package/dist/libraries/include/freetype2/freetype/config/ftstdlib.h +0 -175
  26. package/dist/libraries/include/freetype2/freetype/config/integer-types.h +0 -245
  27. package/dist/libraries/include/freetype2/freetype/config/mac-support.h +0 -49
  28. package/dist/libraries/include/freetype2/freetype/config/public-macros.h +0 -120
  29. package/dist/libraries/include/freetype2/freetype/freetype.h +0 -4833
  30. package/dist/libraries/include/freetype2/freetype/ftadvanc.h +0 -188
  31. package/dist/libraries/include/freetype2/freetype/ftbbox.h +0 -101
  32. package/dist/libraries/include/freetype2/freetype/ftbdf.h +0 -212
  33. package/dist/libraries/include/freetype2/freetype/ftbitmap.h +0 -329
  34. package/dist/libraries/include/freetype2/freetype/ftbzip2.h +0 -102
  35. package/dist/libraries/include/freetype2/freetype/ftcache.h +0 -1087
  36. package/dist/libraries/include/freetype2/freetype/ftchapters.h +0 -147
  37. package/dist/libraries/include/freetype2/freetype/ftcid.h +0 -167
  38. package/dist/libraries/include/freetype2/freetype/ftcolor.h +0 -1609
  39. package/dist/libraries/include/freetype2/freetype/ftdriver.h +0 -1193
  40. package/dist/libraries/include/freetype2/freetype/fterrdef.h +0 -279
  41. package/dist/libraries/include/freetype2/freetype/fterrors.h +0 -296
  42. package/dist/libraries/include/freetype2/freetype/ftfntfmt.h +0 -93
  43. package/dist/libraries/include/freetype2/freetype/ftgasp.h +0 -143
  44. package/dist/libraries/include/freetype2/freetype/ftglyph.h +0 -664
  45. package/dist/libraries/include/freetype2/freetype/ftgxval.h +0 -354
  46. package/dist/libraries/include/freetype2/freetype/ftgzip.h +0 -151
  47. package/dist/libraries/include/freetype2/freetype/ftimage.h +0 -1276
  48. package/dist/libraries/include/freetype2/freetype/ftincrem.h +0 -348
  49. package/dist/libraries/include/freetype2/freetype/ftlcdfil.h +0 -323
  50. package/dist/libraries/include/freetype2/freetype/ftlist.h +0 -296
  51. package/dist/libraries/include/freetype2/freetype/ftlogging.h +0 -184
  52. package/dist/libraries/include/freetype2/freetype/ftlzw.h +0 -100
  53. package/dist/libraries/include/freetype2/freetype/ftmac.h +0 -289
  54. package/dist/libraries/include/freetype2/freetype/ftmm.h +0 -752
  55. package/dist/libraries/include/freetype2/freetype/ftmodapi.h +0 -806
  56. package/dist/libraries/include/freetype2/freetype/ftmoderr.h +0 -204
  57. package/dist/libraries/include/freetype2/freetype/ftotval.h +0 -206
  58. package/dist/libraries/include/freetype2/freetype/ftoutln.h +0 -586
  59. package/dist/libraries/include/freetype2/freetype/ftparams.h +0 -203
  60. package/dist/libraries/include/freetype2/freetype/ftpfr.h +0 -179
  61. package/dist/libraries/include/freetype2/freetype/ftrender.h +0 -244
  62. package/dist/libraries/include/freetype2/freetype/ftsizes.h +0 -159
  63. package/dist/libraries/include/freetype2/freetype/ftsnames.h +0 -272
  64. package/dist/libraries/include/freetype2/freetype/ftstroke.h +0 -773
  65. package/dist/libraries/include/freetype2/freetype/ftsynth.h +0 -83
  66. package/dist/libraries/include/freetype2/freetype/ftsystem.h +0 -352
  67. package/dist/libraries/include/freetype2/freetype/fttrigon.h +0 -350
  68. package/dist/libraries/include/freetype2/freetype/fttypes.h +0 -615
  69. package/dist/libraries/include/freetype2/freetype/ftwinfnt.h +0 -276
  70. package/dist/libraries/include/freetype2/freetype/t1tables.h +0 -773
  71. package/dist/libraries/include/freetype2/freetype/ttnameid.h +0 -1235
  72. package/dist/libraries/include/freetype2/freetype/tttables.h +0 -855
  73. package/dist/libraries/include/freetype2/freetype/tttags.h +0 -123
  74. package/dist/libraries/include/freetype2/ft2build.h +0 -42
  75. package/dist/libraries/include/fribidi/fribidi-arabic.h +0 -81
  76. package/dist/libraries/include/fribidi/fribidi-begindecls.h +0 -3
  77. package/dist/libraries/include/fribidi/fribidi-bidi-types-list.h +0 -96
  78. package/dist/libraries/include/fribidi/fribidi-bidi-types.h +0 -405
  79. package/dist/libraries/include/fribidi/fribidi-bidi.h +0 -142
  80. package/dist/libraries/include/fribidi/fribidi-brackets.h +0 -89
  81. package/dist/libraries/include/fribidi/fribidi-char-sets-list.h +0 -54
  82. package/dist/libraries/include/fribidi/fribidi-char-sets.h +0 -106
  83. package/dist/libraries/include/fribidi/fribidi-common.h +0 -158
  84. package/dist/libraries/include/fribidi/fribidi-config.h +0 -23
  85. package/dist/libraries/include/fribidi/fribidi-deprecated.h +0 -175
  86. package/dist/libraries/include/fribidi/fribidi-enddecls.h +0 -3
  87. package/dist/libraries/include/fribidi/fribidi-flags.h +0 -72
  88. package/dist/libraries/include/fribidi/fribidi-joining-types-list.h +0 -44
  89. package/dist/libraries/include/fribidi/fribidi-joining-types.h +0 -249
  90. package/dist/libraries/include/fribidi/fribidi-joining.h +0 -74
  91. package/dist/libraries/include/fribidi/fribidi-mirroring.h +0 -86
  92. package/dist/libraries/include/fribidi/fribidi-shape.h +0 -71
  93. package/dist/libraries/include/fribidi/fribidi-types.h +0 -79
  94. package/dist/libraries/include/fribidi/fribidi-unicode-version.h +0 -10
  95. package/dist/libraries/include/fribidi/fribidi-unicode.h +0 -105
  96. package/dist/libraries/include/fribidi/fribidi.h +0 -129
  97. package/dist/libraries/include/harfbuzz/hb-aat-layout.h +0 -795
  98. package/dist/libraries/include/harfbuzz/hb-aat.h +0 -38
  99. package/dist/libraries/include/harfbuzz/hb-blob.h +0 -160
  100. package/dist/libraries/include/harfbuzz/hb-buffer.h +0 -799
  101. package/dist/libraries/include/harfbuzz/hb-common.h +0 -902
  102. package/dist/libraries/include/harfbuzz/hb-cplusplus.hh +0 -221
  103. package/dist/libraries/include/harfbuzz/hb-deprecated.h +0 -251
  104. package/dist/libraries/include/harfbuzz/hb-draw.h +0 -325
  105. package/dist/libraries/include/harfbuzz/hb-face.h +0 -181
  106. package/dist/libraries/include/harfbuzz/hb-font.h +0 -1108
  107. package/dist/libraries/include/harfbuzz/hb-ft.h +0 -145
  108. package/dist/libraries/include/harfbuzz/hb-map.h +0 -124
  109. package/dist/libraries/include/harfbuzz/hb-ot-color.h +0 -146
  110. package/dist/libraries/include/harfbuzz/hb-ot-deprecated.h +0 -141
  111. package/dist/libraries/include/harfbuzz/hb-ot-font.h +0 -45
  112. package/dist/libraries/include/harfbuzz/hb-ot-layout.h +0 -503
  113. package/dist/libraries/include/harfbuzz/hb-ot-math.h +0 -333
  114. package/dist/libraries/include/harfbuzz/hb-ot-meta.h +0 -72
  115. package/dist/libraries/include/harfbuzz/hb-ot-metrics.h +0 -129
  116. package/dist/libraries/include/harfbuzz/hb-ot-name.h +0 -158
  117. package/dist/libraries/include/harfbuzz/hb-ot-shape.h +0 -53
  118. package/dist/libraries/include/harfbuzz/hb-ot-var.h +0 -191
  119. package/dist/libraries/include/harfbuzz/hb-ot.h +0 -49
  120. package/dist/libraries/include/harfbuzz/hb-set.h +0 -200
  121. package/dist/libraries/include/harfbuzz/hb-shape-plan.h +0 -122
  122. package/dist/libraries/include/harfbuzz/hb-shape.h +0 -62
  123. package/dist/libraries/include/harfbuzz/hb-style.h +0 -81
  124. package/dist/libraries/include/harfbuzz/hb-subset-repacker.h +0 -81
  125. package/dist/libraries/include/harfbuzz/hb-subset.h +0 -234
  126. package/dist/libraries/include/harfbuzz/hb-unicode.h +0 -643
  127. package/dist/libraries/include/harfbuzz/hb-version.h +0 -95
  128. package/dist/libraries/include/harfbuzz/hb.h +0 -50
  129. package/dist/libraries/lib/cmake/expat-2.4.7/expat-config-version.cmake +0 -70
  130. package/dist/libraries/lib/cmake/expat-2.4.7/expat-config.cmake +0 -99
  131. package/dist/libraries/lib/cmake/expat-2.4.7/expat-noconfig.cmake +0 -19
  132. package/dist/libraries/lib/cmake/expat-2.4.7/expat.cmake +0 -99
  133. package/dist/libraries/lib/libass.a +0 -0
  134. package/dist/libraries/lib/libass.la +0 -41
  135. package/dist/libraries/lib/libbrotlicommon.a +0 -0
  136. package/dist/libraries/lib/libbrotlidec.a +0 -0
  137. package/dist/libraries/lib/libbrotlienc.a +0 -0
  138. package/dist/libraries/lib/libexpat.a +0 -0
  139. package/dist/libraries/lib/libfontconfig.a +0 -0
  140. package/dist/libraries/lib/libfontconfig.la +0 -41
  141. package/dist/libraries/lib/libfreetype.a +0 -0
  142. package/dist/libraries/lib/libfreetype.la +0 -41
  143. package/dist/libraries/lib/libfribidi.a +0 -0
  144. package/dist/libraries/lib/libfribidi.la +0 -41
  145. package/dist/libraries/lib/libharfbuzz-subset.a +0 -0
  146. package/dist/libraries/lib/libharfbuzz-subset.la +0 -41
  147. package/dist/libraries/lib/libharfbuzz.a +0 -0
  148. package/dist/libraries/lib/libharfbuzz.la +0 -41
  149. package/dist/libraries/lib/pkgconfig/expat.pc +0 -11
  150. package/dist/libraries/lib/pkgconfig/fontconfig.pc +0 -18
  151. package/dist/libraries/lib/pkgconfig/freetype2.pc +0 -14
  152. package/dist/libraries/lib/pkgconfig/fribidi.pc +0 -13
  153. package/dist/libraries/lib/pkgconfig/harfbuzz-subset.pc +0 -12
  154. package/dist/libraries/lib/pkgconfig/harfbuzz.pc +0 -13
  155. package/dist/libraries/lib/pkgconfig/libass.pc +0 -13
  156. package/dist/libraries/lib/pkgconfig/libbrotlicommon.pc +0 -11
  157. package/dist/libraries/lib/pkgconfig/libbrotlidec.pc +0 -12
  158. package/dist/libraries/lib/pkgconfig/libbrotlienc.pc +0 -12
  159. package/dist/libraries/share/aclocal/freetype2.m4 +0 -194
  160. package/dist/libraries/share/doc/expat/AUTHORS +0 -10
  161. package/dist/libraries/share/doc/expat/changelog +0 -1161
  162. package/dist/license/all +0 -951
  163. package/dist/license/all.tmp +0 -307
  164. package/dist/license/brotli +0 -12
  165. package/dist/license/expat +0 -71
  166. package/dist/license/fontconfig +0 -46
  167. package/dist/license/freetype +0 -92
  168. package/dist/license/fribidi +0 -15
  169. package/dist/license/harfbuzz +0 -32
  170. package/dist/license/jassub +0 -0
  171. package/dist/license/libass +0 -28
@@ -1,106 +0,0 @@
1
- /* FriBidi
2
- * fribidi-char-sets.h - character set conversion routines
3
- *
4
- * Authors:
5
- * Behdad Esfahbod, 2001, 2002, 2004
6
- * Dov Grobgeld, 1999, 2000
7
- *
8
- * Copyright (C) 2004 Sharif FarsiWeb, Inc
9
- * Copyright (C) 2001,2002 Behdad Esfahbod
10
- * Copyright (C) 1999,2000 Dov Grobgeld
11
- *
12
- * This library is free software; you can redistribute it and/or
13
- * modify it under the terms of the GNU Lesser General Public
14
- * License as published by the Free Software Foundation; either
15
- * version 2.1 of the License, or (at your option) any later version.
16
- *
17
- * This library is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
- * Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with this library, in a file named COPYING; if not, write to the
24
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25
- * Boston, MA 02110-1301, USA
26
- *
27
- * For licensing issues, contact <fribidi.license@gmail.com>.
28
- */
29
- #ifndef _FRIBIDI_CHAR_SETS_H
30
- #define _FRIBIDI_CHAR_SETS_H
31
-
32
- #include "fribidi-common.h"
33
-
34
- #include "fribidi-types.h"
35
-
36
- #include "fribidi-begindecls.h"
37
-
38
- typedef enum
39
- {
40
- _FRIBIDI_CHAR_SET_NOT_FOUND,
41
- # define _FRIBIDI_ADD_CHAR_SET(CHAR_SET, char_set) FRIBIDI_CHAR_SET_##CHAR_SET,
42
- # include "fribidi-char-sets-list.h"
43
- # undef _FRIBIDI_ADD_CHAR_SET
44
- _FRIBIDI_CHAR_SETS_NUM_PLUS_ONE
45
- }
46
- FriBidiCharSet;
47
-
48
- #define FRIBIDI_CHAR_SET_NOT_FOUND _FRIBIDI_CHAR_SET_NOT_FOUND
49
- #define FRIBIDI_CHAR_SETS_NUM (_FRIBIDI_CHAR_SETS_NUM_PLUS_ONE - 1)
50
-
51
-
52
- /* fribidi_charset_to_unicode - convert string to Unicode
53
- *
54
- * This function converts an string from a character set, to a Unicode string.
55
- *
56
- * Returns: The length of the new string.
57
- */
58
- FRIBIDI_ENTRY FriBidiStrIndex fribidi_charset_to_unicode (
59
- FriBidiCharSet char_set, /* character set to convert from */
60
- const char *s, /* input string encoded in char_set */
61
- FriBidiStrIndex len, /* input string length */
62
- FriBidiChar *us /* output Unicode string */
63
- );
64
-
65
- /* fribidi_unicode_to_charset - convert string from Unicode
66
- *
67
- * This function converts a Unicode string to an string in another character
68
- * set. It also null-terminates the output string.
69
- *
70
- * Returns: The length of the new string.
71
- */
72
- FRIBIDI_ENTRY FriBidiStrIndex fribidi_unicode_to_charset (
73
- FriBidiCharSet char_set, /* character set to convert to */
74
- const FriBidiChar *us, /* input Unicode string */
75
- FriBidiStrIndex len, /* input string length */
76
- char *s /* output string encoded in char_set */
77
- );
78
-
79
- /* fribidi_parse_charset - parse character set name
80
- *
81
- * Returns: The character set named s, or FRIBIDI_CHAR_SET_NOT_FOUND if the
82
- * character set is not available.
83
- */
84
- FRIBIDI_ENTRY FriBidiCharSet fribidi_parse_charset (
85
- const char *s /* input name of the character set */
86
- );
87
-
88
-
89
- FRIBIDI_ENTRY const char *fribidi_char_set_name (
90
- FriBidiCharSet char_set
91
- );
92
-
93
- FRIBIDI_ENTRY const char *fribidi_char_set_title (
94
- FriBidiCharSet char_set
95
- );
96
-
97
- FRIBIDI_ENTRY const char *fribidi_char_set_desc (
98
- FriBidiCharSet char_set
99
- );
100
-
101
- #include "fribidi-enddecls.h"
102
-
103
- #endif /* !_FRIBIDI_CHAR_SETS_H */
104
- /* Editor directions:
105
- * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
106
- */
@@ -1,158 +0,0 @@
1
- /* FriBidi
2
- * fribidi-common.h - common include for library headers
3
- *
4
- * Author:
5
- * Behdad Esfahbod, 2004
6
- *
7
- * Copyright (C) 2004 Sharif FarsiWeb, Inc.
8
- *
9
- * This library is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU Lesser General Public
11
- * License as published by the Free Software Foundation; either
12
- * version 2.1 of the License, or (at your option) any later version.
13
- *
14
- * This library is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
- * Lesser General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU Lesser General Public License
20
- * along with this library, in a file named COPYING; if not, write to the
21
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22
- * Boston, MA 02110-1301, USA
23
- *
24
- * For licensing issues, contact <fribidi.license@gmail.com>.
25
- */
26
- #ifndef _FRIBIDI_COMMON_H
27
- #define _FRIBIDI_COMMON_H
28
-
29
- #ifdef DONT_HAVE_FRIBIDI_CONFIG_H
30
- # define FRIBIDI "fribidi"
31
- # define FRIBIDI_NAME "fribidi"
32
- # define FRIBIDI_VERSION "unknown"
33
- # define FRIBIDI_BUGREPORT "unknown"
34
- # define FRIBIDI_INTERFACE_VERSION_STRING "unknown"
35
- #else /* !DONT_HAVE_FRIBIDI_CONFIG_H */
36
- # include "fribidi-config.h"
37
- #endif /* !DONT_HAVE_FRIBIDI_CONFIG_H */
38
-
39
- #ifdef HAVE_FRIBIDI_CUSTOM_H
40
- # include <fribidi-custom.h>
41
- #endif /* HAVE_FRIBIDI_CUSTOM_H */
42
-
43
-
44
- /* FRIBIDI_ENTRY is a macro used to declare library entry points. */
45
- #ifndef FRIBIDI_LIB_STATIC
46
- # ifndef FRIBIDI_ENTRY
47
- # ifdef _WIN32
48
- # ifdef FRIBIDI_BUILD
49
- # define FRIBIDI_ENTRY __declspec(dllexport)
50
- # else
51
- # define FRIBIDI_ENTRY __declspec(dllimport)
52
- # endif
53
- # elif (defined(__SUNPRO_C) || defined(__SUNPRO_CC))
54
- # define FRIBIDI_ENTRY __global
55
- # else
56
- # if (defined(__GNUC__) && __GNUC__ >= 4) || defined(__ICC)
57
- # define FRIBIDI_ENTRY __attribute__ ((visibility("default")))
58
- # else
59
- # define FRIBIDI_ENTRY
60
- # endif
61
- # endif
62
- # endif
63
- #else
64
- # ifndef FRIBIDI_ENTRY
65
- # define FRIBIDI_ENTRY
66
- # endif
67
- #endif
68
-
69
- #define FRIBIDI_EXTERN extern
70
-
71
- #ifdef __ICC
72
- #define FRIBIDI_BEGIN_IGNORE_DEPRECATIONS \
73
- _Pragma ("warning (push)") \
74
- _Pragma ("warning (disable:1478)")
75
- #define FRIBIDI_END_IGNORE_DEPRECATIONS \
76
- _Pragma ("warning (pop)")
77
- #elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
78
- #define FRIBIDI_BEGIN_IGNORE_DEPRECATIONS \
79
- _Pragma ("GCC diagnostic push") \
80
- _Pragma ("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
81
- #define FRIBIDI_END_IGNORE_DEPRECATIONS \
82
- _Pragma ("GCC diagnostic pop")
83
- #elif defined (_MSC_VER) && (_MSC_VER >= 1500)
84
- #define FRIBIDI_BEGIN_IGNORE_DEPRECATIONS \
85
- __pragma (warning (push)) \
86
- __pragma (warning (disable : 4996))
87
- #define FRIBIDI_END_IGNORE_DEPRECATIONS \
88
- __pragma (warning (pop))
89
- #elif defined (__clang__)
90
- #define FRIBIDI_BEGIN_IGNORE_DEPRECATIONS \
91
- _Pragma("clang diagnostic push") \
92
- _Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"")
93
- #define FRIBIDI_END_IGNORE_DEPRECATIONS \
94
- _Pragma("clang diagnostic pop")
95
- #else
96
- #define FRIBIDI_BEGIN_IGNORE_DEPRECATIONS
97
- #define FRIBIDI_END_IGNORE_DEPRECATIONS
98
- #endif
99
-
100
- #if (defined(__GNUC__) && (__GNUC__ > 2)) && ! defined(_WIN32)
101
- # define FRIBIDI_GNUC_WARN_UNUSED __attribute__((__warn_unused_result__))
102
- # define FRIBIDI_GNUC_MALLOC __attribute__((__malloc__))
103
- # define FRIBIDI_GNUC_HIDDEN __attribute__((__visibility__ ("hidden")))
104
- # define FRIBIDI_GNUC_CONST __attribute__((__const__))
105
- # define FRIBIDI_GNUC_DEPRECATED __attribute__((__unused__))
106
- #else /* __GNUC__ */
107
- # define FRIBIDI_GNUC_WARN_UNUSED
108
- # define FRIBIDI_GNUC_MALLOC
109
- # define FRIBIDI_GNUC_HIDDEN
110
- # define FRIBIDI_GNUC_CONST
111
- # define FRIBIDI_GNUC_DEPRECATED
112
- #endif /* __GNUC__ */
113
-
114
- /* FRIBIDI_BEGIN_DECLS should be used at the beginning of your declarations,
115
- * so that C++ compilers don't mangle their names. Use FRIBIDI_END_DECLS at
116
- * the end of C declarations. */
117
- #ifndef FRIBIDI_BEGIN_DECLS
118
- # ifdef __cplusplus
119
- # define FRIBIDI_BEGIN_DECLS extern "C" {
120
- # define FRIBIDI_END_DECLS }
121
- # else /* !__cplusplus */
122
- # define FRIBIDI_BEGIN_DECLS /* empty */
123
- # define FRIBIDI_END_DECLS /* empty */
124
- # endif /* !__cplusplus */
125
- #endif /* !FRIBIDI_BEGIN_DECLS */
126
-
127
-
128
-
129
-
130
- /* fribidi_debug_status - get current debug state
131
- *
132
- */
133
- FRIBIDI_ENTRY int fribidi_debug_status (
134
- void
135
- );
136
-
137
- /* fribidi_set_debug - set debug state
138
- *
139
- */
140
- FRIBIDI_ENTRY int
141
- fribidi_set_debug (
142
- int state /* new state to set */
143
- );
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
- #endif /* !_FRIBIDI_COMMON_H */
156
- /* Editor directions:
157
- * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
158
- */
@@ -1,23 +0,0 @@
1
- /* lib/fribidi-config.h. Generated from fribidi-config.h.in by configure. */
2
- /* Not copyrighted, in public domain. */
3
- #ifndef FRIBIDI_CONFIG_H
4
- #define FRIBIDI_CONFIG_H
5
-
6
- #define FRIBIDI "fribidi"
7
- #define FRIBIDI_NAME "GNU FriBidi"
8
- #define FRIBIDI_BUGREPORT "https://github.com/fribidi/fribidi/issues/new"
9
-
10
- #define FRIBIDI_VERSION "1.0.11"
11
- #define FRIBIDI_MAJOR_VERSION 1
12
- #define FRIBIDI_MINOR_VERSION 0
13
- #define FRIBIDI_MICRO_VERSION 11
14
- #define FRIBIDI_INTERFACE_VERSION 4
15
- #define FRIBIDI_INTERFACE_VERSION_STRING "4"
16
-
17
- /* The size of a `int', as computed by sizeof. */
18
- #define FRIBIDI_SIZEOF_INT 4
19
-
20
- /* Define if fribidi was built with MSVC */
21
- #undef FRIBIDI_BUILT_WITH_MSVC
22
-
23
- #endif /* FRIBIDI_CONFIG_H */
@@ -1,175 +0,0 @@
1
- /* FriBidi
2
- * fribidi-deprecated.h - Deprecated interfaces
3
- *
4
- * Author:
5
- * Behdad Esfahbod, 2004, 2005
6
- *
7
- * Copyright (C) 2004 Sharif FarsiWeb, Inc
8
- * Copyright (C) 2004, 2005 Behdad Esfahbod
9
- *
10
- * This library is free software; you can redistribute it and/or
11
- * modify it under the terms of the GNU Lesser General Public
12
- * License as published by the Free Software Foundation; either
13
- * version 2.1 of the License, or (at your option) any later version.
14
- *
15
- * This library is distributed in the hope that it will be useful,
16
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
- * Lesser General Public License for more details.
19
- *
20
- * You should have received a copy of the GNU Lesser General Public License
21
- * along with this library, in a file named COPYING; if not, write to the
22
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23
- * Boston, MA 02110-1301, USA
24
- *
25
- * For licensing issues, contact <fribidi.license@gmail.com>.
26
- */
27
- #ifndef _FRIBIDI_DEPRECATED_H
28
- #define _FRIBIDI_DEPRECATED_H
29
-
30
- #include "fribidi-common.h"
31
-
32
- #include "fribidi-types.h"
33
-
34
- #include "fribidi-bidi-types.h"
35
-
36
- #include "fribidi-begindecls.h"
37
-
38
-
39
-
40
- /* fribidi_mirroring_status - get current mirroring status
41
- *
42
- * This function is deprecated and only used with other deprecated functions.
43
- */
44
- FRIBIDI_ENTRY fribidi_boolean fribidi_mirroring_status (
45
- void
46
- ) FRIBIDI_GNUC_DEPRECATED;
47
-
48
- /* fribidi_set_mirroring - set mirroring on or off
49
- *
50
- * This function is used to turn character mirroring on or off.
51
- * Character mirroring is the act of replacing a mirrorable glyph
52
- * (character), eg. left parenthesis, with the matching glyph,
53
- * eg. right parenthesis, in a right-to-left resolved context.
54
- * If your rendering engine does mirroring itself, you may want to
55
- * turn it off here.
56
- *
57
- * This flag is on by default.
58
- * This function is deprecated and only used with other deprecated functions.
59
- *
60
- * Returns: the new mirroring status.
61
- */
62
- FRIBIDI_ENTRY fribidi_boolean fribidi_set_mirroring (
63
- fribidi_boolean state /* new state to set */
64
- ) FRIBIDI_GNUC_DEPRECATED;
65
-
66
-
67
- /* fribidi_reorder_nsm_status - get current marks reordering status
68
- *
69
- * This function is deprecated and only used with other deprecated functions.
70
- */
71
- FRIBIDI_ENTRY fribidi_boolean fribidi_reorder_nsm_status (
72
- void
73
- ) FRIBIDI_GNUC_DEPRECATED;
74
-
75
- /* fribidi_set_reorder_nsm - set marks reordering on or off
76
- *
77
- * This function is used to turn non-spacing marks reordering on or
78
- * off. Reordering non-spacing marks is the act of placing non-spacing
79
- * marks (bidi class NSM) after their base character in a right-to-left
80
- * resolved context. If your rendering engine expects non-spacing marks
81
- * always after the base character in the memory representation of the
82
- * visual string, you need this option on. An example of where people
83
- * may need it off is when rendering in the console when non-spacing
84
- * marks cannot be applied on top of the base character.
85
- *
86
- * This flag is on by default.
87
- * This function is deprecated and only used with other deprecated functions.
88
- *
89
- * Returns: the new marks reordering status.
90
- */
91
- FRIBIDI_ENTRY fribidi_boolean fribidi_set_reorder_nsm (
92
- fribidi_boolean state /* new state to set */
93
- ) FRIBIDI_GNUC_DEPRECATED;
94
-
95
-
96
-
97
-
98
- /* fribidi_log2vis_get_embedding_levels - get embedding levels
99
- *
100
- * Deprecated. Replaced by fribidi_get_par_embedding_levels_ex.
101
- */
102
- FRIBIDI_ENTRY FriBidiLevel
103
- fribidi_log2vis_get_embedding_levels (
104
- const FriBidiCharType *bidi_types, /* input list of bidi types as returned by
105
- fribidi_get_bidi_types() */
106
- const FriBidiStrIndex len, /* input string length of the paragraph */
107
- FriBidiParType *pbase_dir, /* requested and resolved paragraph
108
- * base direction */
109
- FriBidiLevel *embedding_levels /* output list of embedding levels */
110
- ) FRIBIDI_GNUC_DEPRECATED;
111
-
112
- /* fribidi_get_type - get character bidi type
113
- *
114
- * Deprecated. Replaced by fribidi_get_bidi_type.
115
- */
116
- FRIBIDI_ENTRY FriBidiCharType
117
- fribidi_get_type (
118
- FriBidiChar ch /* input character */
119
- ) FRIBIDI_GNUC_DEPRECATED;
120
-
121
- /* fribidi_get_type_internal - get character bidi type
122
- *
123
- * Deprecated. Replaced by fribidi_get_bidi_type.
124
- */
125
- FRIBIDI_ENTRY FriBidiCharType
126
- fribidi_get_type_internal (
127
- FriBidiChar ch /* input character */
128
- ) FRIBIDI_GNUC_DEPRECATED;
129
-
130
- /* fribidi_get_par_embedding_levels - get bidi embedding levels of a paragraph
131
- *
132
- * Deprecated interface to fribidi_get_par_embedding_levels_ex(). Refer to
133
- * it for documentation.
134
- */
135
- FRIBIDI_ENTRY FriBidiLevel
136
- fribidi_get_par_embedding_levels (
137
- const FriBidiCharType *bidi_types, /* input list of bidi types as returned by
138
- fribidi_get_bidi_types() */
139
- const FriBidiStrIndex len, /* input string length of the paragraph */
140
- FriBidiParType *pbase_dir, /* requested and resolved paragraph
141
- * base direction */
142
- FriBidiLevel *embedding_levels /* output list of embedding levels */
143
- )
144
- FRIBIDI_GNUC_WARN_UNUSED FRIBIDI_GNUC_DEPRECATED;
145
-
146
- #define UNI_MAX_BIDI_LEVEL FRIBIDI_BIDI_MAX_EXPLICIT_LEVEL
147
- #define UNI_LRM FRIBIDI_CHAR_LRM
148
- #define UNI_RLM FRIBIDI_CHAR_RLM
149
- #define UNI_LRE FRIBIDI_CHAR_LRE
150
- #define UNI_RLE FRIBIDI_CHAR_RLE
151
- #define UNI_LRO FRIBIDI_CHAR_LRO
152
- #define UNI_RLO FRIBIDI_CHAR_RLO
153
- #define UNI_LS FRIBIDI_CHAR_LS
154
- #define UNI_PS FRIBIDI_CHAR_PS
155
- #define UNI_ZWNJ FRIBIDI_CHAR_ZWNJ
156
- #define UNI_ZWJ FRIBIDI_CHAR_ZWJ
157
- #define UNI_HEBREW_ALEF FRIBIDI_CHAR_HEBREW_ALEF
158
- #define UNI_ARABIC_ALEF FRIBIDI_CHAR_ARABIC_ALEF
159
- #define UNI_ARABIC_ZERO FRIBIDI_CHAR_ARABIC_ZERO
160
- #define UNI_FARSI_ZERO FRIBIDI_CHAR_PERSIAN_ZERO
161
-
162
- #define FRIBIDI_TYPE_WL FRIBIDI_PAR_WLTR
163
- #define FRIBIDI_TYPE_WR FRIBIDI_PAR_WRTL
164
- #define FRIBIDI_TYPE_L FRIBIDI_PAR_LTR
165
- #define FRIBIDI_TYPE_R FRIBIDI_PAR_RTL
166
- #define FRIBIDI_TYPE_N FRIBIDI_PAR_ON
167
- #define FRIBIDI_TYPE_B FRIBIDI_TYPE_BS
168
- #define FRIBIDI_TYPE_S FRIBIDI_TYPE_SS
169
-
170
- #include "fribidi-enddecls.h"
171
-
172
- #endif /* !_FRIBIDI_DEPRECATED_H */
173
- /* Editor directions:
174
- * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
175
- */
@@ -1,3 +0,0 @@
1
- #ifdef FRIBIDI_END_DECLS
2
- FRIBIDI_END_DECLS
3
- #endif /* FRIBIDI_END_DECLS */
@@ -1,72 +0,0 @@
1
- /* FriBidi
2
- * fribidi-flags.h - option flags
3
- *
4
- * Author:
5
- * Behdad Esfahbod, 2005
6
- *
7
- * Copyright (C) 2005 Behdad Esfahbod
8
- *
9
- * This library is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU Lesser General Public
11
- * License as published by the Free Software Foundation; either
12
- * version 2.1 of the License, or (at your option) any later version.
13
- *
14
- * This library is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
- * Lesser General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU Lesser General Public License
20
- * along with this library, in a file named COPYING; if not, write to the
21
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22
- * Boston, MA 02110-1301, USA
23
- *
24
- * For licensing issues, contact <fribidi.license@gmail.com>.
25
- */
26
- #ifndef _FRIBIDI_FLAGS_H
27
- #define _FRIBIDI_FLAGS_H
28
-
29
- #include "fribidi-common.h"
30
-
31
- #include "fribidi-types.h"
32
-
33
- #include "fribidi-begindecls.h"
34
-
35
- typedef uint32_t FriBidiFlags;
36
-
37
- /*
38
- * Define option flags that various functions use. Each mask has
39
- * only one bit set.
40
- */
41
-
42
- #define FRIBIDI_FLAG_SHAPE_MIRRORING 0x00000001
43
- #define FRIBIDI_FLAG_REORDER_NSM 0x00000002
44
-
45
- #define FRIBIDI_FLAG_SHAPE_ARAB_PRES 0x00000100
46
- #define FRIBIDI_FLAG_SHAPE_ARAB_LIGA 0x00000200
47
- #define FRIBIDI_FLAG_SHAPE_ARAB_CONSOLE 0x00000400
48
-
49
- #define FRIBIDI_FLAG_REMOVE_BIDI 0x00010000
50
- #define FRIBIDI_FLAG_REMOVE_JOINING 0x00020000
51
- #define FRIBIDI_FLAG_REMOVE_SPECIALS 0x00040000
52
-
53
-
54
- /*
55
- * And their combinations.
56
- */
57
-
58
- #define FRIBIDI_FLAGS_DEFAULT ( \
59
- FRIBIDI_FLAG_SHAPE_MIRRORING | \
60
- FRIBIDI_FLAG_REORDER_NSM | \
61
- FRIBIDI_FLAG_REMOVE_SPECIALS )
62
-
63
- #define FRIBIDI_FLAGS_ARABIC ( \
64
- FRIBIDI_FLAG_SHAPE_ARAB_PRES | \
65
- FRIBIDI_FLAG_SHAPE_ARAB_LIGA )
66
-
67
- #include "fribidi-enddecls.h"
68
-
69
- #endif /* !_FRIBIDI_FLAGS_H */
70
- /* Editor directions:
71
- * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
72
- */
@@ -1,44 +0,0 @@
1
- #ifndef __FRIBIDI_DOC
2
- /* FriBidi
3
- * fribidi-joining-types-list.h - list of joining types
4
- *
5
- * Author:
6
- * Behdad Esfahbod, 2004
7
- *
8
- * Copyright (C) 2004 Sharif FarsiWeb, Inc.
9
- * Copyright (C) 2004 Behdad Esfahbod
10
- *
11
- * This library is free software; you can redistribute it and/or
12
- * modify it under the terms of the GNU Lesser General Public
13
- * License as published by the Free Software Foundation; either
14
- * version 2.1 of the License, or (at your option) any later version.
15
- *
16
- * This library is distributed in the hope that it will be useful,
17
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
- * Lesser General Public License for more details.
20
- *
21
- * You should have received a copy of the GNU Lesser General Public License
22
- * along with this library, in a file named COPYING; if not, write to the
23
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24
- * Boston, MA 02110-1301, USA
25
- *
26
- * For licensing issues, contact <fribidi.license@gmail.com>.
27
- */
28
- /* *INDENT-OFF* */
29
- #endif /* !__FRIBIDI_DOC */
30
- #ifndef _FRIBIDI_ADD_TYPE
31
- # define _FRIBIDI_ADD_TYPE(x,y)
32
- #endif
33
-
34
- _FRIBIDI_ADD_TYPE (U, '|') /* nUn-joining, e.g. Full Stop */
35
- _FRIBIDI_ADD_TYPE (R, '<') /* Right-joining, e.g. Arabic Letter Dal */
36
- _FRIBIDI_ADD_TYPE (D, '+') /* Dual-joining, e.g. Arabic Letter Ain */
37
- _FRIBIDI_ADD_TYPE (C, '-') /* join-Causing, e.g. Tatweel, ZWJ */
38
- _FRIBIDI_ADD_TYPE (T, '^') /* Transparent, e.g. Arabic Fatha */
39
- _FRIBIDI_ADD_TYPE (L, '>') /* Left-joining, i.e. fictional */
40
- _FRIBIDI_ADD_TYPE (G, '~') /* iGnored, e.g. LRE, RLE, ZWNBSP */
41
-
42
- #ifndef __FRIBIDI_DOC
43
- /* *INDENT-ON* */
44
- #endif /* !__FRIBIDI_DOC */