pango 3.2.1-x86-mingw32 → 3.2.2-x86-mingw32
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.
- checksums.yaml +5 -5
- data/Rakefile +19 -3
- data/lib/2.2/pango.so +0 -0
- data/lib/2.3/pango.so +0 -0
- data/lib/2.4/pango.so +0 -0
- data/lib/2.5/pango.so +0 -0
- data/lib/pango/markup.rb +1 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/fribidi.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-subset.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +1 -1
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libfribidi-0.dll +0 -0
- data/vendor/local/bin/libgraphene-1.0-0.dll +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libharfbuzz-subset-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/makeconv.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/include/fribidi/fribidi-arabic.h +81 -0
- data/vendor/local/include/fribidi/fribidi-begindecls.h +3 -0
- data/vendor/local/include/fribidi/fribidi-bidi-types-list.h +96 -0
- data/vendor/local/include/fribidi/fribidi-bidi-types.h +405 -0
- data/vendor/local/include/fribidi/fribidi-bidi.h +142 -0
- data/vendor/local/include/fribidi/fribidi-brackets.h +89 -0
- data/vendor/local/include/fribidi/fribidi-char-sets-list.h +54 -0
- data/vendor/local/include/fribidi/fribidi-char-sets.h +106 -0
- data/vendor/local/include/fribidi/fribidi-common.h +146 -0
- data/vendor/local/include/fribidi/fribidi-config.h +23 -0
- data/vendor/local/include/fribidi/fribidi-deprecated.h +244 -0
- data/vendor/local/include/fribidi/fribidi-enddecls.h +3 -0
- data/vendor/local/include/fribidi/fribidi-flags.h +72 -0
- data/vendor/local/include/fribidi/fribidi-joining-types-list.h +44 -0
- data/vendor/local/include/fribidi/fribidi-joining-types.h +249 -0
- data/vendor/local/include/fribidi/fribidi-joining.h +74 -0
- data/vendor/local/include/fribidi/fribidi-mirroring.h +86 -0
- data/vendor/local/include/fribidi/fribidi-shape.h +71 -0
- data/vendor/local/include/fribidi/fribidi-types.h +83 -0
- data/vendor/local/include/fribidi/fribidi-unicode-version.h +10 -0
- data/vendor/local/include/fribidi/fribidi-unicode.h +105 -0
- data/vendor/local/include/fribidi/fribidi.h +63 -0
- data/vendor/local/include/graphene-1.0/graphene-macros.h +6 -0
- data/vendor/local/include/graphene-1.0/graphene-version-macros.h +18 -2
- data/vendor/local/include/graphene-1.0/graphene-version.h +2 -2
- data/vendor/local/include/harfbuzz/hb-blob.h +4 -1
- data/vendor/local/include/harfbuzz/hb-buffer.h +39 -8
- data/vendor/local/include/harfbuzz/hb-common.h +1 -1
- data/vendor/local/include/harfbuzz/hb-deprecated.h +4 -0
- data/vendor/local/include/harfbuzz/hb-face.h +0 -1
- data/vendor/local/include/harfbuzz/hb-font.h +1 -1
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +17 -0
- data/vendor/local/include/harfbuzz/hb-set.h +15 -7
- data/vendor/local/include/harfbuzz/hb-subset-glyf.hh +40 -0
- data/vendor/local/include/harfbuzz/hb-subset-plan.hh +85 -0
- data/vendor/local/include/harfbuzz/hb-subset-private.hh +62 -0
- data/vendor/local/include/harfbuzz/hb-subset.h +83 -0
- data/vendor/local/include/harfbuzz/hb-version.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-font.h +14 -3
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +13 -0
- data/vendor/local/lib/cmake/harfbuzz/harfbuzz-config.cmake +82 -0
- data/vendor/local/lib/girepository-1.0/Graphene-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/graphene-1.0/include/graphene-config.h +13 -4
- data/vendor/local/lib/icu/58.2/Makefile.inc +1 -1
- data/vendor/local/lib/icu/58.2/pkgdata.inc +2 -2
- data/vendor/local/lib/icu/Makefile.inc +1 -1
- data/vendor/local/lib/icu/pkgdata.inc +2 -2
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt58.dll +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin58.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio58.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/icutest58.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu58.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc58.dll +0 -0
- data/vendor/local/lib/libfribidi.dll.a +0 -0
- data/vendor/local/lib/libfribidi.la +41 -0
- data/vendor/local/lib/libgraphene-1.0.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +4 -4
- data/vendor/local/lib/libharfbuzz-subset.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz-subset.la +41 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +4 -4
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicudt58.dll +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +5 -5
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +5 -5
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +5 -5
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +5 -5
- data/vendor/local/lib/pkgconfig/fribidi.pc +12 -0
- data/vendor/local/lib/pkgconfig/graphene-1.0.pc +17 -11
- data/vendor/local/lib/pkgconfig/graphene-gobject-1.0.pc +17 -11
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +5 -5
- data/vendor/local/lib/pkgconfig/harfbuzz-subset.pc +12 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +5 -5
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +1 -1
- data/vendor/local/lib/pkgconfig/icu-io.pc +1 -1
- data/vendor/local/lib/pkgconfig/icu-uc.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
- data/vendor/local/libexec/installed-tests/graphene-1.0/box.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/euler.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/frustum.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/matrix.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/plane.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/point.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/point3d.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/quad.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/quaternion.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/ray.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/rect.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/simd.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/size.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/sphere.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/triangle.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec2.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec3.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec4.exe +0 -0
- data/vendor/local/share/gir-1.0/Graphene-1.0.gir +1 -1
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +82 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/HarfBuzz.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/HarfBuzz.svg +277 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/a-clustering-example-for-levels-0-and-1.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-11.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-2.html +33 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-31.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-39.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-41.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-5.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-7.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-0-5.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-3.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-2-3.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-3-3.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-4-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-4-3.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-5-0.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-6-0.html +38 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +302 -18
- data/vendor/local/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html +6 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/building.html +6 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch08.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/clusters.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +8 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/fonts-and-faces.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +265 -205
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +42 -35
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +76 -31
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +25 -710
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +31 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +36 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +79 -35
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +187 -112
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +31 -17
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +11 -11
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +784 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +48 -41
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-math.html +47 -32
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html +7 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +153 -68
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +48 -41
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +58 -48
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +10 -14
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +99 -164
- data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +21 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +11 -10
- data/vendor/local/share/gtk-doc/html/harfbuzz/install-harfbuzz.html +6 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/level-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +36 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/plans-and-caching.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +9 -9
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +6 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/reordering-in-levels-0-and-1.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +4 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/the-distinction-between-levels-0-and-1.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html +11 -11
- data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +10 -10
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +18 -18
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +28 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +20 -20
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +14 -2
- data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +14 -14
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +101 -101
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +11 -11
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +10 -10
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +275 -133
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +17 -17
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +85 -85
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +168 -168
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +86 -86
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +92 -92
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +46 -46
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +29 -29
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +164 -164
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +85 -85
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +11 -11
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +20 -20
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +29 -29
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +7 -7
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +4 -0
- data/vendor/local/share/gtk-doc/html/pango/pango.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +2 -2
- data/vendor/local/share/installed-tests/graphene-1.0/box.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/euler.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/frustum.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/matrix.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/plane.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/point.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/point3d.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/quad.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/quaternion.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/ray.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/rect.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/simd.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/size.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/sphere.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/triangle.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/vec2.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/vec3.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/vec4.test +3 -0
- data/vendor/local/share/license/fribidi/fribidi/AUTHORS +40 -0
- data/vendor/local/share/license/fribidi/fribidi/COPYING +504 -0
- data/vendor/local/share/man/man1/pango-view.1 +1 -113
- metadata +87 -52
- data/vendor/local/lib/libgraphene-1.0.la +0 -41
- data/vendor/local/share/gtk-doc/html/graphene/annotation-glossary.html +0 -57
- data/vendor/local/share/gtk-doc/html/graphene/api-index.html +0 -1985
- data/vendor/local/share/gtk-doc/html/graphene/ch01.html +0 -97
- data/vendor/local/share/gtk-doc/html/graphene/deprecated-api-index.html +0 -34
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Box.html +0 -1252
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Euler.html +0 -886
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Frustum.html +0 -527
- data/vendor/local/share/gtk-doc/html/graphene/graphene-GObject-integration.html +0 -147
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Matrix.html +0 -2959
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Plane.html +0 -641
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Point.html +0 -689
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Point3D.html +0 -916
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Quad.html +0 -418
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Quaternion.html +0 -1056
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Ray.html +0 -596
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Rectangle.html +0 -1483
- data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-matrix.html +0 -1475
- data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-vector.html +0 -3046
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Size.html +0 -489
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Sphere.html +0 -641
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Triangle.html +0 -705
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Vectors.html +0 -3715
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Versioning-information.html +0 -104
- data/vendor/local/share/gtk-doc/html/graphene/graphene.devhelp2 +0 -534
- data/vendor/local/share/gtk-doc/html/graphene/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/index.html +0 -107
- data/vendor/local/share/gtk-doc/html/graphene/ix03.html +0 -1313
- data/vendor/local/share/gtk-doc/html/graphene/ix04.html +0 -582
- data/vendor/local/share/gtk-doc/html/graphene/ix05.html +0 -151
- data/vendor/local/share/gtk-doc/html/graphene/ix06.html +0 -34
- data/vendor/local/share/gtk-doc/html/graphene/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/object-tree.html +0 -32
- data/vendor/local/share/gtk-doc/html/graphene/rectangle-intersection.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/rectangle-union.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/rectangle.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/style.css +0 -479
- data/vendor/local/share/gtk-doc/html/graphene/triangle-barycentric.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/up.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d33364c3292c2a0995ff49ae76163c6a5e1652b5e24e0ff633a9241de8dfa72f
|
4
|
+
data.tar.gz: 060f036ba27740fb9f3c38a508a41c21e3bb043dc93b8a009b984764abe316b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6c9437cabbc32bb2c4c7369612bd9f2292c62f57e5244504b2cdfdc231a507d51810860c43759a7c732646a646e306cdb3c487b6d1788d03e38eafe1cf11928
|
7
|
+
data.tar.gz: d9a3ed2d4819539a0cb0353ddf405cc7f065fb5e195e0c121a5bc84c397d7a9c05a94fe9dba691d9a492566683767f5b484db4df36c8019c57dfe01c8ba60b35
|
data/Rakefile
CHANGED
@@ -56,6 +56,9 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
56
56
|
},
|
57
57
|
:native => {
|
58
58
|
:build => true,
|
59
|
+
:configure_args => [
|
60
|
+
"CPPFLAGS=-DU_USE_STRTOD_L=0",
|
61
|
+
],
|
59
62
|
:built_file => "bin/icu-config",
|
60
63
|
},
|
61
64
|
},
|
@@ -63,7 +66,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
63
66
|
:name => "harfbuzz",
|
64
67
|
:download_site => :freedesktop,
|
65
68
|
:label => "HarfBuzz",
|
66
|
-
:version => "1.6
|
69
|
+
:version => "1.7.6",
|
67
70
|
:compression_method => "bz2",
|
68
71
|
:windows => {
|
69
72
|
:configure_args => [
|
@@ -77,7 +80,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
77
80
|
:name => "graphene",
|
78
81
|
:download_site => :gnome,
|
79
82
|
:label => "Graphene",
|
80
|
-
:version => "1.
|
83
|
+
:version => "1.8.0",
|
81
84
|
:compression_method => "xz",
|
82
85
|
:windows => {
|
83
86
|
:configure_args => [
|
@@ -87,11 +90,24 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
87
90
|
:built_file => "bin/libgraphene-1.0-0.dll",
|
88
91
|
},
|
89
92
|
},
|
93
|
+
{
|
94
|
+
:name => "fribidi/fribidi",
|
95
|
+
:download_site => :github,
|
96
|
+
:label => "FriBidi",
|
97
|
+
:version => "v1.0.2",
|
98
|
+
:compression_method => "bz2",
|
99
|
+
:windows => {
|
100
|
+
:configure_args => [
|
101
|
+
"--disable-docs",
|
102
|
+
],
|
103
|
+
:built_file => "bin/libfribidi-0.dll",
|
104
|
+
},
|
105
|
+
},
|
90
106
|
{
|
91
107
|
:name => "pango",
|
92
108
|
:download_site => :gnome,
|
93
109
|
:label => "Pango",
|
94
|
-
:version => "1.
|
110
|
+
:version => "1.42.0",
|
95
111
|
:compression_method => "xz",
|
96
112
|
:windows => {
|
97
113
|
:configure_args => [
|
data/lib/2.2/pango.so
CHANGED
Binary file
|
data/lib/2.3/pango.so
CHANGED
Binary file
|
data/lib/2.4/pango.so
CHANGED
Binary file
|
data/lib/2.5/pango.so
ADDED
Binary file
|
data/lib/pango/markup.rb
CHANGED
data/vendor/local/bin/derb.exe
CHANGED
Binary file
|
Binary file
|
data/vendor/local/bin/genbrk.exe
CHANGED
Binary file
|
Binary file
|
data/vendor/local/bin/gencfu.exe
CHANGED
Binary file
|
data/vendor/local/bin/gencmn.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/genrb.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/icu-config
CHANGED
@@ -53,7 +53,7 @@ loaddefs()
|
|
53
53
|
# etc. If ICU is not installed in this directory, you must change the
|
54
54
|
# following line. There should exist ${prefix}/include/unicode/utypes.h
|
55
55
|
# for example.
|
56
|
-
default_prefix="/home/vagrant/ruby-gnome2
|
56
|
+
default_prefix="/home/vagrant/ruby-gnome2/pango/vendor/local"
|
57
57
|
if [ "x${prefix}" = "x" ]; then prefix="$default_prefix"; fi
|
58
58
|
exec_prefix="${prefix}"
|
59
59
|
libdir="${exec_prefix}/lib"
|
Binary file
|
data/vendor/local/bin/icupkg.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/uconv.exe
CHANGED
Binary file
|
@@ -0,0 +1,81 @@
|
|
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
|
+
*/
|
@@ -0,0 +1,96 @@
|
|
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 */
|
@@ -0,0 +1,405 @@
|
|
1
|
+
/* FriBidi
|
2
|
+
* fribidi-bidi-types.h - character bidi types
|
3
|
+
*
|
4
|
+
* Author:
|
5
|
+
* Behdad Esfahbod, 2001, 2002, 2004
|
6
|
+
*
|
7
|
+
* Copyright (C) 2004 Sharif FarsiWeb, Inc.
|
8
|
+
* Copyright (C) 2001,2002 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_BIDI_TYPES_H
|
28
|
+
#define _FRIBIDI_BIDI_TYPES_H
|
29
|
+
|
30
|
+
#include "fribidi-common.h"
|
31
|
+
|
32
|
+
#include "fribidi-types.h"
|
33
|
+
|
34
|
+
#include "fribidi-begindecls.h"
|
35
|
+
|
36
|
+
typedef signed char FriBidiLevel;
|
37
|
+
|
38
|
+
/*
|
39
|
+
* Define bit masks that bidi types are based on, each mask has
|
40
|
+
* only one bit set.
|
41
|
+
*/
|
42
|
+
|
43
|
+
/* RTL mask better be the least significant bit. */
|
44
|
+
#define FRIBIDI_MASK_RTL 0x00000001L /* Is right to left */
|
45
|
+
#define FRIBIDI_MASK_ARABIC 0x00000002L /* Is arabic */
|
46
|
+
|
47
|
+
/* Each char can be only one of the three following. */
|
48
|
+
#define FRIBIDI_MASK_STRONG 0x00000010L /* Is strong */
|
49
|
+
#define FRIBIDI_MASK_WEAK 0x00000020L /* Is weak */
|
50
|
+
#define FRIBIDI_MASK_NEUTRAL 0x00000040L /* Is neutral */
|
51
|
+
#define FRIBIDI_MASK_SENTINEL 0x00000080L /* Is sentinel */
|
52
|
+
/* Sentinels are not valid chars, just identify the start/end of strings. */
|
53
|
+
|
54
|
+
/* Each char can be only one of the six following. */
|
55
|
+
#define FRIBIDI_MASK_LETTER 0x00000100L /* Is letter: L, R, AL */
|
56
|
+
#define FRIBIDI_MASK_NUMBER 0x00000200L /* Is number: EN, AN */
|
57
|
+
#define FRIBIDI_MASK_NUMSEPTER 0x00000400L /* Is separator or terminator: ES, ET, CS */
|
58
|
+
#define FRIBIDI_MASK_SPACE 0x00000800L /* Is space: BN, BS, SS, WS */
|
59
|
+
#define FRIBIDI_MASK_EXPLICIT 0x00001000L /* Is explicit mark: LRE, RLE, LRO, RLO, PDF */
|
60
|
+
#define FRIBIDI_MASK_ISOLATE 0x00008000L /* Is isolate mark: LRI, RLI, FSI, PDI */
|
61
|
+
|
62
|
+
/* Can be set only if FRIBIDI_MASK_SPACE is also set. */
|
63
|
+
#define FRIBIDI_MASK_SEPARATOR 0x00002000L /* Is text separator: BS, SS */
|
64
|
+
/* Can be set only if FRIBIDI_MASK_EXPLICIT is also set. */
|
65
|
+
#define FRIBIDI_MASK_OVERRIDE 0x00004000L /* Is explicit override: LRO, RLO */
|
66
|
+
#define FRIBIDI_MASK_FIRST 0x02000000L /* Whether direction is determined by first strong */
|
67
|
+
|
68
|
+
|
69
|
+
/* The following exist to make types pairwise different, some of them can
|
70
|
+
* be removed but are here because of efficiency (make queries faster). */
|
71
|
+
|
72
|
+
#define FRIBIDI_MASK_ES 0x00010000L
|
73
|
+
#define FRIBIDI_MASK_ET 0x00020000L
|
74
|
+
#define FRIBIDI_MASK_CS 0x00040000L
|
75
|
+
|
76
|
+
#define FRIBIDI_MASK_NSM 0x00080000L
|
77
|
+
#define FRIBIDI_MASK_BN 0x00100000L
|
78
|
+
|
79
|
+
#define FRIBIDI_MASK_BS 0x00200000L
|
80
|
+
#define FRIBIDI_MASK_SS 0x00400000L
|
81
|
+
#define FRIBIDI_MASK_WS 0x00800000L
|
82
|
+
|
83
|
+
/* We reserve a single bit for user's private use: we will never use it. */
|
84
|
+
#define FRIBIDI_MASK_PRIVATE 0x01000000L
|
85
|
+
|
86
|
+
|
87
|
+
/*
|
88
|
+
* Define values for FriBidiCharType
|
89
|
+
*/
|
90
|
+
|
91
|
+
/* Strong types */
|
92
|
+
|
93
|
+
/* Left-To-Right letter */
|
94
|
+
#define FRIBIDI_TYPE_LTR_VAL ( FRIBIDI_MASK_STRONG | FRIBIDI_MASK_LETTER )
|
95
|
+
/* Right-To-Left letter */
|
96
|
+
#define FRIBIDI_TYPE_RTL_VAL ( FRIBIDI_MASK_STRONG | FRIBIDI_MASK_LETTER \
|
97
|
+
| FRIBIDI_MASK_RTL)
|
98
|
+
/* Arabic Letter */
|
99
|
+
#define FRIBIDI_TYPE_AL_VAL ( FRIBIDI_MASK_STRONG | FRIBIDI_MASK_LETTER \
|
100
|
+
| FRIBIDI_MASK_RTL | FRIBIDI_MASK_ARABIC )
|
101
|
+
/* Left-to-Right Embedding */
|
102
|
+
#define FRIBIDI_TYPE_LRE_VAL ( FRIBIDI_MASK_STRONG | FRIBIDI_MASK_EXPLICIT)
|
103
|
+
/* Right-to-Left Embedding */
|
104
|
+
#define FRIBIDI_TYPE_RLE_VAL ( FRIBIDI_MASK_STRONG | FRIBIDI_MASK_EXPLICIT \
|
105
|
+
| FRIBIDI_MASK_RTL )
|
106
|
+
/* Left-to-Right Override */
|
107
|
+
#define FRIBIDI_TYPE_LRO_VAL ( FRIBIDI_MASK_STRONG | FRIBIDI_MASK_EXPLICIT \
|
108
|
+
| FRIBIDI_MASK_OVERRIDE )
|
109
|
+
/* Right-to-Left Override */
|
110
|
+
#define FRIBIDI_TYPE_RLO_VAL ( FRIBIDI_MASK_STRONG | FRIBIDI_MASK_EXPLICIT \
|
111
|
+
| FRIBIDI_MASK_RTL | FRIBIDI_MASK_OVERRIDE )
|
112
|
+
|
113
|
+
/* Weak types */
|
114
|
+
|
115
|
+
/* Pop Directional Flag*/
|
116
|
+
#define FRIBIDI_TYPE_PDF_VAL ( FRIBIDI_MASK_WEAK | FRIBIDI_MASK_EXPLICIT )
|
117
|
+
/* European Numeral */
|
118
|
+
#define FRIBIDI_TYPE_EN_VAL ( FRIBIDI_MASK_WEAK | FRIBIDI_MASK_NUMBER )
|
119
|
+
/* Arabic Numeral */
|
120
|
+
#define FRIBIDI_TYPE_AN_VAL ( FRIBIDI_MASK_WEAK | FRIBIDI_MASK_NUMBER \
|
121
|
+
| FRIBIDI_MASK_ARABIC )
|
122
|
+
/* European number Separator */
|
123
|
+
#define FRIBIDI_TYPE_ES_VAL ( FRIBIDI_MASK_WEAK | FRIBIDI_MASK_NUMSEPTER \
|
124
|
+
| FRIBIDI_MASK_ES )
|
125
|
+
/* European number Terminator */
|
126
|
+
#define FRIBIDI_TYPE_ET_VAL ( FRIBIDI_MASK_WEAK | FRIBIDI_MASK_NUMSEPTER \
|
127
|
+
| FRIBIDI_MASK_ET )
|
128
|
+
/* Common Separator */
|
129
|
+
#define FRIBIDI_TYPE_CS_VAL ( FRIBIDI_MASK_WEAK | FRIBIDI_MASK_NUMSEPTER \
|
130
|
+
| FRIBIDI_MASK_CS )
|
131
|
+
/* Non Spacing Mark */
|
132
|
+
#define FRIBIDI_TYPE_NSM_VAL ( FRIBIDI_MASK_WEAK | FRIBIDI_MASK_NSM )
|
133
|
+
/* Boundary Neutral */
|
134
|
+
#define FRIBIDI_TYPE_BN_VAL ( FRIBIDI_MASK_WEAK | FRIBIDI_MASK_SPACE \
|
135
|
+
| FRIBIDI_MASK_BN )
|
136
|
+
|
137
|
+
/* Neutral types */
|
138
|
+
|
139
|
+
/* Block Separator */
|
140
|
+
#define FRIBIDI_TYPE_BS_VAL ( FRIBIDI_MASK_NEUTRAL | FRIBIDI_MASK_SPACE \
|
141
|
+
| FRIBIDI_MASK_SEPARATOR | FRIBIDI_MASK_BS )
|
142
|
+
/* Segment Separator */
|
143
|
+
#define FRIBIDI_TYPE_SS_VAL ( FRIBIDI_MASK_NEUTRAL | FRIBIDI_MASK_SPACE \
|
144
|
+
| FRIBIDI_MASK_SEPARATOR | FRIBIDI_MASK_SS )
|
145
|
+
/* WhiteSpace */
|
146
|
+
#define FRIBIDI_TYPE_WS_VAL ( FRIBIDI_MASK_NEUTRAL | FRIBIDI_MASK_SPACE \
|
147
|
+
| FRIBIDI_MASK_WS )
|
148
|
+
/* Other Neutral */
|
149
|
+
#define FRIBIDI_TYPE_ON_VAL ( FRIBIDI_MASK_NEUTRAL )
|
150
|
+
|
151
|
+
|
152
|
+
/* The following are used in specifying paragraph direction only. */
|
153
|
+
|
154
|
+
/* Weak Left-To-Right */
|
155
|
+
#define FRIBIDI_TYPE_WLTR_VAL ( FRIBIDI_MASK_WEAK )
|
156
|
+
/* Weak Right-To-Left */
|
157
|
+
#define FRIBIDI_TYPE_WRTL_VAL ( FRIBIDI_MASK_WEAK | FRIBIDI_MASK_RTL )
|
158
|
+
|
159
|
+
/* start or end of text (run list) SENTINEL. Only used internally */
|
160
|
+
#define FRIBIDI_TYPE_SENTINEL ( FRIBIDI_MASK_SENTINEL )
|
161
|
+
|
162
|
+
/* Private types for applications. More private types can be obtained by
|
163
|
+
* summing up from this one. */
|
164
|
+
#define FRIBIDI_TYPE_PRIVATE ( FRIBIDI_MASK_PRIVATE )
|
165
|
+
|
166
|
+
|
167
|
+
/* New types in Unicode 6.3 */
|
168
|
+
|
169
|
+
/* Left-to-Right Isolate */
|
170
|
+
#define FRIBIDI_TYPE_LRI_VAL ( FRIBIDI_MASK_NEUTRAL | FRIBIDI_MASK_ISOLATE )
|
171
|
+
/* Right-to-Left Isolate */
|
172
|
+
#define FRIBIDI_TYPE_RLI_VAL ( FRIBIDI_MASK_NEUTRAL | FRIBIDI_MASK_ISOLATE | FRIBIDI_MASK_RTL )
|
173
|
+
/* First strong isolate */
|
174
|
+
#define FRIBIDI_TYPE_FSI_VAL ( FRIBIDI_MASK_NEUTRAL | FRIBIDI_MASK_ISOLATE | FRIBIDI_MASK_FIRST )
|
175
|
+
|
176
|
+
/* Pop Directional Isolate*/
|
177
|
+
#define FRIBIDI_TYPE_PDI_VAL ( FRIBIDI_MASK_NEUTRAL | FRIBIDI_MASK_WEAK | FRIBIDI_MASK_ISOLATE )
|
178
|
+
|
179
|
+
/* Define Enums only if sizeof(int) == 4 (UTF-32), and not compiling C++.
|
180
|
+
* The problem with C++ is that then casts between int32 and enum will fail!
|
181
|
+
*/
|
182
|
+
#if defined(__FRIBIDI_DOC) || (FRIBIDI_SIZEOF_INT+0 == 4 && !defined(__cplusplus))
|
183
|
+
|
184
|
+
typedef enum
|
185
|
+
{
|
186
|
+
# define _FRIBIDI_ADD_TYPE(TYPE,SYMBOL) \
|
187
|
+
FRIBIDI_TYPE_##TYPE = FRIBIDI_TYPE_##TYPE##_VAL,
|
188
|
+
# include "fribidi-bidi-types-list.h"
|
189
|
+
# undef _FRIBIDI_ADD_TYPE
|
190
|
+
_FRIBIDI_TYPE_SENTINEL = FRIBIDI_TYPE_SENTINEL /* Don't use this */
|
191
|
+
} FriBidiCharType;
|
192
|
+
|
193
|
+
typedef enum
|
194
|
+
{
|
195
|
+
# define _FRIBIDI_PAR_TYPES
|
196
|
+
# define _FRIBIDI_ADD_TYPE(TYPE,SYMBOL) \
|
197
|
+
FRIBIDI_PAR_##TYPE = FRIBIDI_TYPE_##TYPE##_VAL,
|
198
|
+
# include "fribidi-bidi-types-list.h"
|
199
|
+
# undef _FRIBIDI_ADD_TYPE
|
200
|
+
# undef _FRIBIDI_PAR_TYPES
|
201
|
+
_FRIBIDI_PAR_SENTINEL = FRIBIDI_TYPE_SENTINEL /* Don't use this */
|
202
|
+
} FriBidiParType;
|
203
|
+
|
204
|
+
#else
|
205
|
+
|
206
|
+
typedef uint32_t FriBidiCharType;
|
207
|
+
# define FRIBIDI_TYPE_LTR FRIBIDI_TYPE_LTR_VAL
|
208
|
+
# define FRIBIDI_TYPE_RTL FRIBIDI_TYPE_RTL_VAL
|
209
|
+
# define FRIBIDI_TYPE_AL FRIBIDI_TYPE_AL_VAL
|
210
|
+
# define FRIBIDI_TYPE_EN FRIBIDI_TYPE_EN_VAL
|
211
|
+
# define FRIBIDI_TYPE_AN FRIBIDI_TYPE_AN_VAL
|
212
|
+
# define FRIBIDI_TYPE_ES FRIBIDI_TYPE_ES_VAL
|
213
|
+
# define FRIBIDI_TYPE_ET FRIBIDI_TYPE_ET_VAL
|
214
|
+
# define FRIBIDI_TYPE_CS FRIBIDI_TYPE_CS_VAL
|
215
|
+
# define FRIBIDI_TYPE_NSM FRIBIDI_TYPE_NSM_VAL
|
216
|
+
# define FRIBIDI_TYPE_BN FRIBIDI_TYPE_BN_VAL
|
217
|
+
# define FRIBIDI_TYPE_BS FRIBIDI_TYPE_BS_VAL
|
218
|
+
# define FRIBIDI_TYPE_SS FRIBIDI_TYPE_SS_VAL
|
219
|
+
# define FRIBIDI_TYPE_WS FRIBIDI_TYPE_WS_VAL
|
220
|
+
# define FRIBIDI_TYPE_ON FRIBIDI_TYPE_ON_VAL
|
221
|
+
# define FRIBIDI_TYPE_LRE FRIBIDI_TYPE_LRE_VAL
|
222
|
+
# define FRIBIDI_TYPE_RLE FRIBIDI_TYPE_RLE_VAL
|
223
|
+
# define FRIBIDI_TYPE_LRO FRIBIDI_TYPE_LRO_VAL
|
224
|
+
# define FRIBIDI_TYPE_RLO FRIBIDI_TYPE_RLO_VAL
|
225
|
+
# define FRIBIDI_TYPE_PDF FRIBIDI_TYPE_PDF_VAL
|
226
|
+
# define FRIBIDI_TYPE_LRI FRIBIDI_TYPE_PDF_LRI
|
227
|
+
# define FRIBIDI_TYPE_RLI FRIBIDI_TYPE_PDF_RLI
|
228
|
+
# define FRIBIDI_TYPE_FSI FRIBIDI_TYPE_PDF_FSI
|
229
|
+
# define FRIBIDI_TYPE_PDI FRIBIDI_TYPE_PDF_PDI
|
230
|
+
|
231
|
+
typedef uint32_t FriBidiParType;
|
232
|
+
# define FRIBIDI_PAR_LTR FRIBIDI_TYPE_LTR_VAL
|
233
|
+
# define FRIBIDI_PAR_RTL FRIBIDI_TYPE_RTL_VAL
|
234
|
+
# define FRIBIDI_PAR_ON FRIBIDI_TYPE_ON_VAL
|
235
|
+
# define FRIBIDI_PAR_WLTR FRIBIDI_TYPE_WLTR_VAL
|
236
|
+
# define FRIBIDI_PAR_WRTL FRIBIDI_TYPE_WRTL_VAL
|
237
|
+
|
238
|
+
#endif
|
239
|
+
|
240
|
+
/* Please don't use these two type names, use FRIBIDI_PAR_* form instead. */
|
241
|
+
#define FRIBIDI_TYPE_WLTR FRIBIDI_PAR_WLTR
|
242
|
+
#define FRIBIDI_TYPE_WRTL FRIBIDI_PAR_WRTL
|
243
|
+
|
244
|
+
|
245
|
+
/*
|
246
|
+
* Defining macros for needed queries, It is fully dependent on the
|
247
|
+
* implementation of FriBidiCharType.
|
248
|
+
*/
|
249
|
+
|
250
|
+
|
251
|
+
/* Is right-to-left level? */
|
252
|
+
#define FRIBIDI_LEVEL_IS_RTL(lev) ((lev) & 1)
|
253
|
+
|
254
|
+
/* Return the bidi type corresponding to the direction of the level number,
|
255
|
+
FRIBIDI_TYPE_LTR for evens and FRIBIDI_TYPE_RTL for odds. */
|
256
|
+
#define FRIBIDI_LEVEL_TO_DIR(lev) \
|
257
|
+
(FRIBIDI_LEVEL_IS_RTL (lev) ? FRIBIDI_TYPE_RTL : FRIBIDI_TYPE_LTR)
|
258
|
+
|
259
|
+
/* Return the minimum level of the direction, 0 for FRIBIDI_TYPE_LTR and
|
260
|
+
1 for FRIBIDI_TYPE_RTL and FRIBIDI_TYPE_AL. */
|
261
|
+
#define FRIBIDI_DIR_TO_LEVEL(dir) \
|
262
|
+
((FriBidiLevel) (FRIBIDI_IS_RTL (dir) ? 1 : 0))
|
263
|
+
|
264
|
+
/* Is right to left: RTL, AL, RLE, RLO? */
|
265
|
+
#define FRIBIDI_IS_RTL(p) ((p) & FRIBIDI_MASK_RTL)
|
266
|
+
/* Is arabic: AL, AN? */
|
267
|
+
#define FRIBIDI_IS_ARABIC(p) ((p) & FRIBIDI_MASK_ARABIC)
|
268
|
+
|
269
|
+
/* Is strong? */
|
270
|
+
#define FRIBIDI_IS_STRONG(p) ((p) & FRIBIDI_MASK_STRONG)
|
271
|
+
/* Is weak? */
|
272
|
+
#define FRIBIDI_IS_WEAK(p) ((p) & FRIBIDI_MASK_WEAK)
|
273
|
+
/* Is neutral? */
|
274
|
+
#define FRIBIDI_IS_NEUTRAL(p) ((p) & FRIBIDI_MASK_NEUTRAL)
|
275
|
+
/* Is sentinel? */
|
276
|
+
#define FRIBIDI_IS_SENTINEL(p) ((p) & FRIBIDI_MASK_SENTINEL)
|
277
|
+
|
278
|
+
/* Is letter: L, R, AL? */
|
279
|
+
#define FRIBIDI_IS_LETTER(p) ((p) & FRIBIDI_MASK_LETTER)
|
280
|
+
/* Is number: EN, AN? */
|
281
|
+
#define FRIBIDI_IS_NUMBER(p) ((p) & FRIBIDI_MASK_NUMBER)
|
282
|
+
/* Is number separator or terminator: ES, ET, CS? */
|
283
|
+
#define FRIBIDI_IS_NUMBER_SEPARATOR_OR_TERMINATOR(p) \
|
284
|
+
((p) & FRIBIDI_MASK_NUMSEPTER)
|
285
|
+
/* Is space: BN, BS, SS, WS? */
|
286
|
+
#define FRIBIDI_IS_SPACE(p) ((p) & FRIBIDI_MASK_SPACE)
|
287
|
+
/* Is explicit mark: LRE, RLE, LRO, RLO, PDF? */
|
288
|
+
#define FRIBIDI_IS_EXPLICIT(p) ((p) & FRIBIDI_MASK_EXPLICIT)
|
289
|
+
/* Is isolator */
|
290
|
+
#define FRIBIDI_IS_ISOLATE(p) ((p) & FRIBIDI_MASK_ISOLATE)
|
291
|
+
|
292
|
+
/* Is text separator: BS, SS? */
|
293
|
+
#define FRIBIDI_IS_SEPARATOR(p) ((p) & FRIBIDI_MASK_SEPARATOR)
|
294
|
+
|
295
|
+
/* Is explicit override: LRO, RLO? */
|
296
|
+
#define FRIBIDI_IS_OVERRIDE(p) ((p) & FRIBIDI_MASK_OVERRIDE)
|
297
|
+
|
298
|
+
/* Some more: */
|
299
|
+
|
300
|
+
/* Is left to right letter: LTR? */
|
301
|
+
#define FRIBIDI_IS_LTR_LETTER(p) \
|
302
|
+
((p) & (FRIBIDI_MASK_LETTER | FRIBIDI_MASK_RTL) == FRIBIDI_MASK_LETTER)
|
303
|
+
|
304
|
+
/* Is right to left letter: RTL, AL? */
|
305
|
+
#define FRIBIDI_IS_RTL_LETTER(p) \
|
306
|
+
((p) & (FRIBIDI_MASK_LETTER | FRIBIDI_MASK_RTL) \
|
307
|
+
== (FRIBIDI_MASK_LETTER | FRIBIDI_MASK_RTL))
|
308
|
+
|
309
|
+
/* Is ES or CS: ES, CS? */
|
310
|
+
#define FRIBIDI_IS_ES_OR_CS(p) \
|
311
|
+
((p) & (FRIBIDI_MASK_ES | FRIBIDI_MASK_CS))
|
312
|
+
|
313
|
+
/* Is explicit or BN: LRE, RLE, LRO, RLO, PDF, BN? */
|
314
|
+
#define FRIBIDI_IS_EXPLICIT_OR_BN(p) \
|
315
|
+
((p) & (FRIBIDI_MASK_EXPLICIT | FRIBIDI_MASK_BN))
|
316
|
+
|
317
|
+
/* Is explicit or BN or NSM: LRE, RLE, LRO, RLO, PDF, BN, NSM? */
|
318
|
+
#define FRIBIDI_IS_EXPLICIT_OR_BN_OR_NSM(p) \
|
319
|
+
((p) & (FRIBIDI_MASK_EXPLICIT | FRIBIDI_MASK_BN | FRIBIDI_MASK_NSM))
|
320
|
+
|
321
|
+
/* Is explicit or BN or NSM: LRE, RLE, LRO, RLO, PDF, BN, NSM? */
|
322
|
+
#define FRIBIDI_IS_EXPLICIT_OR_ISOLATE_OR_BN_OR_NSM(p) \
|
323
|
+
((p) & (FRIBIDI_MASK_EXPLICIT | FRIBIDI_MASK_ISOLATE | FRIBIDI_MASK_BN | FRIBIDI_MASK_NSM))
|
324
|
+
|
325
|
+
/* Is explicit or BN or WS: LRE, RLE, LRO, RLO, PDF, BN, WS? */
|
326
|
+
#define FRIBIDI_IS_EXPLICIT_OR_BN_OR_WS(p) \
|
327
|
+
((p) & (FRIBIDI_MASK_EXPLICIT | FRIBIDI_MASK_BN | FRIBIDI_MASK_WS))
|
328
|
+
|
329
|
+
/* Is explicit or separator or BN or WS: LRE, RLE, LRO, RLO, PDF, BS, SS, BN, WS? */
|
330
|
+
#define FRIBIDI_IS_EXPLICIT_OR_SEPARATOR_OR_BN_OR_WS(p) \
|
331
|
+
((p) & (FRIBIDI_MASK_EXPLICIT | FRIBIDI_MASK_SEPARATOR \
|
332
|
+
| FRIBIDI_MASK_BN | FRIBIDI_MASK_WS))
|
333
|
+
|
334
|
+
/* Is private-use type for application? */
|
335
|
+
#define FRIBIDI_IS_PRIVATE(p) ((p) & FRIBIDI_MASK_PRIVATE)
|
336
|
+
|
337
|
+
/* Define some conversions. */
|
338
|
+
|
339
|
+
/* Change numbers to RTL: EN,AN -> RTL. */
|
340
|
+
#define FRIBIDI_CHANGE_NUMBER_TO_RTL(p) \
|
341
|
+
(FRIBIDI_IS_NUMBER(p) ? FRIBIDI_TYPE_RTL : (p))
|
342
|
+
|
343
|
+
/* Override status of an explicit mark:
|
344
|
+
* LRO,LRE->LTR, RLO,RLE->RTL, otherwise->ON. */
|
345
|
+
#define FRIBIDI_EXPLICIT_TO_OVERRIDE_DIR(p) \
|
346
|
+
(FRIBIDI_IS_OVERRIDE(p) ? FRIBIDI_LEVEL_TO_DIR(FRIBIDI_DIR_TO_LEVEL(p)) \
|
347
|
+
: FRIBIDI_TYPE_ON)
|
348
|
+
|
349
|
+
/* Weaken type for paragraph fallback purposes:
|
350
|
+
* LTR->WLTR, RTL->WRTL. */
|
351
|
+
#define FRIBIDI_WEAK_PARAGRAPH(p) (FRIBIDI_PAR_WLTR | ((p) & FRIBIDI_MASK_RTL))
|
352
|
+
|
353
|
+
|
354
|
+
/* Functions finally */
|
355
|
+
|
356
|
+
|
357
|
+
/* fribidi_get_bidi_type - get character bidi type
|
358
|
+
*
|
359
|
+
* This function returns the bidi type of a character as defined in Table 3.7
|
360
|
+
* Bidirectional Character Types of the Unicode Bidirectional Algorithm
|
361
|
+
* available at
|
362
|
+
* http://www.unicode.org/reports/tr9/#Bidirectional_Character_Types, using
|
363
|
+
* data provided in file UnicodeData.txt of the Unicode Character Database
|
364
|
+
* available at http://www.unicode.org/Public/UNIDATA/UnicodeData.txt.
|
365
|
+
*
|
366
|
+
* There are a few macros defined in fribidi-bidi-types.h for querying a bidi
|
367
|
+
* type.
|
368
|
+
*/
|
369
|
+
FRIBIDI_ENTRY FriBidiCharType
|
370
|
+
fribidi_get_bidi_type (
|
371
|
+
FriBidiChar ch /* input character */
|
372
|
+
) FRIBIDI_GNUC_CONST;
|
373
|
+
|
374
|
+
/* fribidi_get_bidi_types - get bidi types for an string of characters
|
375
|
+
*
|
376
|
+
* This function finds the bidi types of an string of characters. See
|
377
|
+
* fribidi_get_bidi_type() for more information about the bidi types returned
|
378
|
+
* by this function.
|
379
|
+
*/
|
380
|
+
FRIBIDI_ENTRY void fribidi_get_bidi_types (
|
381
|
+
const FriBidiChar *str, /* input string */
|
382
|
+
const FriBidiStrIndex len, /* input string length */
|
383
|
+
FriBidiCharType *btypes /* output bidi types */
|
384
|
+
);
|
385
|
+
|
386
|
+
/* fribidi_get_bidi_type_name - get bidi type name
|
387
|
+
*
|
388
|
+
* This function returns the bidi type name of a character type. The
|
389
|
+
* returned string is a static string and should not be freed.
|
390
|
+
*
|
391
|
+
* The type names are the same as ones defined in Table 3.7 Bidirectional
|
392
|
+
* Character Types of the Unicode Bidirectional Algorithm available at
|
393
|
+
* http://www.unicode.org/reports/tr9/#Bidirectional_Character_Types, with a
|
394
|
+
* few modifications: L->LTR, R->RTL, B->BS, S->SS.
|
395
|
+
*/
|
396
|
+
FRIBIDI_ENTRY const char *fribidi_get_bidi_type_name (
|
397
|
+
FriBidiCharType t /* input bidi type */
|
398
|
+
) FRIBIDI_GNUC_CONST;
|
399
|
+
|
400
|
+
#include "fribidi-enddecls.h"
|
401
|
+
|
402
|
+
#endif /* !_FRIBIDI_BIDI_TYPES_H */
|
403
|
+
/* Editor directions:
|
404
|
+
* vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
|
405
|
+
*/
|