pango 3.2.1-x64-mingw32 → 3.2.2-x64-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/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 +16 -10
- data/vendor/local/lib/pkgconfig/graphene-gobject-1.0.pc +16 -10
- 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
@@ -0,0 +1,23 @@
|
|
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.2"
|
11
|
+
#define FRIBIDI_MAJOR_VERSION 1
|
12
|
+
#define FRIBIDI_MINOR_VERSION 0
|
13
|
+
#define FRIBIDI_MICRO_VERSION 2
|
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 */
|
@@ -0,0 +1,244 @@
|
|
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_remove_bidi_marks - remove bidi marks out of an string
|
131
|
+
*
|
132
|
+
* This function removes the bidi and boundary-neutral marks out of an string
|
133
|
+
* and the accompanying lists. It implements rule X9 of the Unicode
|
134
|
+
* Bidirectional Algorithm available at
|
135
|
+
* http://www.unicode.org/reports/tr9/#X9, with the exception that it removes
|
136
|
+
* U+200E LEFT-TO-RIGHT MARK and U+200F RIGHT-TO-LEFT MARK too.
|
137
|
+
*
|
138
|
+
* If any of the input lists are NULL, the list is skipped. If str is the
|
139
|
+
* visual string, then positions_to_this is positions_L_to_V and
|
140
|
+
* position_from_this_list is positions_V_to_L; if str is the logical
|
141
|
+
* string, the other way. Moreover, the position maps should be filled with
|
142
|
+
* valid entries.
|
143
|
+
*
|
144
|
+
* A position map pointing to a removed character is filled with \-1. By the
|
145
|
+
* way, you should not use embedding_levels if str is visual string.
|
146
|
+
*
|
147
|
+
* For best results this function should be run on a whole paragraph, not
|
148
|
+
* lines; but feel free to do otherwise if you know what you are doing.
|
149
|
+
* Deprecated. Use fribidi_remove_special_chars instead.
|
150
|
+
*
|
151
|
+
* Returns: New length of the string, or \-1 if an error occurred (memory
|
152
|
+
* allocation failure most probably).
|
153
|
+
*/
|
154
|
+
FRIBIDI_ENTRY FriBidiStrIndex
|
155
|
+
fribidi_remove_bidi_marks (
|
156
|
+
FriBidiChar *str, /* input string to clean */
|
157
|
+
const FriBidiStrIndex len, /* input string length */
|
158
|
+
FriBidiStrIndex *positions_to_this, /* list mapping positions to the
|
159
|
+
order used in str */
|
160
|
+
FriBidiStrIndex *position_from_this_list, /* list mapping positions from the
|
161
|
+
order used in str */
|
162
|
+
FriBidiLevel *embedding_levels /* list of embedding levels */
|
163
|
+
)
|
164
|
+
FRIBIDI_GNUC_WARN_UNUSED FRIBIDI_GNUC_DEPRECATED;
|
165
|
+
|
166
|
+
|
167
|
+
/* fribidi_log2vis - get visual string
|
168
|
+
*
|
169
|
+
* This function converts the logical input string to the visual output
|
170
|
+
* strings as specified by the Unicode Bidirectional Algorithm. As a side
|
171
|
+
* effect it also generates mapping lists between the two strings, and the
|
172
|
+
* list of embedding levels as defined by the algorithm.
|
173
|
+
*
|
174
|
+
* If NULL is passed as any of the the lists, the list is ignored and not
|
175
|
+
* filled.
|
176
|
+
*
|
177
|
+
* This function is obsolete because it only handles one-line paragraphs.
|
178
|
+
* Please consider using other functions instead. Deprecated.
|
179
|
+
*
|
180
|
+
* Returns: Maximum level found plus one, or zero if any error occurred
|
181
|
+
* (memory allocation failure most probably).
|
182
|
+
*/
|
183
|
+
FRIBIDI_ENTRY FriBidiLevel fribidi_log2vis (
|
184
|
+
const FriBidiChar *str, /* input logical string */
|
185
|
+
const FriBidiStrIndex len, /* input string length */
|
186
|
+
FriBidiParType *pbase_dir, /* requested and resolved paragraph
|
187
|
+
* base direction */
|
188
|
+
FriBidiChar *visual_str, /* output visual string */
|
189
|
+
FriBidiStrIndex *positions_L_to_V, /* output mapping from logical to
|
190
|
+
* visual string positions */
|
191
|
+
FriBidiStrIndex *positions_V_to_L, /* output mapping from visual string
|
192
|
+
* back to the logical string
|
193
|
+
* positions */
|
194
|
+
FriBidiLevel *embedding_levels /* output list of embedding levels */
|
195
|
+
)
|
196
|
+
FRIBIDI_GNUC_WARN_UNUSED FRIBIDI_GNUC_DEPRECATED;
|
197
|
+
|
198
|
+
|
199
|
+
/* fribidi_get_par_embedding_levels - get bidi embedding levels of a paragraph
|
200
|
+
*
|
201
|
+
* Deprecated interface to fribidi_get_par_embedding_levels_ex(). Refer to
|
202
|
+
* it for documentation.
|
203
|
+
*/
|
204
|
+
FRIBIDI_ENTRY FriBidiLevel
|
205
|
+
fribidi_get_par_embedding_levels (
|
206
|
+
const FriBidiCharType *bidi_types, /* input list of bidi types as returned by
|
207
|
+
fribidi_get_bidi_types() */
|
208
|
+
const FriBidiStrIndex len, /* input string length of the paragraph */
|
209
|
+
FriBidiParType *pbase_dir, /* requested and resolved paragraph
|
210
|
+
* base direction */
|
211
|
+
FriBidiLevel *embedding_levels /* output list of embedding levels */
|
212
|
+
)
|
213
|
+
FRIBIDI_GNUC_WARN_UNUSED FRIBIDI_GNUC_DEPRECATED;
|
214
|
+
|
215
|
+
#define UNI_MAX_BIDI_LEVEL FRIBIDI_BIDI_MAX_EXPLICIT_LEVEL
|
216
|
+
#define UNI_LRM FRIBIDI_CHAR_LRM
|
217
|
+
#define UNI_RLM FRIBIDI_CHAR_RLM
|
218
|
+
#define UNI_LRE FRIBIDI_CHAR_LRE
|
219
|
+
#define UNI_RLE FRIBIDI_CHAR_RLE
|
220
|
+
#define UNI_LRO FRIBIDI_CHAR_LRO
|
221
|
+
#define UNI_RLO FRIBIDI_CHAR_RLO
|
222
|
+
#define UNI_LS FRIBIDI_CHAR_LS
|
223
|
+
#define UNI_PS FRIBIDI_CHAR_PS
|
224
|
+
#define UNI_ZWNJ FRIBIDI_CHAR_ZWNJ
|
225
|
+
#define UNI_ZWJ FRIBIDI_CHAR_ZWJ
|
226
|
+
#define UNI_HEBREW_ALEF FRIBIDI_CHAR_HEBREW_ALEF
|
227
|
+
#define UNI_ARABIC_ALEF FRIBIDI_CHAR_ARABIC_ALEF
|
228
|
+
#define UNI_ARABIC_ZERO FRIBIDI_CHAR_ARABIC_ZERO
|
229
|
+
#define UNI_FARSI_ZERO FRIBIDI_CHAR_PERSIAN_ZERO
|
230
|
+
|
231
|
+
#define FRIBIDI_TYPE_WL FRIBIDI_PAR_WLTR
|
232
|
+
#define FRIBIDI_TYPE_WR FRIBIDI_PAR_WRTL
|
233
|
+
#define FRIBIDI_TYPE_L FRIBIDI_PAR_LTR
|
234
|
+
#define FRIBIDI_TYPE_R FRIBIDI_PAR_RTL
|
235
|
+
#define FRIBIDI_TYPE_N FRIBIDI_PAR_ON
|
236
|
+
#define FRIBIDI_TYPE_B FRIBIDI_TYPE_BS
|
237
|
+
#define FRIBIDI_TYPE_S FRIBIDI_TYPE_SS
|
238
|
+
|
239
|
+
#include "fribidi-enddecls.h"
|
240
|
+
|
241
|
+
#endif /* !_FRIBIDI_DEPRECATED_H */
|
242
|
+
/* Editor directions:
|
243
|
+
* vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
|
244
|
+
*/
|
@@ -0,0 +1,72 @@
|
|
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
|
+
*/
|
@@ -0,0 +1,44 @@
|
|
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 */
|
@@ -0,0 +1,249 @@
|
|
1
|
+
/* FriBidi
|
2
|
+
* fribidi-joining-types.h - character joining 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_JOINING_TYPES_H
|
28
|
+
#define _FRIBIDI_JOINING_TYPES_H
|
29
|
+
|
30
|
+
#include "fribidi-common.h"
|
31
|
+
|
32
|
+
#include "fribidi-types.h"
|
33
|
+
|
34
|
+
#include "fribidi-begindecls.h"
|
35
|
+
|
36
|
+
/*
|
37
|
+
* Define bit masks that joining types are based on, each mask has
|
38
|
+
* only one bit set.
|
39
|
+
*/
|
40
|
+
|
41
|
+
#define FRIBIDI_MASK_JOINS_RIGHT 0x01 /* May join to right */
|
42
|
+
#define FRIBIDI_MASK_JOINS_LEFT 0x02 /* May join to right */
|
43
|
+
#define FRIBIDI_MASK_ARAB_SHAPES 0x04 /* May Arabic shape */
|
44
|
+
#define FRIBIDI_MASK_TRANSPARENT 0x08 /* Is transparent */
|
45
|
+
#define FRIBIDI_MASK_IGNORED 0x10 /* Is ignored */
|
46
|
+
#define FRIBIDI_MASK_LIGATURED 0x20 /* Is ligatured */
|
47
|
+
|
48
|
+
/*
|
49
|
+
* Define values for FriBidiJoiningType
|
50
|
+
*/
|
51
|
+
|
52
|
+
/* nUn-joining */
|
53
|
+
#define FRIBIDI_JOINING_TYPE_U_VAL ( 0 )
|
54
|
+
|
55
|
+
/* Right-joining */
|
56
|
+
#define FRIBIDI_JOINING_TYPE_R_VAL \
|
57
|
+
( FRIBIDI_MASK_JOINS_RIGHT | FRIBIDI_MASK_ARAB_SHAPES )
|
58
|
+
|
59
|
+
/* Dual-joining */
|
60
|
+
#define FRIBIDI_JOINING_TYPE_D_VAL \
|
61
|
+
( FRIBIDI_MASK_JOINS_RIGHT | FRIBIDI_MASK_JOINS_LEFT \
|
62
|
+
| FRIBIDI_MASK_ARAB_SHAPES )
|
63
|
+
|
64
|
+
/* join-Causing */
|
65
|
+
#define FRIBIDI_JOINING_TYPE_C_VAL \
|
66
|
+
( FRIBIDI_MASK_JOINS_RIGHT | FRIBIDI_MASK_JOINS_LEFT )
|
67
|
+
|
68
|
+
/* Left-joining */
|
69
|
+
#define FRIBIDI_JOINING_TYPE_L_VAL \
|
70
|
+
( FRIBIDI_MASK_JOINS_LEFT | FRIBIDI_MASK_ARAB_SHAPES )
|
71
|
+
|
72
|
+
/* Transparent */
|
73
|
+
#define FRIBIDI_JOINING_TYPE_T_VAL \
|
74
|
+
( FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_ARAB_SHAPES )
|
75
|
+
|
76
|
+
/* iGnored */
|
77
|
+
#define FRIBIDI_JOINING_TYPE_G_VAL ( FRIBIDI_MASK_IGNORED )
|
78
|
+
|
79
|
+
|
80
|
+
enum _FriBidiJoiningTypeEnum
|
81
|
+
{
|
82
|
+
# define _FRIBIDI_ADD_TYPE(TYPE,SYMBOL) \
|
83
|
+
FRIBIDI_JOINING_TYPE_##TYPE = FRIBIDI_JOINING_TYPE_##TYPE##_VAL,
|
84
|
+
# include "fribidi-joining-types-list.h"
|
85
|
+
# undef _FRIBIDI_ADD_TYPE
|
86
|
+
_FRIBIDI_JOINING_TYPE_JUNK /* Don't use this */
|
87
|
+
};
|
88
|
+
|
89
|
+
#ifdef __FRIBIDI_DOC
|
90
|
+
typedef enum _FriBidiJoiningTypeEnum FriBidiJoiningType;
|
91
|
+
#else /* !__FRIBIDI_DOC */
|
92
|
+
typedef uint8_t FriBidiJoiningType;
|
93
|
+
#endif /* !__FRIBIDI_DOC */
|
94
|
+
|
95
|
+
/* FriBidiArabicProp is essentially the same type as FriBidiJoiningType, but
|
96
|
+
* not limited to the few values returned by fribidi_get_joining_type. */
|
97
|
+
typedef uint8_t FriBidiArabicProp;
|
98
|
+
|
99
|
+
/*
|
100
|
+
* The equivalent of JoiningType values for ArabicProp
|
101
|
+
*/
|
102
|
+
|
103
|
+
/* Primary Arabic Joining Classes (Table 8-2) */
|
104
|
+
|
105
|
+
/* nUn-joining */
|
106
|
+
#define FRIBIDI_IS_JOINING_TYPE_U(p) \
|
107
|
+
( 0 == ( (p) & \
|
108
|
+
( FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_IGNORED \
|
109
|
+
| FRIBIDI_MASK_JOINS_RIGHT | FRIBIDI_MASK_JOINS_LEFT ) ) )
|
110
|
+
|
111
|
+
/* Right-joining */
|
112
|
+
#define FRIBIDI_IS_JOINING_TYPE_R(p) \
|
113
|
+
( FRIBIDI_MASK_JOINS_RIGHT == ( (p) & \
|
114
|
+
( FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_IGNORED \
|
115
|
+
| FRIBIDI_MASK_JOINS_RIGHT | FRIBIDI_MASK_JOINS_LEFT ) ) )
|
116
|
+
|
117
|
+
/* Dual-joining */
|
118
|
+
#define FRIBIDI_IS_JOINING_TYPE_D(p) \
|
119
|
+
( ( FRIBIDI_MASK_JOINS_RIGHT | FRIBIDI_MASK_JOINS_LEFT \
|
120
|
+
| FRIBIDI_MASK_ARAB_SHAPES ) == ( (p) & \
|
121
|
+
( FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_IGNORED \
|
122
|
+
| FRIBIDI_MASK_JOINS_RIGHT | FRIBIDI_MASK_JOINS_LEFT \
|
123
|
+
| FRIBIDI_MASK_ARAB_SHAPES ) ) )
|
124
|
+
|
125
|
+
/* join-Causing */
|
126
|
+
#define FRIBIDI_IS_JOINING_TYPE_C(p) \
|
127
|
+
( ( FRIBIDI_MASK_JOINS_RIGHT | FRIBIDI_MASK_JOINS_LEFT ) == ( (p) & \
|
128
|
+
( FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_IGNORED \
|
129
|
+
| FRIBIDI_MASK_JOINS_RIGHT | FRIBIDI_MASK_JOINS_LEFT \
|
130
|
+
| FRIBIDI_MASK_ARAB_SHAPES ) ) )
|
131
|
+
|
132
|
+
/* Left-joining */
|
133
|
+
#define FRIBIDI_IS_JOINING_TYPE_L(p) \
|
134
|
+
( FRIBIDI_MASK_JOINS_LEFT == ( (p) & \
|
135
|
+
( FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_IGNORED \
|
136
|
+
| FRIBIDI_MASK_JOINS_RIGHT | FRIBIDI_MASK_JOINS_LEFT ) ) )
|
137
|
+
|
138
|
+
/* Transparent */
|
139
|
+
#define FRIBIDI_IS_JOINING_TYPE_T(p) \
|
140
|
+
( FRIBIDI_MASK_TRANSPARENT == ( (p) & \
|
141
|
+
( FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_IGNORED ) ) )
|
142
|
+
|
143
|
+
/* iGnored */
|
144
|
+
#define FRIBIDI_IS_JOINING_TYPE_G(p) \
|
145
|
+
( FRIBIDI_MASK_IGNORED == ( (p) & \
|
146
|
+
( FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_IGNORED ) ) )
|
147
|
+
|
148
|
+
/* and for Derived Arabic Joining Classes (Table 8-3) */
|
149
|
+
|
150
|
+
/* Right join-Causing */
|
151
|
+
#define FRIBIDI_IS_JOINING_TYPE_RC(p) \
|
152
|
+
( FRIBIDI_MASK_JOINS_RIGHT == ( (p) & \
|
153
|
+
( FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_IGNORED \
|
154
|
+
| FRIBIDI_MASK_JOINS_RIGHT ) ) )
|
155
|
+
|
156
|
+
/* Left join-Causing */
|
157
|
+
#define FRIBIDI_IS_JOINING_TYPE_LC(p) \
|
158
|
+
( FRIBIDI_MASK_JOINS_LEFT == ( (p) & \
|
159
|
+
( FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_IGNORED \
|
160
|
+
| FRIBIDI_MASK_JOINS_LEFT ) ) )
|
161
|
+
|
162
|
+
|
163
|
+
/*
|
164
|
+
* Defining macros for needed queries, It is fully dependent on the
|
165
|
+
* implementation of FriBidiJoiningType.
|
166
|
+
*/
|
167
|
+
|
168
|
+
/* Joins to right: R, D, C? */
|
169
|
+
#define FRIBIDI_JOINS_RIGHT(p) ((p) & FRIBIDI_MASK_JOINS_RIGHT)
|
170
|
+
|
171
|
+
/* Joins to left: L, D, C? */
|
172
|
+
#define FRIBIDI_JOINS_LEFT(p) ((p) & FRIBIDI_MASK_JOINS_LEFT)
|
173
|
+
|
174
|
+
/* May shape: R, D, L, T? */
|
175
|
+
#define FRIBIDI_ARAB_SHAPES(p) ((p) & FRIBIDI_MASK_ARAB_SHAPES)
|
176
|
+
|
177
|
+
/* Is skipped in joining: T, G? */
|
178
|
+
#define FRIBIDI_IS_JOIN_SKIPPED(p) \
|
179
|
+
((p) & (FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_IGNORED))
|
180
|
+
|
181
|
+
/* Is base that will be shaped: R, D, L? */
|
182
|
+
#define FRIBIDI_IS_JOIN_BASE_SHAPES(p) \
|
183
|
+
( FRIBIDI_MASK_ARAB_SHAPES == ( (p) & \
|
184
|
+
( FRIBIDI_MASK_TRANSPARENT | FRIBIDI_MASK_IGNORED \
|
185
|
+
| FRIBIDI_MASK_ARAB_SHAPES ) ) )
|
186
|
+
|
187
|
+
#define FRIBIDI_JOINS_PRECEDING_MASK(level) \
|
188
|
+
(FRIBIDI_LEVEL_IS_RTL (level) ? FRIBIDI_MASK_JOINS_RIGHT \
|
189
|
+
: FRIBIDI_MASK_JOINS_LEFT)
|
190
|
+
|
191
|
+
#define FRIBIDI_JOINS_FOLLOWING_MASK(level) \
|
192
|
+
(FRIBIDI_LEVEL_IS_RTL (level) ? FRIBIDI_MASK_JOINS_LEFT \
|
193
|
+
: FRIBIDI_MASK_JOINS_RIGHT)
|
194
|
+
|
195
|
+
#define FRIBIDI_JOIN_SHAPE(p) \
|
196
|
+
((p) & ( FRIBIDI_MASK_JOINS_RIGHT | FRIBIDI_MASK_JOINS_LEFT ))
|
197
|
+
|
198
|
+
/* Functions finally */
|
199
|
+
|
200
|
+
|
201
|
+
/* fribidi_get_joining_type - get character joining type
|
202
|
+
*
|
203
|
+
* This function returns the joining type of a character as defined in Table
|
204
|
+
* 8-2 Primary Arabic Joining Classes of the Unicode standard available at
|
205
|
+
* http://www.unicode.org/versions/Unicode4.0.0/ch08.pdf#G7462, using data
|
206
|
+
* provided in file ArabicShaping.txt and UnicodeData.txt of the Unicode
|
207
|
+
* Character Database available at
|
208
|
+
* http://www.unicode.org/Public/UNIDATA/ArabicShaping.txt and
|
209
|
+
* http://www.unicode.org/Public/UNIDATA/UnicodeData.txt.
|
210
|
+
*
|
211
|
+
* There are a few macros defined in fribidi-joining-types.h for querying a
|
212
|
+
* joining type.
|
213
|
+
*/
|
214
|
+
FRIBIDI_ENTRY FriBidiJoiningType
|
215
|
+
fribidi_get_joining_type (
|
216
|
+
FriBidiChar ch /* input character */
|
217
|
+
) FRIBIDI_GNUC_CONST;
|
218
|
+
|
219
|
+
/* fribidi_get_joining_types - get joining types for an string of characters
|
220
|
+
*
|
221
|
+
* This function finds the joining types of an string of characters. See
|
222
|
+
* fribidi_get_joining_type for more information about the joining types
|
223
|
+
* returned by this function.
|
224
|
+
*/
|
225
|
+
FRIBIDI_ENTRY void fribidi_get_joining_types (
|
226
|
+
const FriBidiChar *str, /* input string */
|
227
|
+
const FriBidiStrIndex len, /* input string length */
|
228
|
+
FriBidiJoiningType *jtypes /* output joining types */
|
229
|
+
);
|
230
|
+
|
231
|
+
/* fribidi_get_joining_type_name - get joining type name
|
232
|
+
*
|
233
|
+
* This function returns the joining type name of a joining type. The
|
234
|
+
* returned string is a static string and should not be freed.
|
235
|
+
*
|
236
|
+
* The type names are the same as ones defined in Table 8-2 Primary Arabic
|
237
|
+
* Joining Classes of the Unicode standard available at
|
238
|
+
* http://www.unicode.org/versions/Unicode4.0.0/ch08.pdf#G7462.
|
239
|
+
*/
|
240
|
+
FRIBIDI_ENTRY const char *fribidi_get_joining_type_name (
|
241
|
+
FriBidiJoiningType j /* input joining type */
|
242
|
+
) FRIBIDI_GNUC_CONST;
|
243
|
+
|
244
|
+
#include "fribidi-enddecls.h"
|
245
|
+
|
246
|
+
#endif /* !_FRIBIDI_JOINING_TYPES_H */
|
247
|
+
/* Editor directions:
|
248
|
+
* vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
|
249
|
+
*/
|