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
@@ -0,0 +1,142 @@
|
|
1
|
+
/* FriBidi
|
2
|
+
* fribidi-bidi.h - bidirectional algorithm
|
3
|
+
*
|
4
|
+
* Authors:
|
5
|
+
* Behdad Esfahbod, 2001, 2002, 2004
|
6
|
+
* Dov Grobgeld, 1999, 2000
|
7
|
+
*
|
8
|
+
* Copyright (C) 2004 Sharif FarsiWeb, Inc
|
9
|
+
* Copyright (C) 2001,2002 Behdad Esfahbod
|
10
|
+
* Copyright (C) 1999,2000 Dov Grobgeld
|
11
|
+
*
|
12
|
+
* This library is free software; you can redistribute it and/or
|
13
|
+
* modify it under the terms of the GNU Lesser General Public
|
14
|
+
* License as published by the Free Software Foundation; either
|
15
|
+
* version 2.1 of the License, or (at your option) any later version.
|
16
|
+
*
|
17
|
+
* This library is distributed in the hope that it will be useful,
|
18
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
20
|
+
* Lesser General Public License for more details.
|
21
|
+
*
|
22
|
+
* You should have received a copy of the GNU Lesser General Public License
|
23
|
+
* along with this library, in a file named COPYING; if not, write to the
|
24
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
25
|
+
* Boston, MA 02110-1301, USA
|
26
|
+
*
|
27
|
+
* For licensing issues, contact <fribidi.license@gmail.com>.
|
28
|
+
*/
|
29
|
+
#ifndef _FRIBIDI_BIDI_H
|
30
|
+
#define _FRIBIDI_BIDI_H
|
31
|
+
|
32
|
+
#include "fribidi-common.h"
|
33
|
+
|
34
|
+
#include "fribidi-types.h"
|
35
|
+
#include "fribidi-flags.h"
|
36
|
+
#include "fribidi-bidi-types.h"
|
37
|
+
|
38
|
+
#include "fribidi-begindecls.h"
|
39
|
+
|
40
|
+
/* fribidi_get_par_direction - get base paragraph direction
|
41
|
+
*
|
42
|
+
* This function finds the base direction of a single paragraph,
|
43
|
+
* as defined by rule P2 of the Unicode Bidirectional Algorithm available at
|
44
|
+
* http://www.unicode.org/reports/tr9/#P2.
|
45
|
+
*
|
46
|
+
* You typically do not need this function as
|
47
|
+
* fribidi_get_par_embedding_levels() knows how to compute base direction
|
48
|
+
* itself, but you may need this to implement a more sophisticated paragraph
|
49
|
+
* direction handling. Note that you can pass more than a paragraph to this
|
50
|
+
* function and the direction of the first non-neutral paragraph is returned,
|
51
|
+
* which is a very good heuristic to set direction of the neutral paragraphs
|
52
|
+
* at the beginning of text. For other neutral paragraphs, you better use the
|
53
|
+
* direction of the previous paragraph.
|
54
|
+
*
|
55
|
+
* Returns: Base pargraph direction. No weak paragraph direction is returned,
|
56
|
+
* only LTR, RTL, or ON.
|
57
|
+
*/
|
58
|
+
FRIBIDI_ENTRY FriBidiParType fribidi_get_par_direction (
|
59
|
+
const FriBidiCharType *bidi_types, /* input list of bidi types as returned by
|
60
|
+
fribidi_get_bidi_types() */
|
61
|
+
const FriBidiStrIndex len /* input string length */
|
62
|
+
);
|
63
|
+
|
64
|
+
/* fribidi_get_par_embedding_levels_ex - get bidi embedding levels of a paragraph
|
65
|
+
*
|
66
|
+
* This function finds the bidi embedding levels of a single paragraph,
|
67
|
+
* as defined by the Unicode Bidirectional Algorithm available at
|
68
|
+
* http://www.unicode.org/reports/tr9/. This function implements rules P2 to
|
69
|
+
* I1 inclusive, and parts 1 to 3 of L1, except for rule X9 which is
|
70
|
+
* implemented in fribidi_remove_bidi_marks(). Part 4 of L1 is implemented
|
71
|
+
* in fribidi_reorder_line().
|
72
|
+
*
|
73
|
+
* There are a few macros defined in fribidi-bidi-types.h to work with this
|
74
|
+
* embedding levels.
|
75
|
+
*
|
76
|
+
* Returns: Maximum level found plus one, or zero if any error occurred
|
77
|
+
* (memory allocation failure most probably).
|
78
|
+
*/
|
79
|
+
FRIBIDI_ENTRY FriBidiLevel
|
80
|
+
fribidi_get_par_embedding_levels_ex (
|
81
|
+
const FriBidiCharType *bidi_types, /* input list of bidi types as returned by
|
82
|
+
fribidi_get_bidi_types() */
|
83
|
+
const FriBidiBracketType *bracket_types, /* input list of bracket types as returned by
|
84
|
+
fribidi_get_bracket_types() */
|
85
|
+
const FriBidiStrIndex len, /* input string length of the paragraph */
|
86
|
+
FriBidiParType *pbase_dir, /* requested and resolved paragraph
|
87
|
+
* base direction */
|
88
|
+
FriBidiLevel *embedding_levels /* output list of embedding levels */
|
89
|
+
) FRIBIDI_GNUC_WARN_UNUSED;
|
90
|
+
|
91
|
+
/* fribidi_reorder_line - reorder a line of logical string to visual
|
92
|
+
*
|
93
|
+
* This function reorders the characters in a line of text from logical to
|
94
|
+
* final visual order. This function implements part 4 of rule L1, and rules
|
95
|
+
* L2 and L3 of the Unicode Bidirectional Algorithm available at
|
96
|
+
* http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels.
|
97
|
+
*
|
98
|
+
* As a side effect it also sets position maps if not NULL.
|
99
|
+
*
|
100
|
+
* You should provide the resolved paragraph direction and embedding levels as
|
101
|
+
* set by fribidi_get_par_embedding_levels(). Also note that the embedding
|
102
|
+
* levels may change a bit. To be exact, the embedding level of any sequence
|
103
|
+
* of white space at the end of line is reset to the paragraph embedding level
|
104
|
+
* (That is part 4 of rule L1).
|
105
|
+
*
|
106
|
+
* Note that the bidi types and embedding levels are not reordered. You can
|
107
|
+
* reorder these (or any other) arrays using the map later. The user is
|
108
|
+
* responsible to initialize map to something sensible, like an identity
|
109
|
+
* mapping, or pass NULL if no map is needed.
|
110
|
+
*
|
111
|
+
* There is an optional part to this function, which is whether non-spacing
|
112
|
+
* marks for right-to-left parts of the text should be reordered to come after
|
113
|
+
* their base characters in the visual string or not. Most rendering engines
|
114
|
+
* expect this behavior, but console-based systems for example do not like it.
|
115
|
+
* This is controlled by the FRIBIDI_FLAG_REORDER_NSM flag. The flag is on
|
116
|
+
* in FRIBIDI_FLAGS_DEFAULT.
|
117
|
+
*
|
118
|
+
* Returns: Maximum level found in this line plus one, or zero if any error
|
119
|
+
* occurred (memory allocation failure most probably).
|
120
|
+
*/
|
121
|
+
FRIBIDI_ENTRY FriBidiLevel fribidi_reorder_line (
|
122
|
+
FriBidiFlags flags, /* reorder flags */
|
123
|
+
const FriBidiCharType *bidi_types, /* input list of bidi types as returned by
|
124
|
+
fribidi_get_bidi_types() */
|
125
|
+
const FriBidiStrIndex len, /* input length of the line */
|
126
|
+
const FriBidiStrIndex off, /* input offset of the beginning of the line
|
127
|
+
in the paragraph */
|
128
|
+
const FriBidiParType base_dir, /* resolved paragraph base direction */
|
129
|
+
FriBidiLevel *embedding_levels, /* input list of embedding levels,
|
130
|
+
as returned by
|
131
|
+
fribidi_get_par_embedding_levels */
|
132
|
+
FriBidiChar *visual_str, /* visual string to reorder */
|
133
|
+
FriBidiStrIndex *map /* a map of string indices which is reordered
|
134
|
+
* to reflect where each glyph ends up. */
|
135
|
+
) FRIBIDI_GNUC_WARN_UNUSED;
|
136
|
+
|
137
|
+
#include "fribidi-enddecls.h"
|
138
|
+
|
139
|
+
#endif /* !_FRIBIDI_BIDI_H */
|
140
|
+
/* Editor directions:
|
141
|
+
* vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
|
142
|
+
*/
|
@@ -0,0 +1,89 @@
|
|
1
|
+
/* fribidi-brackets.h - get bracket character property
|
2
|
+
*
|
3
|
+
* Copyright (C) 2004 Sharif FarsiWeb, Inc
|
4
|
+
* Copyright (C) 2001, 2002, 2004 Behdad Esfahbod
|
5
|
+
* Copyright (C) 1999, 2000, 2017 Dov Grobgeld
|
6
|
+
*
|
7
|
+
* This file is part of GNU FriBidi.
|
8
|
+
*
|
9
|
+
* GNU FriBidi is free software; you can redistribute it and/or
|
10
|
+
* modify it under the terms of the GNU Lesser General Public License
|
11
|
+
* as published by the Free Software Foundation; either version 2.1
|
12
|
+
* of the License, or (at your option) any later version.
|
13
|
+
*
|
14
|
+
* GNU FriBidi 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
|
17
|
+
* GNU 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 GNU FriBidi; if not, write to the Free Software
|
21
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
22
|
+
*
|
23
|
+
* For licensing issues, contact <fribidi.license@gmail.com> or write to
|
24
|
+
* Sharif FarsiWeb, Inc., PO Box 13445-389, Tehran, Iran.
|
25
|
+
*
|
26
|
+
* Author(s):
|
27
|
+
* Behdad Esfahbod, 2001, 2002, 2004
|
28
|
+
* Dov Grobgeld, 1999, 2000, 2017
|
29
|
+
*/
|
30
|
+
#ifndef _FRIBIDI_BRACKETS_H
|
31
|
+
#define _FRIBIDI_BRACKETS_H
|
32
|
+
|
33
|
+
#include "fribidi-common.h"
|
34
|
+
|
35
|
+
#include "fribidi-types.h"
|
36
|
+
#include "fribidi-bidi-types.h"
|
37
|
+
|
38
|
+
#include "fribidi-begindecls.h"
|
39
|
+
|
40
|
+
/* fribidi_get_bracket - get bracketed character
|
41
|
+
*
|
42
|
+
* This function finds the bracketed equivalent of a character as defined in
|
43
|
+
* the file BidiBrackets.txt of the Unicode Character Database available at
|
44
|
+
* http://www.unicode.org/Public/UNIDATA/BidiBrackets.txt.
|
45
|
+
*
|
46
|
+
* If the input character is a declared as a brackets character in the
|
47
|
+
* Unicode standard and has a bracketed equivalent. The matching bracketed
|
48
|
+
* character is put in the output, otherwise the input character itself is
|
49
|
+
* put.
|
50
|
+
*
|
51
|
+
* Returns: The bracket type of the character. Use the
|
52
|
+
* FRIBIDI_IS_BRACKET(FriBidiBracketType) to test if it is a valid
|
53
|
+
* property.
|
54
|
+
*/
|
55
|
+
FRIBIDI_ENTRY FriBidiBracketType fribidi_get_bracket (
|
56
|
+
FriBidiChar ch /* input character */
|
57
|
+
);
|
58
|
+
|
59
|
+
/* fribidi_get_bracket_types - get bracketed characters
|
60
|
+
*
|
61
|
+
* This function finds the bracketed characters of an string of characters.
|
62
|
+
* See fribidi_get_bracket() for more information about the bracketed
|
63
|
+
* characters returned by this function.
|
64
|
+
*/
|
65
|
+
FRIBIDI_ENTRY void
|
66
|
+
fribidi_get_bracket_types (
|
67
|
+
const FriBidiChar *str, /* input string */
|
68
|
+
const FriBidiStrIndex len, /* input string length */
|
69
|
+
const FriBidiCharType *types, /* input bidi types */
|
70
|
+
FriBidiBracketType *btypes /* output bracketed characters */
|
71
|
+
);
|
72
|
+
|
73
|
+
#define FRIBIDI_BRACKET_OPEN_MASK 0x80000000
|
74
|
+
#define FRIBIDI_BRACKET_ID_MASK 0x7fffffff
|
75
|
+
#define FRIBIDI_IS_BRACKET_OPEN(bt) ((bt & FRIBIDI_BRACKET_OPEN_MASK)>0)
|
76
|
+
#define FRIBIDI_BRACKET_ID(bt) ((bt & FRIBIDI_BRACKET_ID_MASK))
|
77
|
+
|
78
|
+
#include "fribidi-enddecls.h"
|
79
|
+
|
80
|
+
#endif /* !_FRIBIDI_BRACKETS_H */
|
81
|
+
/* Editor directions:
|
82
|
+
* Local Variables:
|
83
|
+
* mode: c
|
84
|
+
* c-basic-offset: 2
|
85
|
+
* indent-tabs-mode: t
|
86
|
+
* tab-width: 8
|
87
|
+
* End:
|
88
|
+
* vim: textwidth=78: autoindent: cindent: shiftwidth=2: tabstop=8:
|
89
|
+
*/
|
@@ -0,0 +1,54 @@
|
|
1
|
+
#ifndef __FRIBIDI_DOC
|
2
|
+
/* FriBidi
|
3
|
+
* fribidi-char-sets-list.h - list of supported character sets
|
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
|
+
|
30
|
+
/* The order of types in this list should not be important at compile time,
|
31
|
+
* but apparently it should not be changed after compilation! */
|
32
|
+
#endif /* !__FRIBIDI_DOC */
|
33
|
+
#ifdef _FRIBIDI_ADD_CHAR_SET
|
34
|
+
# define _FRIBIDI_ADD_CHAR_SET_OTHERS _FRIBIDI_ADD_CHAR_SET
|
35
|
+
# define _FRIBIDI_ADD_CHAR_SET_ONE2ONE _FRIBIDI_ADD_CHAR_SET
|
36
|
+
#endif /* _FRIBIDI_ADD_CHAR_SET */
|
37
|
+
#ifdef _FRIBIDI_ADD_CHAR_SET_OTHERS
|
38
|
+
_FRIBIDI_ADD_CHAR_SET_OTHERS (UTF8, utf8) /* UTF-8 (Unicode) */
|
39
|
+
_FRIBIDI_ADD_CHAR_SET_OTHERS (CAP_RTL, cap_rtl) /* CapRTL (Test) */
|
40
|
+
#endif /* _FRIBIDI_ADD_CHAR_SET_OTHERS */
|
41
|
+
#ifdef _FRIBIDI_ADD_CHAR_SET_ONE2ONE
|
42
|
+
_FRIBIDI_ADD_CHAR_SET_ONE2ONE (ISO8859_6, iso8859_6) /* ISO8859-6 (Arabic) */
|
43
|
+
_FRIBIDI_ADD_CHAR_SET_ONE2ONE (ISO8859_8, iso8859_8) /* ISO8859-8 (Hebrew) */
|
44
|
+
_FRIBIDI_ADD_CHAR_SET_ONE2ONE (CP1255, cp1255) /* CP1255 (MS Hebrew/Yiddish) */
|
45
|
+
_FRIBIDI_ADD_CHAR_SET_ONE2ONE (CP1256, cp1256) /* CP1256 (MS Arabic) */
|
46
|
+
#endif /* _FRIBIDI_ADD_CHAR_SET_ONE2ONE */
|
47
|
+
#ifdef _FRIBIDI_ADD_CHAR_SET
|
48
|
+
# undef _FRIBIDI_ADD_CHAR_SET_OTHERS
|
49
|
+
# undef _FRIBIDI_ADD_CHAR_SET_ONE2ONE
|
50
|
+
#endif /* _FRIBIDI_ADD_CHAR_SET */
|
51
|
+
|
52
|
+
#ifndef __FRIBIDI_DOC
|
53
|
+
/* *INDENT-ON* */
|
54
|
+
#endif /* !__FRIBIDI_DOC */
|
@@ -0,0 +1,106 @@
|
|
1
|
+
/* FriBidi
|
2
|
+
* fribidi-char-sets.h - character set conversion routines
|
3
|
+
*
|
4
|
+
* Authors:
|
5
|
+
* Behdad Esfahbod, 2001, 2002, 2004
|
6
|
+
* Dov Grobgeld, 1999, 2000
|
7
|
+
*
|
8
|
+
* Copyright (C) 2004 Sharif FarsiWeb, Inc
|
9
|
+
* Copyright (C) 2001,2002 Behdad Esfahbod
|
10
|
+
* Copyright (C) 1999,2000 Dov Grobgeld
|
11
|
+
*
|
12
|
+
* This library is free software; you can redistribute it and/or
|
13
|
+
* modify it under the terms of the GNU Lesser General Public
|
14
|
+
* License as published by the Free Software Foundation; either
|
15
|
+
* version 2.1 of the License, or (at your option) any later version.
|
16
|
+
*
|
17
|
+
* This library is distributed in the hope that it will be useful,
|
18
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
20
|
+
* Lesser General Public License for more details.
|
21
|
+
*
|
22
|
+
* You should have received a copy of the GNU Lesser General Public License
|
23
|
+
* along with this library, in a file named COPYING; if not, write to the
|
24
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
25
|
+
* Boston, MA 02110-1301, USA
|
26
|
+
*
|
27
|
+
* For licensing issues, contact <fribidi.license@gmail.com>.
|
28
|
+
*/
|
29
|
+
#ifndef _FRIBIDI_CHAR_SETS_H
|
30
|
+
#define _FRIBIDI_CHAR_SETS_H
|
31
|
+
|
32
|
+
#include "fribidi-common.h"
|
33
|
+
|
34
|
+
#include "fribidi-types.h"
|
35
|
+
|
36
|
+
#include "fribidi-begindecls.h"
|
37
|
+
|
38
|
+
typedef enum
|
39
|
+
{
|
40
|
+
_FRIBIDI_CHAR_SET_NOT_FOUND,
|
41
|
+
# define _FRIBIDI_ADD_CHAR_SET(CHAR_SET, char_set) FRIBIDI_CHAR_SET_##CHAR_SET,
|
42
|
+
# include "fribidi-char-sets-list.h"
|
43
|
+
# undef _FRIBIDI_ADD_CHAR_SET
|
44
|
+
_FRIBIDI_CHAR_SETS_NUM_PLUS_ONE
|
45
|
+
}
|
46
|
+
FriBidiCharSet;
|
47
|
+
|
48
|
+
#define FRIBIDI_CHAR_SET_NOT_FOUND _FRIBIDI_CHAR_SET_NOT_FOUND
|
49
|
+
#define FRIBIDI_CHAR_SETS_NUM (_FRIBIDI_CHAR_SETS_NUM_PLUS_ONE - 1)
|
50
|
+
|
51
|
+
|
52
|
+
/* fribidi_charset_to_unicode - convert string to Unicode
|
53
|
+
*
|
54
|
+
* This function converts an string from a character set, to a Unicode string.
|
55
|
+
*
|
56
|
+
* Returns: The length of the new string.
|
57
|
+
*/
|
58
|
+
FRIBIDI_ENTRY FriBidiStrIndex fribidi_charset_to_unicode (
|
59
|
+
FriBidiCharSet char_set, /* character set to convert from */
|
60
|
+
const char *s, /* input string encoded in char_set */
|
61
|
+
FriBidiStrIndex len, /* input string length */
|
62
|
+
FriBidiChar *us /* output Unicode string */
|
63
|
+
);
|
64
|
+
|
65
|
+
/* fribidi_unicode_to_charset - convert string from Unicode
|
66
|
+
*
|
67
|
+
* This function converts a Unicode string to an string in another character
|
68
|
+
* set. It also null-terminates the output string.
|
69
|
+
*
|
70
|
+
* Returns: The length of the new string.
|
71
|
+
*/
|
72
|
+
FRIBIDI_ENTRY FriBidiStrIndex fribidi_unicode_to_charset (
|
73
|
+
FriBidiCharSet char_set, /* character set to conver to */
|
74
|
+
const FriBidiChar *us, /* input Unicode string */
|
75
|
+
FriBidiStrIndex len, /* input string length */
|
76
|
+
char *s /* output string encoded in char_set */
|
77
|
+
);
|
78
|
+
|
79
|
+
/* fribidi_parse_charset - parse character set name
|
80
|
+
*
|
81
|
+
* Returns: The character set named s, or FRIBIDI_CHAR_SET_NOT_FOUND if the
|
82
|
+
* character set is not available.
|
83
|
+
*/
|
84
|
+
FRIBIDI_ENTRY FriBidiCharSet fribidi_parse_charset (
|
85
|
+
const char *s /* input name of the character set */
|
86
|
+
);
|
87
|
+
|
88
|
+
|
89
|
+
FRIBIDI_ENTRY const char *fribidi_char_set_name (
|
90
|
+
FriBidiCharSet char_set
|
91
|
+
);
|
92
|
+
|
93
|
+
FRIBIDI_ENTRY const char *fribidi_char_set_title (
|
94
|
+
FriBidiCharSet char_set
|
95
|
+
);
|
96
|
+
|
97
|
+
FRIBIDI_ENTRY const char *fribidi_char_set_desc (
|
98
|
+
FriBidiCharSet char_set
|
99
|
+
);
|
100
|
+
|
101
|
+
#include "fribidi-enddecls.h"
|
102
|
+
|
103
|
+
#endif /* !_FRIBIDI_CHAR_SETS_H */
|
104
|
+
/* Editor directions:
|
105
|
+
* vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
|
106
|
+
*/
|
@@ -0,0 +1,146 @@
|
|
1
|
+
/* FriBidi
|
2
|
+
* fribidi-common.h - common include for library headers
|
3
|
+
*
|
4
|
+
* Author:
|
5
|
+
* Behdad Esfahbod, 2004
|
6
|
+
*
|
7
|
+
* Copyright (C) 2004 Sharif FarsiWeb, Inc.
|
8
|
+
*
|
9
|
+
* This library is free software; you can redistribute it and/or
|
10
|
+
* modify it under the terms of the GNU Lesser General Public
|
11
|
+
* License as published by the Free Software Foundation; either
|
12
|
+
* version 2.1 of the License, or (at your option) any later version.
|
13
|
+
*
|
14
|
+
* This library is distributed in the hope that it will be useful,
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
17
|
+
* Lesser General Public License for more details.
|
18
|
+
*
|
19
|
+
* You should have received a copy of the GNU Lesser General Public License
|
20
|
+
* along with this library, in a file named COPYING; if not, write to the
|
21
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
22
|
+
* Boston, MA 02110-1301, USA
|
23
|
+
*
|
24
|
+
* For licensing issues, contact <fribidi.license@gmail.com>.
|
25
|
+
*/
|
26
|
+
#ifndef _FRIBIDI_COMMON_H
|
27
|
+
#define _FRIBIDI_COMMON_H
|
28
|
+
|
29
|
+
#ifdef DONT_HAVE_FRIBIDI_CONFIG_H
|
30
|
+
# define FRIBIDI "fribidi"
|
31
|
+
# define FRIBIDI_NAME "fribidi"
|
32
|
+
# define FRIBIDI_VERSION "unknown"
|
33
|
+
# define FRIBIDI_BUGREPORT "unknown"
|
34
|
+
# define FRIBIDI_INTERFACE_VERSION_STRING "unknown"
|
35
|
+
#else /* !DONT_HAVE_FRIBIDI_CONFIG_H */
|
36
|
+
# include "fribidi-config.h"
|
37
|
+
#endif /* !DONT_HAVE_FRIBIDI_CONFIG_H */
|
38
|
+
|
39
|
+
#ifdef HAVE_FRIBIDI_CUSTOM_H
|
40
|
+
# include <fribidi-custom.h>
|
41
|
+
#endif /* HAVE_FRIBIDI_CUSTOM_H */
|
42
|
+
|
43
|
+
|
44
|
+
/* FRIBIDI_ENTRY is a macro used to declare library entry points. */
|
45
|
+
#ifndef FRIBIDI_ENTRY
|
46
|
+
# if (defined(_MSC_VER) || defined(FRIBIDI_BUILT_WITH_MSVC)) && !defined(FRIBIDI_STATIC)
|
47
|
+
/* if we're building fribidi itself with MSVC, FRIBIDI_ENTRY will be defined,
|
48
|
+
* so if we're here then this is an external user including fribidi headers.
|
49
|
+
* The dllimport is needed here mostly for the fribidi_version_info variable,
|
50
|
+
* for functions it's not required. Probably needs more fine-tuning if
|
51
|
+
* someone starts building fribidi as static library with MSVC. We'll cross
|
52
|
+
* that brige when we get there. */
|
53
|
+
# define FRIBIDI_ENTRY __declspec(dllimport) extern
|
54
|
+
# else
|
55
|
+
# define FRIBIDI_ENTRY extern
|
56
|
+
# endif
|
57
|
+
#endif /* !FRIBIDI_ENTRY */
|
58
|
+
|
59
|
+
#ifdef __ICC
|
60
|
+
#define FRIBIDI_BEGIN_IGNORE_DEPRECATIONS \
|
61
|
+
_Pragma ("warning (push)") \
|
62
|
+
_Pragma ("warning (disable:1478)")
|
63
|
+
#define FRIBIDI_END_IGNORE_DEPRECATIONS \
|
64
|
+
_Pragma ("warning (pop)")
|
65
|
+
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
|
66
|
+
#define FRIBIDI_BEGIN_IGNORE_DEPRECATIONS \
|
67
|
+
_Pragma ("GCC diagnostic push") \
|
68
|
+
_Pragma ("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
|
69
|
+
#define FRIBIDI_END_IGNORE_DEPRECATIONS \
|
70
|
+
_Pragma ("GCC diagnostic pop")
|
71
|
+
#elif defined (_MSC_VER) && (_MSC_VER >= 1500)
|
72
|
+
#define FRIBIDI_BEGIN_IGNORE_DEPRECATIONS \
|
73
|
+
__pragma (warning (push)) \
|
74
|
+
__pragma (warning (disable : 4996))
|
75
|
+
#define FRIBIDI_END_IGNORE_DEPRECATIONS \
|
76
|
+
__pragma (warning (pop))
|
77
|
+
#elif defined (__clang__)
|
78
|
+
#define FRIBIDI_BEGIN_IGNORE_DEPRECATIONS \
|
79
|
+
_Pragma("clang diagnostic push") \
|
80
|
+
_Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"")
|
81
|
+
#define FRIBIDI_END_IGNORE_DEPRECATIONS \
|
82
|
+
_Pragma("clang diagnostic pop")
|
83
|
+
#else
|
84
|
+
#define FRIBIDI_BEGIN_IGNORE_DEPRECATIONS
|
85
|
+
#define FRIBIDI_END_IGNORE_DEPRECATIONS
|
86
|
+
#endif
|
87
|
+
|
88
|
+
#if defined(__GNUC__) && (__GNUC__ > 2)
|
89
|
+
# define FRIBIDI_GNUC_WARN_UNUSED __attribute__((__warn_unused_result__))
|
90
|
+
# define FRIBIDI_GNUC_MALLOC __attribute__((__malloc__))
|
91
|
+
# define FRIBIDI_GNUC_HIDDEN __attribute__((__visibility__ ("hidden")))
|
92
|
+
# define FRIBIDI_GNUC_CONST __attribute__((__const__))
|
93
|
+
# define FRIBIDI_GNUC_DEPRECATED __attribute__((__unused__))
|
94
|
+
#else /* __GNUC__ */
|
95
|
+
# define FRIBIDI_GNUC_WARN_UNUSED
|
96
|
+
# define FRIBIDI_GNUC_MALLOC
|
97
|
+
# define FRIBIDI_GNUC_HIDDEN
|
98
|
+
# define FRIBIDI_GNUC_CONST
|
99
|
+
# define FRIBIDI_GNUC_DEPRECATED
|
100
|
+
#endif /* __GNUC__ */
|
101
|
+
|
102
|
+
/* FRIBIDI_BEGIN_DECLS should be used at the beginning of your declarations,
|
103
|
+
* so that C++ compilers don't mangle their names. Use FRIBIDI_END_DECLS at
|
104
|
+
* the end of C declarations. */
|
105
|
+
#ifndef FRIBIDI_BEGIN_DECLS
|
106
|
+
# ifdef __cplusplus
|
107
|
+
# define FRIBIDI_BEGIN_DECLS extern "C" {
|
108
|
+
# define FRIBIDI_END_DECLS }
|
109
|
+
# else /* !__cplusplus */
|
110
|
+
# define FRIBIDI_BEGIN_DECLS /* empty */
|
111
|
+
# define FRIBIDI_END_DECLS /* empty */
|
112
|
+
# endif /* !__cplusplus */
|
113
|
+
#endif /* !FRIBIDI_BEGIN_DECLS */
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
/* fribidi_debug_status - get current debug state
|
119
|
+
*
|
120
|
+
*/
|
121
|
+
FRIBIDI_ENTRY int fribidi_debug_status (
|
122
|
+
void
|
123
|
+
);
|
124
|
+
|
125
|
+
/* fribidi_set_debug - set debug state
|
126
|
+
*
|
127
|
+
*/
|
128
|
+
FRIBIDI_ENTRY int
|
129
|
+
fribidi_set_debug (
|
130
|
+
int state /* new state to set */
|
131
|
+
);
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
#endif /* !_FRIBIDI_COMMON_H */
|
144
|
+
/* Editor directions:
|
145
|
+
* vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
|
146
|
+
*/
|