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,123 +0,0 @@
1
- /****************************************************************************
2
- *
3
- * tttags.h
4
- *
5
- * Tags for TrueType and OpenType tables (specification only).
6
- *
7
- * Copyright (C) 1996-2021 by
8
- * David Turner, Robert Wilhelm, and Werner Lemberg.
9
- *
10
- * This file is part of the FreeType project, and may only be used,
11
- * modified, and distributed under the terms of the FreeType project
12
- * license, LICENSE.TXT. By continuing to use, modify, or distribute
13
- * this file you indicate that you have read the license and
14
- * understand and accept it fully.
15
- *
16
- */
17
-
18
-
19
- #ifndef TTAGS_H_
20
- #define TTAGS_H_
21
-
22
-
23
- #include <freetype/freetype.h>
24
-
25
- #ifdef FREETYPE_H
26
- #error "freetype.h of FreeType 1 has been loaded!"
27
- #error "Please fix the directory search order for header files"
28
- #error "so that freetype.h of FreeType 2 is found first."
29
- #endif
30
-
31
-
32
- FT_BEGIN_HEADER
33
-
34
-
35
- #define TTAG_avar FT_MAKE_TAG( 'a', 'v', 'a', 'r' )
36
- #define TTAG_BASE FT_MAKE_TAG( 'B', 'A', 'S', 'E' )
37
- #define TTAG_bdat FT_MAKE_TAG( 'b', 'd', 'a', 't' )
38
- #define TTAG_BDF FT_MAKE_TAG( 'B', 'D', 'F', ' ' )
39
- #define TTAG_bhed FT_MAKE_TAG( 'b', 'h', 'e', 'd' )
40
- #define TTAG_bloc FT_MAKE_TAG( 'b', 'l', 'o', 'c' )
41
- #define TTAG_bsln FT_MAKE_TAG( 'b', 's', 'l', 'n' )
42
- #define TTAG_CBDT FT_MAKE_TAG( 'C', 'B', 'D', 'T' )
43
- #define TTAG_CBLC FT_MAKE_TAG( 'C', 'B', 'L', 'C' )
44
- #define TTAG_CFF FT_MAKE_TAG( 'C', 'F', 'F', ' ' )
45
- #define TTAG_CFF2 FT_MAKE_TAG( 'C', 'F', 'F', '2' )
46
- #define TTAG_CID FT_MAKE_TAG( 'C', 'I', 'D', ' ' )
47
- #define TTAG_cmap FT_MAKE_TAG( 'c', 'm', 'a', 'p' )
48
- #define TTAG_COLR FT_MAKE_TAG( 'C', 'O', 'L', 'R' )
49
- #define TTAG_CPAL FT_MAKE_TAG( 'C', 'P', 'A', 'L' )
50
- #define TTAG_cvar FT_MAKE_TAG( 'c', 'v', 'a', 'r' )
51
- #define TTAG_cvt FT_MAKE_TAG( 'c', 'v', 't', ' ' )
52
- #define TTAG_DSIG FT_MAKE_TAG( 'D', 'S', 'I', 'G' )
53
- #define TTAG_EBDT FT_MAKE_TAG( 'E', 'B', 'D', 'T' )
54
- #define TTAG_EBLC FT_MAKE_TAG( 'E', 'B', 'L', 'C' )
55
- #define TTAG_EBSC FT_MAKE_TAG( 'E', 'B', 'S', 'C' )
56
- #define TTAG_feat FT_MAKE_TAG( 'f', 'e', 'a', 't' )
57
- #define TTAG_FOND FT_MAKE_TAG( 'F', 'O', 'N', 'D' )
58
- #define TTAG_fpgm FT_MAKE_TAG( 'f', 'p', 'g', 'm' )
59
- #define TTAG_fvar FT_MAKE_TAG( 'f', 'v', 'a', 'r' )
60
- #define TTAG_gasp FT_MAKE_TAG( 'g', 'a', 's', 'p' )
61
- #define TTAG_GDEF FT_MAKE_TAG( 'G', 'D', 'E', 'F' )
62
- #define TTAG_glyf FT_MAKE_TAG( 'g', 'l', 'y', 'f' )
63
- #define TTAG_GPOS FT_MAKE_TAG( 'G', 'P', 'O', 'S' )
64
- #define TTAG_GSUB FT_MAKE_TAG( 'G', 'S', 'U', 'B' )
65
- #define TTAG_gvar FT_MAKE_TAG( 'g', 'v', 'a', 'r' )
66
- #define TTAG_HVAR FT_MAKE_TAG( 'H', 'V', 'A', 'R' )
67
- #define TTAG_hdmx FT_MAKE_TAG( 'h', 'd', 'm', 'x' )
68
- #define TTAG_head FT_MAKE_TAG( 'h', 'e', 'a', 'd' )
69
- #define TTAG_hhea FT_MAKE_TAG( 'h', 'h', 'e', 'a' )
70
- #define TTAG_hmtx FT_MAKE_TAG( 'h', 'm', 't', 'x' )
71
- #define TTAG_JSTF FT_MAKE_TAG( 'J', 'S', 'T', 'F' )
72
- #define TTAG_just FT_MAKE_TAG( 'j', 'u', 's', 't' )
73
- #define TTAG_kern FT_MAKE_TAG( 'k', 'e', 'r', 'n' )
74
- #define TTAG_lcar FT_MAKE_TAG( 'l', 'c', 'a', 'r' )
75
- #define TTAG_loca FT_MAKE_TAG( 'l', 'o', 'c', 'a' )
76
- #define TTAG_LTSH FT_MAKE_TAG( 'L', 'T', 'S', 'H' )
77
- #define TTAG_LWFN FT_MAKE_TAG( 'L', 'W', 'F', 'N' )
78
- #define TTAG_MATH FT_MAKE_TAG( 'M', 'A', 'T', 'H' )
79
- #define TTAG_maxp FT_MAKE_TAG( 'm', 'a', 'x', 'p' )
80
- #define TTAG_META FT_MAKE_TAG( 'M', 'E', 'T', 'A' )
81
- #define TTAG_MMFX FT_MAKE_TAG( 'M', 'M', 'F', 'X' )
82
- #define TTAG_MMSD FT_MAKE_TAG( 'M', 'M', 'S', 'D' )
83
- #define TTAG_mort FT_MAKE_TAG( 'm', 'o', 'r', 't' )
84
- #define TTAG_morx FT_MAKE_TAG( 'm', 'o', 'r', 'x' )
85
- #define TTAG_MVAR FT_MAKE_TAG( 'M', 'V', 'A', 'R' )
86
- #define TTAG_name FT_MAKE_TAG( 'n', 'a', 'm', 'e' )
87
- #define TTAG_opbd FT_MAKE_TAG( 'o', 'p', 'b', 'd' )
88
- #define TTAG_OS2 FT_MAKE_TAG( 'O', 'S', '/', '2' )
89
- #define TTAG_OTTO FT_MAKE_TAG( 'O', 'T', 'T', 'O' )
90
- #define TTAG_PCLT FT_MAKE_TAG( 'P', 'C', 'L', 'T' )
91
- #define TTAG_POST FT_MAKE_TAG( 'P', 'O', 'S', 'T' )
92
- #define TTAG_post FT_MAKE_TAG( 'p', 'o', 's', 't' )
93
- #define TTAG_prep FT_MAKE_TAG( 'p', 'r', 'e', 'p' )
94
- #define TTAG_prop FT_MAKE_TAG( 'p', 'r', 'o', 'p' )
95
- #define TTAG_sbix FT_MAKE_TAG( 's', 'b', 'i', 'x' )
96
- #define TTAG_sfnt FT_MAKE_TAG( 's', 'f', 'n', 't' )
97
- #define TTAG_SING FT_MAKE_TAG( 'S', 'I', 'N', 'G' )
98
- #define TTAG_trak FT_MAKE_TAG( 't', 'r', 'a', 'k' )
99
- #define TTAG_true FT_MAKE_TAG( 't', 'r', 'u', 'e' )
100
- #define TTAG_ttc FT_MAKE_TAG( 't', 't', 'c', ' ' )
101
- #define TTAG_ttcf FT_MAKE_TAG( 't', 't', 'c', 'f' )
102
- #define TTAG_TYP1 FT_MAKE_TAG( 'T', 'Y', 'P', '1' )
103
- #define TTAG_typ1 FT_MAKE_TAG( 't', 'y', 'p', '1' )
104
- #define TTAG_VDMX FT_MAKE_TAG( 'V', 'D', 'M', 'X' )
105
- #define TTAG_vhea FT_MAKE_TAG( 'v', 'h', 'e', 'a' )
106
- #define TTAG_vmtx FT_MAKE_TAG( 'v', 'm', 't', 'x' )
107
- #define TTAG_VVAR FT_MAKE_TAG( 'V', 'V', 'A', 'R' )
108
- #define TTAG_wOFF FT_MAKE_TAG( 'w', 'O', 'F', 'F' )
109
- #define TTAG_wOF2 FT_MAKE_TAG( 'w', 'O', 'F', '2' )
110
-
111
- /* used by "Keyboard.dfont" on legacy Mac OS X */
112
- #define TTAG_0xA5kbd FT_MAKE_TAG( 0xA5, 'k', 'b', 'd' )
113
-
114
- /* used by "LastResort.dfont" on legacy Mac OS X */
115
- #define TTAG_0xA5lst FT_MAKE_TAG( 0xA5, 'l', 's', 't' )
116
-
117
-
118
- FT_END_HEADER
119
-
120
- #endif /* TTAGS_H_ */
121
-
122
-
123
- /* END */
@@ -1,42 +0,0 @@
1
- /****************************************************************************
2
- *
3
- * ft2build.h
4
- *
5
- * FreeType 2 build and setup macros.
6
- *
7
- * Copyright (C) 1996-2021 by
8
- * David Turner, Robert Wilhelm, and Werner Lemberg.
9
- *
10
- * This file is part of the FreeType project, and may only be used,
11
- * modified, and distributed under the terms of the FreeType project
12
- * license, LICENSE.TXT. By continuing to use, modify, or distribute
13
- * this file you indicate that you have read the license and
14
- * understand and accept it fully.
15
- *
16
- */
17
-
18
-
19
- /**************************************************************************
20
- *
21
- * This is the 'entry point' for FreeType header file inclusions, to be
22
- * loaded before all other header files.
23
- *
24
- * A typical example is
25
- *
26
- * ```
27
- * #include <ft2build.h>
28
- * #include <freetype/freetype.h>
29
- * ```
30
- *
31
- */
32
-
33
-
34
- #ifndef FT2BUILD_H_
35
- #define FT2BUILD_H_
36
-
37
- #include <freetype/config/ftheader.h>
38
-
39
- #endif /* FT2BUILD_H_ */
40
-
41
-
42
- /* END */
@@ -1,81 +0,0 @@
1
- /* fribidi-arabic.h - do Arabic shaping to presentation forms
2
- *
3
- * Copyright (C) 2005 Behdad Esfahbod
4
- *
5
- * This file is part of GNU FriBidi.
6
- *
7
- * GNU FriBidi is free software; you can redistribute it and/or
8
- * modify it under the terms of the GNU Lesser General Public License
9
- * as published by the Free Software Foundation; either version 2.1
10
- * of the License, or (at your option) any later version.
11
- *
12
- * GNU FriBidi is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Lesser General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Lesser General Public License
18
- * along with GNU FriBidi; if not, write to the Free Software
19
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
- *
21
- * For licensing issues, contact <fribidi.license@gmail.com> or write to
22
- * Sharif FarsiWeb, Inc., PO Box 13445-389, Tehran, Iran.
23
- *
24
- * Author(s):
25
- * Behdad Esfahbod, 2005
26
- */
27
- #ifndef _FRIBIDI_ARABIC_H
28
- #define _FRIBIDI_ARABIC_H
29
-
30
- #include "fribidi-common.h"
31
-
32
- #include "fribidi-types.h"
33
- #include "fribidi-flags.h"
34
- #include "fribidi-bidi-types.h"
35
- #include "fribidi-joining.h"
36
-
37
- #include "fribidi-begindecls.h"
38
-
39
-
40
- /* fribidi_shape_arabic - do Arabic shaping
41
- *
42
- * The actual shaping that is done depends on the flags set. Only flags
43
- * starting with FRIBIDI_FLAG_SHAPE_ARAB_ affect this function.
44
- * Currently these are:
45
- *
46
- * * FRIBIDI_FLAG_SHAPE_MIRRORING: Do mirroring.
47
- * * FRIBIDI_FLAG_SHAPE_ARAB_PRES: Shape Arabic characters to their
48
- * presentation form glyphs.
49
- * * FRIBIDI_FLAG_SHAPE_ARAB_LIGA: Form mandatory Arabic ligatures.
50
- * * FRIBIDI_FLAG_SHAPE_ARAB_CONSOLE: Perform additional Arabic shaping
51
- * suitable for text rendered on
52
- * grid terminals with no mark
53
- * rendering capabilities.
54
- *
55
- * Of the above, FRIBIDI_FLAG_SHAPE_ARAB_CONSOLE is only used in special
56
- * cases, but the rest are recommended in any environment that doesn't have
57
- * other means for doing Arabic shaping. The set of extra flags that enable
58
- * this level of Arabic support has a shortcut named FRIBIDI_FLAGS_ARABIC.
59
- */
60
- FRIBIDI_ENTRY void
61
- fribidi_shape_arabic (
62
- FriBidiFlags flags, /* shaping flags */
63
- const FriBidiLevel *embedding_levels,
64
- const FriBidiStrIndex len, /* input string length */
65
- FriBidiArabicProp *ar_props, /* input/output Arabic properties as
66
- * computed by fribidi_join_arabic */
67
- FriBidiChar *str /* string to shape */
68
- );
69
-
70
- #include "fribidi-enddecls.h"
71
-
72
- #endif /* !_FRIBIDI_ARABIC_H */
73
- /* Editor directions:
74
- * Local Variables:
75
- * mode: c
76
- * c-basic-offset: 2
77
- * indent-tabs-mode: t
78
- * tab-width: 8
79
- * End:
80
- * vim: textwidth=78: autoindent: cindent: shiftwidth=2: tabstop=8:
81
- */
@@ -1,3 +0,0 @@
1
- #ifdef FRIBIDI_BEGIN_DECLS
2
- FRIBIDI_BEGIN_DECLS
3
- #endif /* FRIBIDI_BEGIN_DECLS */
@@ -1,96 +0,0 @@
1
- #ifndef __FRIBIDI_DOC
2
- /* FriBidi
3
- * fribidi-bidi-types-list.h - list of bidi types
4
- *
5
- * Author:
6
- * Behdad Esfahbod, 2001, 2002, 2004
7
- *
8
- * Copyright (C) 2004 Sharif FarsiWeb, Inc.
9
- * Copyright (C) 2001,2002 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
- #ifndef _FRIBIDI_ADD_ALIAS
34
- # define _FRIBIDI_ADD_ALIAS(x1,x2)
35
- #endif
36
-
37
- #if !defined(_FRIBIDI_PAR_TYPES) || defined(_FRIBIDI_ALL_TYPES)
38
-
39
- _FRIBIDI_ADD_TYPE (LTR, 'L') /* Left-To-Right letter */
40
- _FRIBIDI_ADD_TYPE (RTL, 'R') /* Right-To-Left letter */
41
- _FRIBIDI_ADD_TYPE (AL, 'A') /* Arabic Letter */
42
- _FRIBIDI_ADD_TYPE (EN, '1') /* European Numeral */
43
- _FRIBIDI_ADD_TYPE (AN, '9') /* Arabic Numeral */
44
- _FRIBIDI_ADD_TYPE (ES, 'w') /* European number Separator */
45
- _FRIBIDI_ADD_TYPE (ET, 'w') /* European number Terminator */
46
- _FRIBIDI_ADD_TYPE (CS, 'w') /* Common Separator */
47
- _FRIBIDI_ADD_TYPE (NSM, '`') /* Non Spacing Mark */
48
- _FRIBIDI_ADD_TYPE (BN, 'b') /* Boundary Neutral */
49
- _FRIBIDI_ADD_TYPE (BS, 'B') /* Block Separator */
50
- _FRIBIDI_ADD_TYPE (SS, 'S') /* Segment Separator */
51
- _FRIBIDI_ADD_TYPE (WS, '_') /* WhiteSpace */
52
- _FRIBIDI_ADD_TYPE (ON, 'n') /* Other Neutral */
53
- _FRIBIDI_ADD_TYPE (LRE, '+') /* Left-to-Right Embedding */
54
- _FRIBIDI_ADD_TYPE (RLE, '+') /* Right-to-Left Embedding */
55
- _FRIBIDI_ADD_TYPE (LRO, '+') /* Left-to-Right Override */
56
- _FRIBIDI_ADD_TYPE (RLO, '+') /* Right-to-Left Override */
57
- _FRIBIDI_ADD_TYPE (PDF, '-') /* Pop Directional Flag */
58
- _FRIBIDI_ADD_TYPE (LRI, '+') /* Left-to-Right Isolate */
59
- _FRIBIDI_ADD_TYPE (RLI, '+') /* Right-to-Left Isolate */
60
- _FRIBIDI_ADD_TYPE (FSI, '+') /* First-Strong Isolate */
61
- _FRIBIDI_ADD_TYPE (PDI, '-') /* Pop Directional Isolate */
62
-
63
- #if defined(_FRIBIDI_ADD_ALIAS)
64
- _FRIBIDI_ADD_ALIAS (L, LTR)
65
- _FRIBIDI_ADD_ALIAS (R, RTL)
66
- _FRIBIDI_ADD_ALIAS (B, BS)
67
- _FRIBIDI_ADD_ALIAS (S, SS)
68
- #endif /* _FRIBIDI_ADD_ALIAS */
69
-
70
- #if defined(_FRIBIDI_SENTINEL_TYPE) || defined(_FRIBIDI_ALL_TYPES)
71
- _FRIBIDI_ADD_TYPE (SENTINEL, '$') /* SENTINEL */
72
- #endif /* _FRIBIDI_SENTINEL_TYPES || _FRIBIDI_ALL_TYPES*/
73
- #endif /* !_FRIBIDI_PAR_TYPES || _FRIBIDI_ALL_TYPES */
74
-
75
- #if defined(_FRIBIDI_PAR_TYPES) || defined(_FRIBIDI_ALL_TYPES)
76
- # if !defined(_FRIBIDI_ALL_TYPES)
77
- _FRIBIDI_ADD_TYPE (LTR, 'L') /* Left-To-Right paragraph */
78
- _FRIBIDI_ADD_TYPE (RTL, 'R') /* Right-To-Left paragraph */
79
- _FRIBIDI_ADD_TYPE (ON, 'n') /* directiOn-Neutral paragraph */
80
- # endif /* !_FRIBIDI_ALL_TYPES */
81
- _FRIBIDI_ADD_TYPE (WLTR, 'l') /* Weak Left To Right paragraph */
82
- _FRIBIDI_ADD_TYPE (WRTL, 'r') /* Weak Right To Left paragraph */
83
- #endif /* _FRIBIDI_PAR_TYPES || _FRIBIDI_ALL_TYPES*/
84
-
85
- #if defined(_FRIBIDI_ENUM_TYPES)
86
- typedef enum {
87
- # define _FRIBIDI_ADD_TYPE _FRIBIDI_ENUM_ADD_TYPE
88
- # include "fribidi-bidi-types-list.h"
89
- # undef _FRIBIDI_ADD_TYPE
90
- _FRIBIDI_TYPES_MAX
91
- } _FRIBIDI_ENUM_TYPES
92
- #endif /* _FRIBIDI_ENUM_TYPES */
93
-
94
- #ifndef __FRIBIDI_DOC
95
- /* *INDENT-ON* */
96
- #endif /* !__FRIBIDI_DOC */