pango 3.2.1-x64-mingw32 → 3.2.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -6,9 +6,9 @@
|
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="HarfBuzz Manual">
|
8
8
|
<link rel="up" href="pt01.html" title="Part I. User's manual">
|
9
|
-
<link rel="prev" href="hello-harfbuzz.html" title="Hello,
|
9
|
+
<link rel="prev" href="hello-harfbuzz.html" title="Hello, HarfBuzz">
|
10
10
|
<link rel="next" href="adding-text-to-the-buffer.html" title="Adding text to the buffer">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<dt><span class="section"><a href="customizing-unicode-functions.html">Customizing Unicode functions</a></span></dt>
|
31
31
|
</dl></div>
|
32
32
|
<p>
|
33
|
-
The input to
|
33
|
+
The input to HarfBuzz is a series of Unicode characters, stored in a
|
34
34
|
buffer. In this chapter, we'll look at how to set up a buffer with
|
35
35
|
the text that we want and then customize the properties of the
|
36
36
|
buffer.
|
@@ -45,7 +45,7 @@
|
|
45
45
|
default values and ready to accept your Unicode strings.
|
46
46
|
</p>
|
47
47
|
<p>
|
48
|
-
|
48
|
+
HarfBuzz manages the memory of objects that it creates (such as
|
49
49
|
buffers), so you don't have to. When you have finished working on
|
50
50
|
a buffer, you can call <code class="literal">hb_buffer_destroy()</code>:
|
51
51
|
</p>
|
@@ -57,7 +57,7 @@
|
|
57
57
|
<p>
|
58
58
|
This will destroy the object and free its associated memory -
|
59
59
|
unless some other part of the program holds a reference to this
|
60
|
-
buffer. If you acquire a
|
60
|
+
buffer. If you acquire a HarfBuzz buffer from another subsystem
|
61
61
|
and want to ensure that it is not garbage collected by someone
|
62
62
|
else destroying it, you should increase its reference count:
|
63
63
|
</p>
|
@@ -82,6 +82,6 @@ void somefunc(hb_buffer_t *buffer) {
|
|
82
82
|
</div>
|
83
83
|
</div>
|
84
84
|
<div class="footer">
|
85
|
-
<hr>Generated by GTK-Doc V1.
|
85
|
+
<hr>Generated by GTK-Doc V1.27.1</div>
|
86
86
|
</body>
|
87
87
|
</html>
|
@@ -5,10 +5,10 @@
|
|
5
5
|
<title>Building: HarfBuzz Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="HarfBuzz Manual">
|
8
|
-
<link rel="up" href="install-harfbuzz.html" title="Install
|
9
|
-
<link rel="prev" href="install-harfbuzz.html" title="Install
|
10
|
-
<link rel="next" href="hello-harfbuzz.html" title="Hello,
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
8
|
+
<link rel="up" href="install-harfbuzz.html" title="Install HarfBuzz">
|
9
|
+
<link rel="prev" href="install-harfbuzz.html" title="Install HarfBuzz">
|
10
|
+
<link rel="next" href="hello-harfbuzz.html" title="Hello, HarfBuzz">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -51,7 +51,7 @@
|
|
51
51
|
and hb-shape under <code class="filename">util/</code>.
|
52
52
|
</p>
|
53
53
|
<p>
|
54
|
-
If you are
|
54
|
+
If you are bootstrapping from git, you need a few more tools before you
|
55
55
|
can run <code class="filename">autogen.sh</code> for the first time. Namely,
|
56
56
|
pkg-config and <a class="ulink" href="http://www.complang.org/ragel/" target="_top">ragel</a>.
|
57
57
|
Again, on Ubuntu / Debian:
|
@@ -75,6 +75,6 @@
|
|
75
75
|
</p>
|
76
76
|
</div>
|
77
77
|
<div class="footer">
|
78
|
-
<hr>Generated by GTK-Doc V1.
|
78
|
+
<hr>Generated by GTK-Doc V1.27.1</div>
|
79
79
|
</body>
|
80
80
|
</html>
|
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
5
|
+
<title>HarfBuzz API: HarfBuzz Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="HarfBuzz Manual">
|
8
8
|
<link rel="up" href="pt02.html" title="Part II. Reference manual">
|
9
9
|
<link rel="prev" href="pt02.html" title="Part II. Reference manual">
|
10
10
|
<link rel="next" href="harfbuzz-hb.html" title="hb">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -21,7 +21,7 @@
|
|
21
21
|
</tr></table>
|
22
22
|
<div class="chapter">
|
23
23
|
<div class="titlepage"><div><div><h2 class="title">
|
24
|
-
<a name="id-1.3.3"></a>
|
24
|
+
<a name="id-1.3.3"></a>HarfBuzz API</h2></div></div></div>
|
25
25
|
<div class="toc"><dl class="toc">
|
26
26
|
<dt>
|
27
27
|
<span class="refentrytitle"><a href="harfbuzz-hb.html">hb</a></span><span class="refpurpose"></span>
|
@@ -101,6 +101,6 @@
|
|
101
101
|
</dl></div>
|
102
102
|
</div>
|
103
103
|
<div class="footer">
|
104
|
-
<hr>Generated by GTK-Doc V1.
|
104
|
+
<hr>Generated by GTK-Doc V1.27.1</div>
|
105
105
|
</body>
|
106
106
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="pt01.html" title="Part I. User's manual">
|
9
9
|
<link rel="prev" href="using-your-own-font-functions.html" title="Using your own font functions">
|
10
10
|
<link rel="next" href="a-clustering-example-for-levels-0-and-1.html" title="A clustering example for levels 0 and 1">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -92,6 +92,6 @@
|
|
92
92
|
</div>
|
93
93
|
</div>
|
94
94
|
<div class="footer">
|
95
|
-
<hr>Generated by GTK-Doc V1.
|
95
|
+
<hr>Generated by GTK-Doc V1.27.1</div>
|
96
96
|
</body>
|
97
97
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="buffers-language-script-and-direction.html" title="Buffers, language, script and direction">
|
9
9
|
<link rel="prev" href="what-about-the-other-scripts.html" title="What about the other scripts?">
|
10
10
|
<link rel="next" href="fonts-and-faces.html" title="Fonts and faces">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,6 +26,6 @@
|
|
26
26
|
</p>
|
27
27
|
</div>
|
28
28
|
<div class="footer">
|
29
|
-
<hr>Generated by GTK-Doc V1.
|
29
|
+
<hr>Generated by GTK-Doc V1.27.1</div>
|
30
30
|
</body>
|
31
31
|
</html>
|
@@ -6,9 +6,9 @@
|
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="HarfBuzz Manual">
|
8
8
|
<link rel="up" href="pt02.html" title="Part II. Reference manual">
|
9
|
-
<link rel="prev" href="api-index-1-
|
9
|
+
<link rel="prev" href="api-index-1-6-0.html" title="Index of new symbols in 1.6.0">
|
10
10
|
<link rel="next" href="annotation-glossary.html" title="Annotation Glossary">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<a class="shortcut" href="#idxS">S</a></span></td>
|
23
23
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
24
|
<td><a accesskey="u" href="pt02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
|
-
<td><a accesskey="p" href="api-index-1-
|
25
|
+
<td><a accesskey="p" href="api-index-1-6-0.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
26
|
<td><a accesskey="n" href="annotation-glossary.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
27
|
</tr></table>
|
28
28
|
<div class="index">
|
@@ -56,8 +56,12 @@
|
|
56
56
|
<a class="link" href="harfbuzz-hb-deprecated.html#HB-SCRIPT-CANADIAN-ABORIGINAL:CAPS" title="HB_SCRIPT_CANADIAN_ABORIGINAL">HB_SCRIPT_CANADIAN_ABORIGINAL</a>, macro in <a class="link" href="harfbuzz-hb-deprecated.html" title="hb-deprecated">hb-deprecated</a>
|
57
57
|
</dt>
|
58
58
|
<dd></dd>
|
59
|
+
<dt>
|
60
|
+
<a class="link" href="harfbuzz-hb-deprecated.html#hb-set-invert" title="hb_set_invert ()">hb_set_invert</a>, function in <a class="link" href="harfbuzz-hb-deprecated.html" title="hb-deprecated">hb-deprecated</a>
|
61
|
+
</dt>
|
62
|
+
<dd></dd>
|
59
63
|
</div>
|
60
64
|
<div class="footer">
|
61
|
-
<hr>Generated by GTK-Doc V1.
|
65
|
+
<hr>Generated by GTK-Doc V1.27.1</div>
|
62
66
|
</body>
|
63
67
|
</html>
|
@@ -7,8 +7,8 @@
|
|
7
7
|
<link rel="home" href="index.html" title="HarfBuzz Manual">
|
8
8
|
<link rel="up" href="pt01.html" title="Part I. User's manual">
|
9
9
|
<link rel="prev" href="customizing-unicode-functions.html" title="Customizing Unicode functions">
|
10
|
-
<link rel="next" href="using-harfbuzzs-native-opentype-implementation.html" title="Using
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
10
|
+
<link rel="next" href="using-harfbuzzs-native-opentype-implementation.html" title="Using HarfBuzz's native OpenType implementation">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<a name="fonts-and-faces"></a>Fonts and faces</h2></div></div></div>
|
25
25
|
<div class="toc"><dl class="toc">
|
26
26
|
<dt><span class="section"><a href="fonts-and-faces.html#using-freetype">Using FreeType</a></span></dt>
|
27
|
-
<dt><span class="section"><a href="using-harfbuzzs-native-opentype-implementation.html">Using
|
27
|
+
<dt><span class="section"><a href="using-harfbuzzs-native-opentype-implementation.html">Using HarfBuzz's native OpenType implementation</a></span></dt>
|
28
28
|
<dt><span class="section"><a href="using-your-own-font-functions.html">Using your own font functions</a></span></dt>
|
29
29
|
</dl></div>
|
30
30
|
<div class="section">
|
@@ -35,6 +35,6 @@
|
|
35
35
|
</div>
|
36
36
|
</div>
|
37
37
|
<div class="footer">
|
38
|
-
<hr>Generated by GTK-Doc V1.
|
38
|
+
<hr>Generated by GTK-Doc V1.27.1</div>
|
39
39
|
</body>
|
40
40
|
</html>
|
@@ -5,17 +5,18 @@
|
|
5
5
|
<title>Buffers: HarfBuzz Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="HarfBuzz Manual">
|
8
|
-
<link rel="up" href="ch08.html" title="
|
8
|
+
<link rel="up" href="ch08.html" title="HarfBuzz API">
|
9
9
|
<link rel="prev" href="harfbuzz-hb-unicode.html" title="hb-unicode">
|
10
10
|
<link rel="next" href="harfbuzz-hb-blob.html" title="hb-blob">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
16
|
<td width="100%" align="left" class="shortcuts">
|
17
17
|
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
-
<a href="#harfbuzz-Buffers.description" class="shortcut">Description</a></span>
|
18
|
+
<a href="#harfbuzz-Buffers.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#harfbuzz-Buffers.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
19
20
|
</td>
|
20
21
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
22
|
<td><a accesskey="u" href="ch08.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -41,7 +42,7 @@
|
|
41
42
|
<tbody>
|
42
43
|
<tr>
|
43
44
|
<td class="function_type">
|
44
|
-
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
45
|
+
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="returnvalue">hb_buffer_t</span></a> *
|
45
46
|
</td>
|
46
47
|
<td class="function_name">
|
47
48
|
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-create" title="hb_buffer_create ()">hb_buffer_create</a> <span class="c_punctuation">()</span>
|
@@ -49,7 +50,7 @@
|
|
49
50
|
</tr>
|
50
51
|
<tr>
|
51
52
|
<td class="function_type">
|
52
|
-
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
53
|
+
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="returnvalue">hb_buffer_t</span></a> *
|
53
54
|
</td>
|
54
55
|
<td class="function_name">
|
55
56
|
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-reference" title="hb_buffer_reference ()">hb_buffer_reference</a> <span class="c_punctuation">()</span>
|
@@ -57,7 +58,7 @@
|
|
57
58
|
</tr>
|
58
59
|
<tr>
|
59
60
|
<td class="function_type">
|
60
|
-
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
61
|
+
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="returnvalue">hb_buffer_t</span></a> *
|
61
62
|
</td>
|
62
63
|
<td class="function_name">
|
63
64
|
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-get-empty" title="hb_buffer_get_empty ()">hb_buffer_get_empty</a> <span class="c_punctuation">()</span>
|
@@ -304,7 +305,7 @@
|
|
304
305
|
</tr>
|
305
306
|
<tr>
|
306
307
|
<td class="function_type">
|
307
|
-
<a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t"
|
308
|
+
<a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t"><span class="returnvalue">hb_unicode_funcs_t</span></a> *
|
308
309
|
</td>
|
309
310
|
<td class="function_name">
|
310
311
|
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-get-unicode-funcs" title="hb_buffer_get_unicode_funcs ()">hb_buffer_get_unicode_funcs</a> <span class="c_punctuation">()</span>
|
@@ -328,7 +329,7 @@
|
|
328
329
|
</tr>
|
329
330
|
<tr>
|
330
331
|
<td class="function_type">
|
331
|
-
<a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"
|
332
|
+
<a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"><span class="returnvalue">hb_glyph_info_t</span></a> *
|
332
333
|
</td>
|
333
334
|
<td class="function_name">
|
334
335
|
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-get-glyph-infos" title="hb_buffer_get_glyph_infos ()">hb_buffer_get_glyph_infos</a> <span class="c_punctuation">()</span>
|
@@ -336,7 +337,7 @@
|
|
336
337
|
</tr>
|
337
338
|
<tr>
|
338
339
|
<td class="function_type">
|
339
|
-
<a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t"
|
340
|
+
<a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t"><span class="returnvalue">hb_glyph_position_t</span></a> *
|
340
341
|
</td>
|
341
342
|
<td class="function_name">
|
342
343
|
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-get-glyph-positions" title="hb_buffer_get_glyph_positions ()">hb_buffer_get_glyph_positions</a> <span class="c_punctuation">()</span>
|
@@ -477,7 +478,7 @@
|
|
477
478
|
</tbody>
|
478
479
|
</table></div>
|
479
480
|
</div>
|
480
|
-
<div class="refsect1">
|
481
|
+
<a name="hb-buffer-t"></a><a name="hb-glyph-info-t"></a><a name="hb-glyph-position-t"></a><a name="hb-segment-properties-t"></a><div class="refsect1">
|
481
482
|
<a name="harfbuzz-Buffers.other"></a><h2>Types and Values</h2>
|
482
483
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
483
484
|
<colgroup>
|
@@ -495,11 +496,11 @@
|
|
495
496
|
</tr>
|
496
497
|
<tr>
|
497
498
|
<td class="typedef_keyword">typedef</td>
|
498
|
-
<td class="function_name"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
499
|
+
<td class="function_name"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t">hb_buffer_t</a></td>
|
499
500
|
</tr>
|
500
501
|
<tr>
|
501
502
|
<td class="datatype_keyword"> </td>
|
502
|
-
<td class="function_name"><a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t" title="hb_glyph_info_t">hb_glyph_info_t</a></td>
|
503
|
+
<td class="function_name"><a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t-struct" title="hb_glyph_info_t">hb_glyph_info_t</a></td>
|
503
504
|
</tr>
|
504
505
|
<tr>
|
505
506
|
<td class="datatype_keyword">enum</td>
|
@@ -507,7 +508,7 @@
|
|
507
508
|
</tr>
|
508
509
|
<tr>
|
509
510
|
<td class="datatype_keyword"> </td>
|
510
|
-
<td class="function_name"><a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t" title="hb_glyph_position_t">hb_glyph_position_t</a></td>
|
511
|
+
<td class="function_name"><a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t-struct" title="hb_glyph_position_t">hb_glyph_position_t</a></td>
|
511
512
|
</tr>
|
512
513
|
<tr>
|
513
514
|
<td class="datatype_keyword">enum</td>
|
@@ -523,7 +524,7 @@
|
|
523
524
|
</tr>
|
524
525
|
<tr>
|
525
526
|
<td class="datatype_keyword"> </td>
|
526
|
-
<td class="function_name"><a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t" title="hb_segment_properties_t">hb_segment_properties_t</a></td>
|
527
|
+
<td class="function_name"><a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t-struct" title="hb_segment_properties_t">hb_segment_properties_t</a></td>
|
527
528
|
</tr>
|
528
529
|
<tr>
|
529
530
|
<td class="datatype_keyword">enum</td>
|
@@ -541,6 +542,24 @@
|
|
541
542
|
</table></div>
|
542
543
|
</div>
|
543
544
|
<div class="refsect1">
|
545
|
+
<a name="harfbuzz-Buffers.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
546
|
+
<pre class="screen"> <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
|
547
|
+
<span class="lineart">├──</span> hb_buffer_t
|
548
|
+
<span class="lineart">├──</span> hb_glyph_info_t
|
549
|
+
<span class="lineart">├──</span> hb_glyph_position_t
|
550
|
+
<span class="lineart">╰──</span> hb_segment_properties_t
|
551
|
+
<a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
552
|
+
<span class="lineart">├──</span> hb_buffer_cluster_level_t
|
553
|
+
<span class="lineart">├──</span> hb_buffer_content_type_t
|
554
|
+
<span class="lineart">╰──</span> hb_buffer_serialize_format_t
|
555
|
+
<a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
556
|
+
<span class="lineart">├──</span> hb_buffer_diff_flags_t
|
557
|
+
<span class="lineart">├──</span> hb_buffer_flags_t
|
558
|
+
<span class="lineart">├──</span> hb_buffer_serialize_flags_t
|
559
|
+
<span class="lineart">╰──</span> hb_glyph_flags_t
|
560
|
+
</pre>
|
561
|
+
</div>
|
562
|
+
<div class="refsect1">
|
544
563
|
<a name="harfbuzz-Buffers.includes"></a><h2>Includes</h2>
|
545
564
|
<pre class="synopsis">#include <hb.h>
|
546
565
|
</pre>
|
@@ -554,16 +573,16 @@ passed <a class="link" href="harfbuzz-Shaping.html#hb-shape" title="hb_shape ()
|
|
554
573
|
<a name="harfbuzz-Buffers.functions_details"></a><h2>Functions</h2>
|
555
574
|
<div class="refsect2">
|
556
575
|
<a name="hb-buffer-create"></a><h3>hb_buffer_create ()</h3>
|
557
|
-
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
576
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="returnvalue">hb_buffer_t</span></a> *
|
558
577
|
hb_buffer_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
559
|
-
<p>Creates a new <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
578
|
+
<p>Creates a new <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> with all properties to defaults.</p>
|
560
579
|
<p><span class="annotation">[Xconstructor]</span></p>
|
561
580
|
<div class="refsect3">
|
562
581
|
<a name="hb-buffer-create.returns"></a><h4>Returns</h4>
|
563
|
-
<p>A newly allocated <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
582
|
+
<p>A newly allocated <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> with a reference count of 1. The initial
|
564
583
|
reference count should be released with <a class="link" href="harfbuzz-Buffers.html#hb-buffer-destroy" title="hb_buffer_destroy ()"><code class="function">hb_buffer_destroy()</code></a> when you are done
|
565
|
-
using the <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
566
|
-
be allocated, a special <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
584
|
+
using the <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>. This function never returns <code class="literal">NULL</code>. If memory cannot
|
585
|
+
be allocated, a special <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> object will be returned on which
|
567
586
|
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-allocation-successful" title="hb_buffer_allocation_successful ()"><code class="function">hb_buffer_allocation_successful()</code></a> returns <code class="literal">false</code>. </p>
|
568
587
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
569
588
|
</div>
|
@@ -572,8 +591,8 @@ be allocated, a special <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
|
572
591
|
<hr>
|
573
592
|
<div class="refsect2">
|
574
593
|
<a name="hb-buffer-reference"></a><h3>hb_buffer_reference ()</h3>
|
575
|
-
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
576
|
-
hb_buffer_reference (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
594
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="returnvalue">hb_buffer_t</span></a> *
|
595
|
+
hb_buffer_reference (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
577
596
|
<p>Increases the reference count on <em class="parameter"><code>buffer</code></em>
|
578
597
|
by one. This prevents <em class="parameter"><code>buffer</code></em>
|
579
598
|
from
|
@@ -589,14 +608,14 @@ being destroyed until a matching call to <a class="link" href="harfbuzz-Buffers.
|
|
589
608
|
</colgroup>
|
590
609
|
<tbody><tr>
|
591
610
|
<td class="parameter_name"><p>buffer</p></td>
|
592
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
611
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
593
612
|
<td class="parameter_annotations"> </td>
|
594
613
|
</tr></tbody>
|
595
614
|
</table></div>
|
596
615
|
</div>
|
597
616
|
<div class="refsect3">
|
598
617
|
<a name="hb-buffer-reference.returns"></a><h4>Returns</h4>
|
599
|
-
<p>The referenced <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
618
|
+
<p>The referenced <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>. </p>
|
600
619
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
601
620
|
</div>
|
602
621
|
<p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
|
@@ -604,7 +623,7 @@ being destroyed until a matching call to <a class="link" href="harfbuzz-Buffers.
|
|
604
623
|
<hr>
|
605
624
|
<div class="refsect2">
|
606
625
|
<a name="hb-buffer-get-empty"></a><h3>hb_buffer_get_empty ()</h3>
|
607
|
-
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
626
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="returnvalue">hb_buffer_t</span></a> *
|
608
627
|
hb_buffer_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
609
628
|
<div class="refsect3">
|
610
629
|
<a name="hb-buffer-get-empty.returns"></a><h4>Returns</h4>
|
@@ -617,7 +636,7 @@ hb_buffer_get_empty (<em class="parameter"><code><span class="type">void</span><
|
|
617
636
|
<div class="refsect2">
|
618
637
|
<a name="hb-buffer-destroy"></a><h3>hb_buffer_destroy ()</h3>
|
619
638
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
620
|
-
hb_buffer_destroy (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
639
|
+
hb_buffer_destroy (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
621
640
|
<p>Deallocate the <em class="parameter"><code>buffer</code></em>
|
622
641
|
.
|
623
642
|
Decreases the reference count on <em class="parameter"><code>buffer</code></em>
|
@@ -635,7 +654,7 @@ Decreases the reference count on <em class="parameter"><code>buffer</code></em>
|
|
635
654
|
</colgroup>
|
636
655
|
<tbody><tr>
|
637
656
|
<td class="parameter_name"><p>buffer</p></td>
|
638
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
657
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
639
658
|
<td class="parameter_annotations"> </td>
|
640
659
|
</tr></tbody>
|
641
660
|
</table></div>
|
@@ -646,7 +665,7 @@ Decreases the reference count on <em class="parameter"><code>buffer</code></em>
|
|
646
665
|
<div class="refsect2">
|
647
666
|
<a name="hb-buffer-reset"></a><h3>hb_buffer_reset ()</h3>
|
648
667
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
649
|
-
hb_buffer_reset (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
668
|
+
hb_buffer_reset (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
650
669
|
<p>Resets the buffer to its initial status, as if it was just newly created
|
651
670
|
with <a class="link" href="harfbuzz-Buffers.html#hb-buffer-create" title="hb_buffer_create ()"><code class="function">hb_buffer_create()</code></a>.</p>
|
652
671
|
<div class="refsect3">
|
@@ -659,7 +678,7 @@ with <a class="link" href="harfbuzz-Buffers.html#hb-buffer-create" title="hb_buf
|
|
659
678
|
</colgroup>
|
660
679
|
<tbody><tr>
|
661
680
|
<td class="parameter_name"><p>buffer</p></td>
|
662
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
681
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
663
682
|
<td class="parameter_annotations"> </td>
|
664
683
|
</tr></tbody>
|
665
684
|
</table></div>
|
@@ -670,7 +689,7 @@ with <a class="link" href="harfbuzz-Buffers.html#hb-buffer-create" title="hb_buf
|
|
670
689
|
<div class="refsect2">
|
671
690
|
<a name="hb-buffer-clear-contents"></a><h3>hb_buffer_clear_contents ()</h3>
|
672
691
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
673
|
-
hb_buffer_clear_contents (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
692
|
+
hb_buffer_clear_contents (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
674
693
|
<p>Similar to <a class="link" href="harfbuzz-Buffers.html#hb-buffer-reset" title="hb_buffer_reset ()"><code class="function">hb_buffer_reset()</code></a>, but does not clear the Unicode functions and
|
675
694
|
the replacement code point.</p>
|
676
695
|
<div class="refsect3">
|
@@ -683,7 +702,7 @@ the replacement code point.</p>
|
|
683
702
|
</colgroup>
|
684
703
|
<tbody><tr>
|
685
704
|
<td class="parameter_name"><p>buffer</p></td>
|
686
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
705
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
687
706
|
<td class="parameter_annotations"> </td>
|
688
707
|
</tr></tbody>
|
689
708
|
</table></div>
|
@@ -694,7 +713,7 @@ the replacement code point.</p>
|
|
694
713
|
<div class="refsect2">
|
695
714
|
<a name="hb-buffer-pre-allocate"></a><h3>hb_buffer_pre_allocate ()</h3>
|
696
715
|
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
|
697
|
-
hb_buffer_pre_allocate (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
716
|
+
hb_buffer_pre_allocate (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
698
717
|
<em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre>
|
699
718
|
<p>Pre allocates memory for <em class="parameter"><code>buffer</code></em>
|
700
719
|
to fit at least <em class="parameter"><code>size</code></em>
|
@@ -710,7 +729,7 @@ hb_buffer_pre_allocate (<em class="parameter"><code><a class="link" href="harfbu
|
|
710
729
|
<tbody>
|
711
730
|
<tr>
|
712
731
|
<td class="parameter_name"><p>buffer</p></td>
|
713
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
732
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
714
733
|
<td class="parameter_annotations"> </td>
|
715
734
|
</tr>
|
716
735
|
<tr>
|
@@ -732,7 +751,7 @@ memory allocation succeeded, <code class="literal">false</code> otherwise.</p>
|
|
732
751
|
<div class="refsect2">
|
733
752
|
<a name="hb-buffer-allocation-successful"></a><h3>hb_buffer_allocation_successful ()</h3>
|
734
753
|
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
|
735
|
-
hb_buffer_allocation_successful (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
754
|
+
hb_buffer_allocation_successful (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
736
755
|
<p>Check if allocating memory for the buffer succeeded.</p>
|
737
756
|
<div class="refsect3">
|
738
757
|
<a name="hb-buffer-allocation-successful.parameters"></a><h4>Parameters</h4>
|
@@ -744,7 +763,7 @@ hb_buffer_allocation_successful (<em class="parameter"><code><a class="link" hre
|
|
744
763
|
</colgroup>
|
745
764
|
<tbody><tr>
|
746
765
|
<td class="parameter_name"><p>buffer</p></td>
|
747
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
766
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
748
767
|
<td class="parameter_annotations"> </td>
|
749
768
|
</tr></tbody>
|
750
769
|
</table></div>
|
@@ -760,7 +779,7 @@ memory allocation succeeded, <code class="literal">false</code> otherwise.</p>
|
|
760
779
|
<div class="refsect2">
|
761
780
|
<a name="hb-buffer-add"></a><h3>hb_buffer_add ()</h3>
|
762
781
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
763
|
-
hb_buffer_add (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
782
|
+
hb_buffer_add (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
764
783
|
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> codepoint</code></em>,
|
765
784
|
<em class="parameter"><code>unsigned <span class="type">int</span> cluster</code></em>);</pre>
|
766
785
|
<p>Appends a character with the Unicode value of <em class="parameter"><code>codepoint</code></em>
|
@@ -770,7 +789,7 @@ gives it the initial cluster value of <em class="parameter"><code>cluster</code>
|
|
770
789
|
. Clusters can be any thing
|
771
790
|
the client wants, they are usually used to refer to the index of the
|
772
791
|
character in the input text stream and are output in
|
773
|
-
<
|
792
|
+
<span class="type">hb_glyph_info_t.cluster</span> field.</p>
|
774
793
|
<p>This function does not check the validity of <em class="parameter"><code>codepoint</code></em>
|
775
794
|
, it is up to the
|
776
795
|
caller to ensure it is a valid Unicode code point.</p>
|
@@ -785,7 +804,7 @@ caller to ensure it is a valid Unicode code point.</p>
|
|
785
804
|
<tbody>
|
786
805
|
<tr>
|
787
806
|
<td class="parameter_name"><p>buffer</p></td>
|
788
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
807
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
789
808
|
<td class="parameter_annotations"> </td>
|
790
809
|
</tr>
|
791
810
|
<tr>
|
@@ -808,7 +827,7 @@ caller to ensure it is a valid Unicode code point.</p>
|
|
808
827
|
<div class="refsect2">
|
809
828
|
<a name="hb-buffer-add-codepoints"></a><h3>hb_buffer_add_codepoints ()</h3>
|
810
829
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
811
|
-
hb_buffer_add_codepoints (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
830
|
+
hb_buffer_add_codepoints (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
812
831
|
<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *text</code></em>,
|
813
832
|
<em class="parameter"><code><span class="type">int</span> text_length</code></em>,
|
814
833
|
<em class="parameter"><code>unsigned <span class="type">int</span> item_offset</code></em>,
|
@@ -843,18 +862,18 @@ to ensure it contains a valid Unicode code points.</p>
|
|
843
862
|
<tbody>
|
844
863
|
<tr>
|
845
864
|
<td class="parameter_name"><p>buffer</p></td>
|
846
|
-
<td class="parameter_description"><p>a <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
865
|
+
<td class="parameter_description"><p>a <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> to append characters to.</p></td>
|
847
866
|
<td class="parameter_annotations"> </td>
|
848
867
|
</tr>
|
849
868
|
<tr>
|
850
869
|
<td class="parameter_name"><p>text</p></td>
|
851
|
-
<td class="parameter_description"><p>
|
870
|
+
<td class="parameter_description"><p>an array of Unicode code points to append. </p></td>
|
852
871
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=text_length]</span></td>
|
853
872
|
</tr>
|
854
873
|
<tr>
|
855
874
|
<td class="parameter_name"><p>text_length</p></td>
|
856
875
|
<td class="parameter_description"><p>the length of the <em class="parameter"><code>text</code></em>
|
857
|
-
, or -1 if it is <
|
876
|
+
, or -1 if it is <code class="literal">NULL</code> terminated.</p></td>
|
858
877
|
<td class="parameter_annotations"> </td>
|
859
878
|
</tr>
|
860
879
|
<tr>
|
@@ -868,7 +887,7 @@ to ensure it contains a valid Unicode code points.</p>
|
|
868
887
|
<td class="parameter_description"><p>the number of code points to add to the <em class="parameter"><code>buffer</code></em>
|
869
888
|
, or -1 for the
|
870
889
|
end of <em class="parameter"><code>text</code></em>
|
871
|
-
(assuming it is <
|
890
|
+
(assuming it is <code class="literal">NULL</code> terminated).</p></td>
|
872
891
|
<td class="parameter_annotations"> </td>
|
873
892
|
</tr>
|
874
893
|
</tbody>
|
@@ -880,7 +899,7 @@ end of <em class="parameter"><code>text</code></em>
|
|
880
899
|
<div class="refsect2">
|
881
900
|
<a name="hb-buffer-add-utf32"></a><h3>hb_buffer_add_utf32 ()</h3>
|
882
901
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
883
|
-
hb_buffer_add_utf32 (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
902
|
+
hb_buffer_add_utf32 (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
884
903
|
<em class="parameter"><code>const <span class="type">uint32_t</span> *text</code></em>,
|
885
904
|
<em class="parameter"><code><span class="type">int</span> text_length</code></em>,
|
886
905
|
<em class="parameter"><code>unsigned <span class="type">int</span> item_offset</code></em>,
|
@@ -900,18 +919,18 @@ see <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-replacement-codepo
|
|
900
919
|
<tbody>
|
901
920
|
<tr>
|
902
921
|
<td class="parameter_name"><p>buffer</p></td>
|
903
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
922
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
904
923
|
<td class="parameter_annotations"> </td>
|
905
924
|
</tr>
|
906
925
|
<tr>
|
907
926
|
<td class="parameter_name"><p>text</p></td>
|
908
|
-
<td class="parameter_description"><p>
|
927
|
+
<td class="parameter_description"><p>an array of UTF-32 characters to append. </p></td>
|
909
928
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=text_length]</span></td>
|
910
929
|
</tr>
|
911
930
|
<tr>
|
912
931
|
<td class="parameter_name"><p>text_length</p></td>
|
913
932
|
<td class="parameter_description"><p>the length of the <em class="parameter"><code>text</code></em>
|
914
|
-
, or -1 if it is <
|
933
|
+
, or -1 if it is <code class="literal">NULL</code> terminated.</p></td>
|
915
934
|
<td class="parameter_annotations"> </td>
|
916
935
|
</tr>
|
917
936
|
<tr>
|
@@ -925,7 +944,7 @@ see <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-replacement-codepo
|
|
925
944
|
<td class="parameter_description"><p>the number of characters to add to the <em class="parameter"><code>buffer</code></em>
|
926
945
|
, or -1 for the
|
927
946
|
end of <em class="parameter"><code>text</code></em>
|
928
|
-
(assuming it is <
|
947
|
+
(assuming it is <code class="literal">NULL</code> terminated).</p></td>
|
929
948
|
<td class="parameter_annotations"> </td>
|
930
949
|
</tr>
|
931
950
|
</tbody>
|
@@ -937,7 +956,7 @@ end of <em class="parameter"><code>text</code></em>
|
|
937
956
|
<div class="refsect2">
|
938
957
|
<a name="hb-buffer-add-utf16"></a><h3>hb_buffer_add_utf16 ()</h3>
|
939
958
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
940
|
-
hb_buffer_add_utf16 (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
959
|
+
hb_buffer_add_utf16 (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
941
960
|
<em class="parameter"><code>const <span class="type">uint16_t</span> *text</code></em>,
|
942
961
|
<em class="parameter"><code><span class="type">int</span> text_length</code></em>,
|
943
962
|
<em class="parameter"><code>unsigned <span class="type">int</span> item_offset</code></em>,
|
@@ -957,18 +976,18 @@ see <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-replacement-codepo
|
|
957
976
|
<tbody>
|
958
977
|
<tr>
|
959
978
|
<td class="parameter_name"><p>buffer</p></td>
|
960
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
979
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
961
980
|
<td class="parameter_annotations"> </td>
|
962
981
|
</tr>
|
963
982
|
<tr>
|
964
983
|
<td class="parameter_name"><p>text</p></td>
|
965
|
-
<td class="parameter_description"><p>
|
984
|
+
<td class="parameter_description"><p>an array of UTF-16 characters to append. </p></td>
|
966
985
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=text_length]</span></td>
|
967
986
|
</tr>
|
968
987
|
<tr>
|
969
988
|
<td class="parameter_name"><p>text_length</p></td>
|
970
989
|
<td class="parameter_description"><p>the length of the <em class="parameter"><code>text</code></em>
|
971
|
-
, or -1 if it is <
|
990
|
+
, or -1 if it is <code class="literal">NULL</code> terminated.</p></td>
|
972
991
|
<td class="parameter_annotations"> </td>
|
973
992
|
</tr>
|
974
993
|
<tr>
|
@@ -982,7 +1001,7 @@ see <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-replacement-codepo
|
|
982
1001
|
<td class="parameter_description"><p>the number of characters to add to the <em class="parameter"><code>buffer</code></em>
|
983
1002
|
, or -1 for the
|
984
1003
|
end of <em class="parameter"><code>text</code></em>
|
985
|
-
(assuming it is <
|
1004
|
+
(assuming it is <code class="literal">NULL</code> terminated).</p></td>
|
986
1005
|
<td class="parameter_annotations"> </td>
|
987
1006
|
</tr>
|
988
1007
|
</tbody>
|
@@ -994,7 +1013,7 @@ end of <em class="parameter"><code>text</code></em>
|
|
994
1013
|
<div class="refsect2">
|
995
1014
|
<a name="hb-buffer-add-utf8"></a><h3>hb_buffer_add_utf8 ()</h3>
|
996
1015
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
997
|
-
hb_buffer_add_utf8 (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1016
|
+
hb_buffer_add_utf8 (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
998
1017
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
999
1018
|
<em class="parameter"><code><span class="type">int</span> text_length</code></em>,
|
1000
1019
|
<em class="parameter"><code>unsigned <span class="type">int</span> item_offset</code></em>,
|
@@ -1014,19 +1033,19 @@ see <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-replacement-codepo
|
|
1014
1033
|
<tbody>
|
1015
1034
|
<tr>
|
1016
1035
|
<td class="parameter_name"><p>buffer</p></td>
|
1017
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1036
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1018
1037
|
<td class="parameter_annotations"> </td>
|
1019
1038
|
</tr>
|
1020
1039
|
<tr>
|
1021
1040
|
<td class="parameter_name"><p>text</p></td>
|
1022
|
-
<td class="parameter_description"><p>
|
1041
|
+
<td class="parameter_description"><p>an array of UTF-8
|
1023
1042
|
characters to append. </p></td>
|
1024
1043
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=text_length][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> uint8_t]</span></td>
|
1025
1044
|
</tr>
|
1026
1045
|
<tr>
|
1027
1046
|
<td class="parameter_name"><p>text_length</p></td>
|
1028
1047
|
<td class="parameter_description"><p>the length of the <em class="parameter"><code>text</code></em>
|
1029
|
-
, or -1 if it is <
|
1048
|
+
, or -1 if it is <code class="literal">NULL</code> terminated.</p></td>
|
1030
1049
|
<td class="parameter_annotations"> </td>
|
1031
1050
|
</tr>
|
1032
1051
|
<tr>
|
@@ -1040,7 +1059,7 @@ characters to append. </p></td>
|
|
1040
1059
|
<td class="parameter_description"><p>the number of characters to add to the <em class="parameter"><code>buffer</code></em>
|
1041
1060
|
, or -1 for the
|
1042
1061
|
end of <em class="parameter"><code>text</code></em>
|
1043
|
-
(assuming it is <
|
1062
|
+
(assuming it is <code class="literal">NULL</code> terminated).</p></td>
|
1044
1063
|
<td class="parameter_annotations"> </td>
|
1045
1064
|
</tr>
|
1046
1065
|
</tbody>
|
@@ -1052,7 +1071,7 @@ end of <em class="parameter"><code>text</code></em>
|
|
1052
1071
|
<div class="refsect2">
|
1053
1072
|
<a name="hb-buffer-add-latin1"></a><h3>hb_buffer_add_latin1 ()</h3>
|
1054
1073
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1055
|
-
hb_buffer_add_latin1 (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1074
|
+
hb_buffer_add_latin1 (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1056
1075
|
<em class="parameter"><code>const <span class="type">uint8_t</span> *text</code></em>,
|
1057
1076
|
<em class="parameter"><code><span class="type">int</span> text_length</code></em>,
|
1058
1077
|
<em class="parameter"><code>unsigned <span class="type">int</span> item_offset</code></em>,
|
@@ -1071,19 +1090,19 @@ Unicode code points that can fit in 8-bit strings.</p>
|
|
1071
1090
|
<tbody>
|
1072
1091
|
<tr>
|
1073
1092
|
<td class="parameter_name"><p>buffer</p></td>
|
1074
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1093
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1075
1094
|
<td class="parameter_annotations"> </td>
|
1076
1095
|
</tr>
|
1077
1096
|
<tr>
|
1078
1097
|
<td class="parameter_name"><p>text</p></td>
|
1079
|
-
<td class="parameter_description"><p>
|
1098
|
+
<td class="parameter_description"><p>an array of UTF-8
|
1080
1099
|
characters to append. </p></td>
|
1081
1100
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=text_length][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> uint8_t]</span></td>
|
1082
1101
|
</tr>
|
1083
1102
|
<tr>
|
1084
1103
|
<td class="parameter_name"><p>text_length</p></td>
|
1085
1104
|
<td class="parameter_description"><p>the length of the <em class="parameter"><code>text</code></em>
|
1086
|
-
, or -1 if it is <
|
1105
|
+
, or -1 if it is <code class="literal">NULL</code> terminated.</p></td>
|
1087
1106
|
<td class="parameter_annotations"> </td>
|
1088
1107
|
</tr>
|
1089
1108
|
<tr>
|
@@ -1097,7 +1116,7 @@ characters to append. </p></td>
|
|
1097
1116
|
<td class="parameter_description"><p>the number of characters to add to the <em class="parameter"><code>buffer</code></em>
|
1098
1117
|
, or -1 for the
|
1099
1118
|
end of <em class="parameter"><code>text</code></em>
|
1100
|
-
(assuming it is <
|
1119
|
+
(assuming it is <code class="literal">NULL</code> terminated).</p></td>
|
1101
1120
|
<td class="parameter_annotations"> </td>
|
1102
1121
|
</tr>
|
1103
1122
|
</tbody>
|
@@ -1109,8 +1128,8 @@ end of <em class="parameter"><code>text</code></em>
|
|
1109
1128
|
<div class="refsect2">
|
1110
1129
|
<a name="hb-buffer-append"></a><h3>hb_buffer_append ()</h3>
|
1111
1130
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1112
|
-
hb_buffer_append (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1113
|
-
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1131
|
+
hb_buffer_append (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1132
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *source</code></em>,
|
1114
1133
|
<em class="parameter"><code>unsigned <span class="type">int</span> start</code></em>,
|
1115
1134
|
<em class="parameter"><code>unsigned <span class="type">int</span> end</code></em>);</pre>
|
1116
1135
|
<p>Append (part of) contents of another buffer to this buffer.</p>
|
@@ -1125,12 +1144,12 @@ hb_buffer_append (<em class="parameter"><code><a class="link" href="harfbuzz-Buf
|
|
1125
1144
|
<tbody>
|
1126
1145
|
<tr>
|
1127
1146
|
<td class="parameter_name"><p>buffer</p></td>
|
1128
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1147
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1129
1148
|
<td class="parameter_annotations"> </td>
|
1130
1149
|
</tr>
|
1131
1150
|
<tr>
|
1132
1151
|
<td class="parameter_name"><p>source</p></td>
|
1133
|
-
<td class="parameter_description"><p>source <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1152
|
+
<td class="parameter_description"><p>source <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1134
1153
|
<td class="parameter_annotations"> </td>
|
1135
1154
|
</tr>
|
1136
1155
|
<tr>
|
@@ -1152,7 +1171,7 @@ hb_buffer_append (<em class="parameter"><code><a class="link" href="harfbuzz-Buf
|
|
1152
1171
|
<div class="refsect2">
|
1153
1172
|
<a name="hb-buffer-set-content-type"></a><h3>hb_buffer_set_content_type ()</h3>
|
1154
1173
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1155
|
-
hb_buffer_set_content_type (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1174
|
+
hb_buffer_set_content_type (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1156
1175
|
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-content-type-t" title="enum hb_buffer_content_type_t"><span class="type">hb_buffer_content_type_t</span></a> content_type</code></em>);</pre>
|
1157
1176
|
<p>Sets the type of <em class="parameter"><code>buffer</code></em>
|
1158
1177
|
contents, buffers are either empty, contain
|
@@ -1168,7 +1187,7 @@ characters (before shaping) or glyphs (the result of shaping).</p>
|
|
1168
1187
|
<tbody>
|
1169
1188
|
<tr>
|
1170
1189
|
<td class="parameter_name"><p>buffer</p></td>
|
1171
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1190
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1172
1191
|
<td class="parameter_annotations"> </td>
|
1173
1192
|
</tr>
|
1174
1193
|
<tr>
|
@@ -1185,7 +1204,7 @@ characters (before shaping) or glyphs (the result of shaping).</p>
|
|
1185
1204
|
<div class="refsect2">
|
1186
1205
|
<a name="hb-buffer-get-content-type"></a><h3>hb_buffer_get_content_type ()</h3>
|
1187
1206
|
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-content-type-t" title="enum hb_buffer_content_type_t"><span class="returnvalue">hb_buffer_content_type_t</span></a>
|
1188
|
-
hb_buffer_get_content_type (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1207
|
+
hb_buffer_get_content_type (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1189
1208
|
<p>see <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-content-type" title="hb_buffer_set_content_type ()"><code class="function">hb_buffer_set_content_type()</code></a>.</p>
|
1190
1209
|
<div class="refsect3">
|
1191
1210
|
<a name="hb-buffer-get-content-type.parameters"></a><h4>Parameters</h4>
|
@@ -1197,7 +1216,7 @@ hb_buffer_get_content_type (<em class="parameter"><code><a class="link" href="ha
|
|
1197
1216
|
</colgroup>
|
1198
1217
|
<tbody><tr>
|
1199
1218
|
<td class="parameter_name"><p>buffer</p></td>
|
1200
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1219
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1201
1220
|
<td class="parameter_annotations"> </td>
|
1202
1221
|
</tr></tbody>
|
1203
1222
|
</table></div>
|
@@ -1213,7 +1232,7 @@ contents.</p>
|
|
1213
1232
|
<div class="refsect2">
|
1214
1233
|
<a name="hb-buffer-set-direction"></a><h3>hb_buffer_set_direction ()</h3>
|
1215
1234
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1216
|
-
hb_buffer_set_direction (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1235
|
+
hb_buffer_set_direction (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1217
1236
|
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>);</pre>
|
1218
1237
|
<p>Set the text flow direction of the buffer. No shaping can happen without
|
1219
1238
|
setting <em class="parameter"><code>buffer</code></em>
|
@@ -1234,7 +1253,7 @@ direction.</p>
|
|
1234
1253
|
<tbody>
|
1235
1254
|
<tr>
|
1236
1255
|
<td class="parameter_name"><p>buffer</p></td>
|
1237
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1256
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1238
1257
|
<td class="parameter_annotations"> </td>
|
1239
1258
|
</tr>
|
1240
1259
|
<tr>
|
@@ -1252,7 +1271,7 @@ direction.</p>
|
|
1252
1271
|
<div class="refsect2">
|
1253
1272
|
<a name="hb-buffer-get-direction"></a><h3>hb_buffer_get_direction ()</h3>
|
1254
1273
|
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="returnvalue">hb_direction_t</span></a>
|
1255
|
-
hb_buffer_get_direction (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1274
|
+
hb_buffer_get_direction (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1256
1275
|
<p>See <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-direction" title="hb_buffer_set_direction ()"><code class="function">hb_buffer_set_direction()</code></a></p>
|
1257
1276
|
<div class="refsect3">
|
1258
1277
|
<a name="hb-buffer-get-direction.parameters"></a><h4>Parameters</h4>
|
@@ -1264,7 +1283,7 @@ hb_buffer_get_direction (<em class="parameter"><code><a class="link" href="harfb
|
|
1264
1283
|
</colgroup>
|
1265
1284
|
<tbody><tr>
|
1266
1285
|
<td class="parameter_name"><p>buffer</p></td>
|
1267
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1286
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1268
1287
|
<td class="parameter_annotations"> </td>
|
1269
1288
|
</tr></tbody>
|
1270
1289
|
</table></div>
|
@@ -1280,7 +1299,7 @@ hb_buffer_get_direction (<em class="parameter"><code><a class="link" href="harfb
|
|
1280
1299
|
<div class="refsect2">
|
1281
1300
|
<a name="hb-buffer-set-script"></a><h3>hb_buffer_set_script ()</h3>
|
1282
1301
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1283
|
-
hb_buffer_set_script (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1302
|
+
hb_buffer_set_script (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1284
1303
|
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> script</code></em>);</pre>
|
1285
1304
|
<p>Sets the script of <em class="parameter"><code>buffer</code></em>
|
1286
1305
|
to <em class="parameter"><code>script</code></em>
|
@@ -1302,7 +1321,7 @@ corresponding script from an ISO 15924 script tag.</p>
|
|
1302
1321
|
<tbody>
|
1303
1322
|
<tr>
|
1304
1323
|
<td class="parameter_name"><p>buffer</p></td>
|
1305
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1324
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1306
1325
|
<td class="parameter_annotations"> </td>
|
1307
1326
|
</tr>
|
1308
1327
|
<tr>
|
@@ -1319,7 +1338,7 @@ corresponding script from an ISO 15924 script tag.</p>
|
|
1319
1338
|
<div class="refsect2">
|
1320
1339
|
<a name="hb-buffer-get-script"></a><h3>hb_buffer_get_script ()</h3>
|
1321
1340
|
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="returnvalue">hb_script_t</span></a>
|
1322
|
-
hb_buffer_get_script (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1341
|
+
hb_buffer_get_script (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1323
1342
|
<p>See <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-script" title="hb_buffer_set_script ()"><code class="function">hb_buffer_set_script()</code></a>.</p>
|
1324
1343
|
<div class="refsect3">
|
1325
1344
|
<a name="hb-buffer-get-script.parameters"></a><h4>Parameters</h4>
|
@@ -1331,7 +1350,7 @@ hb_buffer_get_script (<em class="parameter"><code><a class="link" href="harfbuzz
|
|
1331
1350
|
</colgroup>
|
1332
1351
|
<tbody><tr>
|
1333
1352
|
<td class="parameter_name"><p>buffer</p></td>
|
1334
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1353
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1335
1354
|
<td class="parameter_annotations"> </td>
|
1336
1355
|
</tr></tbody>
|
1337
1356
|
</table></div>
|
@@ -1347,7 +1366,7 @@ hb_buffer_get_script (<em class="parameter"><code><a class="link" href="harfbuzz
|
|
1347
1366
|
<div class="refsect2">
|
1348
1367
|
<a name="hb-buffer-set-language"></a><h3>hb_buffer_set_language ()</h3>
|
1349
1368
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1350
|
-
hb_buffer_set_language (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1369
|
+
hb_buffer_set_language (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1351
1370
|
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> language</code></em>);</pre>
|
1352
1371
|
<p>Sets the language of <em class="parameter"><code>buffer</code></em>
|
1353
1372
|
to <em class="parameter"><code>language</code></em>
|
@@ -1369,7 +1388,7 @@ different concepts and should not be confused with each other.</p>
|
|
1369
1388
|
<tbody>
|
1370
1389
|
<tr>
|
1371
1390
|
<td class="parameter_name"><p>buffer</p></td>
|
1372
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1391
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1373
1392
|
<td class="parameter_annotations"> </td>
|
1374
1393
|
</tr>
|
1375
1394
|
<tr>
|
@@ -1386,7 +1405,7 @@ different concepts and should not be confused with each other.</p>
|
|
1386
1405
|
<div class="refsect2">
|
1387
1406
|
<a name="hb-buffer-get-language"></a><h3>hb_buffer_get_language ()</h3>
|
1388
1407
|
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="returnvalue">hb_language_t</span></a>
|
1389
|
-
hb_buffer_get_language (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1408
|
+
hb_buffer_get_language (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1390
1409
|
<p>See <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-language" title="hb_buffer_set_language ()"><code class="function">hb_buffer_set_language()</code></a>.</p>
|
1391
1410
|
<div class="refsect3">
|
1392
1411
|
<a name="hb-buffer-get-language.parameters"></a><h4>Parameters</h4>
|
@@ -1398,7 +1417,7 @@ hb_buffer_get_language (<em class="parameter"><code><a class="link" href="harfbu
|
|
1398
1417
|
</colgroup>
|
1399
1418
|
<tbody><tr>
|
1400
1419
|
<td class="parameter_name"><p>buffer</p></td>
|
1401
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1420
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1402
1421
|
<td class="parameter_annotations"> </td>
|
1403
1422
|
</tr></tbody>
|
1404
1423
|
</table></div>
|
@@ -1414,7 +1433,7 @@ hb_buffer_get_language (<em class="parameter"><code><a class="link" href="harfbu
|
|
1414
1433
|
<div class="refsect2">
|
1415
1434
|
<a name="hb-buffer-set-flags"></a><h3>hb_buffer_set_flags ()</h3>
|
1416
1435
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1417
|
-
hb_buffer_set_flags (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1436
|
+
hb_buffer_set_flags (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1418
1437
|
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-flags-t" title="enum hb_buffer_flags_t"><span class="type">hb_buffer_flags_t</span></a> flags</code></em>);</pre>
|
1419
1438
|
<p>Sets <em class="parameter"><code>buffer</code></em>
|
1420
1439
|
flags to <em class="parameter"><code>flags</code></em>
|
@@ -1430,7 +1449,7 @@ hb_buffer_set_flags (<em class="parameter"><code><a class="link" href="harfbuzz-
|
|
1430
1449
|
<tbody>
|
1431
1450
|
<tr>
|
1432
1451
|
<td class="parameter_name"><p>buffer</p></td>
|
1433
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1452
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1434
1453
|
<td class="parameter_annotations"> </td>
|
1435
1454
|
</tr>
|
1436
1455
|
<tr>
|
@@ -1447,7 +1466,7 @@ hb_buffer_set_flags (<em class="parameter"><code><a class="link" href="harfbuzz-
|
|
1447
1466
|
<div class="refsect2">
|
1448
1467
|
<a name="hb-buffer-get-flags"></a><h3>hb_buffer_get_flags ()</h3>
|
1449
1468
|
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-flags-t" title="enum hb_buffer_flags_t"><span class="returnvalue">hb_buffer_flags_t</span></a>
|
1450
|
-
hb_buffer_get_flags (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1469
|
+
hb_buffer_get_flags (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1451
1470
|
<p>See <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-flags" title="hb_buffer_set_flags ()"><code class="function">hb_buffer_set_flags()</code></a>.</p>
|
1452
1471
|
<div class="refsect3">
|
1453
1472
|
<a name="hb-buffer-get-flags.parameters"></a><h4>Parameters</h4>
|
@@ -1459,7 +1478,7 @@ hb_buffer_get_flags (<em class="parameter"><code><a class="link" href="harfbuzz-
|
|
1459
1478
|
</colgroup>
|
1460
1479
|
<tbody><tr>
|
1461
1480
|
<td class="parameter_name"><p>buffer</p></td>
|
1462
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1481
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1463
1482
|
<td class="parameter_annotations"> </td>
|
1464
1483
|
</tr></tbody>
|
1465
1484
|
</table></div>
|
@@ -1475,7 +1494,7 @@ flags.</p>
|
|
1475
1494
|
<div class="refsect2">
|
1476
1495
|
<a name="hb-buffer-set-cluster-level"></a><h3>hb_buffer_set_cluster_level ()</h3>
|
1477
1496
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1478
|
-
hb_buffer_set_cluster_level (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1497
|
+
hb_buffer_set_cluster_level (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1479
1498
|
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-cluster-level-t" title="enum hb_buffer_cluster_level_t"><span class="type">hb_buffer_cluster_level_t</span></a> cluster_level</code></em>);</pre>
|
1480
1499
|
<div class="refsect3">
|
1481
1500
|
<a name="hb-buffer-set-cluster-level.parameters"></a><h4>Parameters</h4>
|
@@ -1487,7 +1506,7 @@ hb_buffer_set_cluster_level (<em class="parameter"><code><a class="link" href="h
|
|
1487
1506
|
</colgroup>
|
1488
1507
|
<tbody><tr>
|
1489
1508
|
<td class="parameter_name"><p>buffer</p></td>
|
1490
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1509
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1491
1510
|
<td class="parameter_annotations"> </td>
|
1492
1511
|
</tr></tbody>
|
1493
1512
|
</table></div>
|
@@ -1498,7 +1517,7 @@ hb_buffer_set_cluster_level (<em class="parameter"><code><a class="link" href="h
|
|
1498
1517
|
<div class="refsect2">
|
1499
1518
|
<a name="hb-buffer-get-cluster-level"></a><h3>hb_buffer_get_cluster_level ()</h3>
|
1500
1519
|
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-cluster-level-t" title="enum hb_buffer_cluster_level_t"><span class="returnvalue">hb_buffer_cluster_level_t</span></a>
|
1501
|
-
hb_buffer_get_cluster_level (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1520
|
+
hb_buffer_get_cluster_level (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1502
1521
|
<div class="refsect3">
|
1503
1522
|
<a name="hb-buffer-get-cluster-level.parameters"></a><h4>Parameters</h4>
|
1504
1523
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1509,7 +1528,7 @@ hb_buffer_get_cluster_level (<em class="parameter"><code><a class="link" href="h
|
|
1509
1528
|
</colgroup>
|
1510
1529
|
<tbody><tr>
|
1511
1530
|
<td class="parameter_name"><p>buffer</p></td>
|
1512
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1531
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1513
1532
|
<td class="parameter_annotations"> </td>
|
1514
1533
|
</tr></tbody>
|
1515
1534
|
</table></div>
|
@@ -1520,7 +1539,7 @@ hb_buffer_get_cluster_level (<em class="parameter"><code><a class="link" href="h
|
|
1520
1539
|
<div class="refsect2">
|
1521
1540
|
<a name="hb-buffer-set-length"></a><h3>hb_buffer_set_length ()</h3>
|
1522
1541
|
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
|
1523
|
-
hb_buffer_set_length (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1542
|
+
hb_buffer_set_length (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1524
1543
|
<em class="parameter"><code>unsigned <span class="type">int</span> length</code></em>);</pre>
|
1525
1544
|
<p>Similar to <a class="link" href="harfbuzz-Buffers.html#hb-buffer-pre-allocate" title="hb_buffer_pre_allocate ()"><code class="function">hb_buffer_pre_allocate()</code></a>, but clears any new items added at the
|
1526
1545
|
end.</p>
|
@@ -1535,7 +1554,7 @@ end.</p>
|
|
1535
1554
|
<tbody>
|
1536
1555
|
<tr>
|
1537
1556
|
<td class="parameter_name"><p>buffer</p></td>
|
1538
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1557
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1539
1558
|
<td class="parameter_annotations"> </td>
|
1540
1559
|
</tr>
|
1541
1560
|
<tr>
|
@@ -1558,7 +1577,7 @@ memory allocation succeeded, <code class="literal">false</code> otherwise.</p>
|
|
1558
1577
|
<div class="refsect2">
|
1559
1578
|
<a name="hb-buffer-get-length"></a><h3>hb_buffer_get_length ()</h3>
|
1560
1579
|
<pre class="programlisting">unsigned <span class="returnvalue">int</span>
|
1561
|
-
hb_buffer_get_length (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1580
|
+
hb_buffer_get_length (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1562
1581
|
<p>Returns the number of items in the buffer.</p>
|
1563
1582
|
<div class="refsect3">
|
1564
1583
|
<a name="hb-buffer-get-length.parameters"></a><h4>Parameters</h4>
|
@@ -1570,7 +1589,7 @@ hb_buffer_get_length (<em class="parameter"><code><a class="link" href="harfbuzz
|
|
1570
1589
|
</colgroup>
|
1571
1590
|
<tbody><tr>
|
1572
1591
|
<td class="parameter_name"><p>buffer</p></td>
|
1573
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1592
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1574
1593
|
<td class="parameter_annotations"> </td>
|
1575
1594
|
</tr></tbody>
|
1576
1595
|
</table></div>
|
@@ -1587,8 +1606,8 @@ The value valid as long as buffer has not been modified.</p>
|
|
1587
1606
|
<div class="refsect2">
|
1588
1607
|
<a name="hb-buffer-set-segment-properties"></a><h3>hb_buffer_set_segment_properties ()</h3>
|
1589
1608
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1590
|
-
hb_buffer_set_segment_properties (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1591
|
-
<em class="parameter"><code>const <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"
|
1609
|
+
hb_buffer_set_segment_properties (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1610
|
+
<em class="parameter"><code>const <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a> *props</code></em>);</pre>
|
1592
1611
|
<p>Sets the segment properties of the buffer, a shortcut for calling
|
1593
1612
|
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-direction" title="hb_buffer_set_direction ()"><code class="function">hb_buffer_set_direction()</code></a>, <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-script" title="hb_buffer_set_script ()"><code class="function">hb_buffer_set_script()</code></a> and
|
1594
1613
|
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-language" title="hb_buffer_set_language ()"><code class="function">hb_buffer_set_language()</code></a> individually.</p>
|
@@ -1603,12 +1622,12 @@ hb_buffer_set_segment_properties (<em class="parameter"><code><a class="link" hr
|
|
1603
1622
|
<tbody>
|
1604
1623
|
<tr>
|
1605
1624
|
<td class="parameter_name"><p>buffer</p></td>
|
1606
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1625
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1607
1626
|
<td class="parameter_annotations"> </td>
|
1608
1627
|
</tr>
|
1609
1628
|
<tr>
|
1610
1629
|
<td class="parameter_name"><p>props</p></td>
|
1611
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"
|
1630
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a> to use.</p></td>
|
1612
1631
|
<td class="parameter_annotations"> </td>
|
1613
1632
|
</tr>
|
1614
1633
|
</tbody>
|
@@ -1620,10 +1639,10 @@ hb_buffer_set_segment_properties (<em class="parameter"><code><a class="link" hr
|
|
1620
1639
|
<div class="refsect2">
|
1621
1640
|
<a name="hb-buffer-get-segment-properties"></a><h3>hb_buffer_get_segment_properties ()</h3>
|
1622
1641
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1623
|
-
hb_buffer_get_segment_properties (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1624
|
-
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"
|
1642
|
+
hb_buffer_get_segment_properties (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1643
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a> *props</code></em>);</pre>
|
1625
1644
|
<p>Sets <em class="parameter"><code>props</code></em>
|
1626
|
-
to the <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"
|
1645
|
+
to the <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a> of <em class="parameter"><code>buffer</code></em>
|
1627
1646
|
.</p>
|
1628
1647
|
<div class="refsect3">
|
1629
1648
|
<a name="hb-buffer-get-segment-properties.parameters"></a><h4>Parameters</h4>
|
@@ -1636,12 +1655,12 @@ hb_buffer_get_segment_properties (<em class="parameter"><code><a class="link" hr
|
|
1636
1655
|
<tbody>
|
1637
1656
|
<tr>
|
1638
1657
|
<td class="parameter_name"><p>buffer</p></td>
|
1639
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1658
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1640
1659
|
<td class="parameter_annotations"> </td>
|
1641
1660
|
</tr>
|
1642
1661
|
<tr>
|
1643
1662
|
<td class="parameter_name"><p>props</p></td>
|
1644
|
-
<td class="parameter_description"><p>
|
1663
|
+
<td class="parameter_description"><p>the output <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a>. </p></td>
|
1645
1664
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
1646
1665
|
</tr>
|
1647
1666
|
</tbody>
|
@@ -1653,14 +1672,14 @@ hb_buffer_get_segment_properties (<em class="parameter"><code><a class="link" hr
|
|
1653
1672
|
<div class="refsect2">
|
1654
1673
|
<a name="hb-buffer-guess-segment-properties"></a><h3>hb_buffer_guess_segment_properties ()</h3>
|
1655
1674
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1656
|
-
hb_buffer_guess_segment_properties (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1675
|
+
hb_buffer_guess_segment_properties (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1657
1676
|
<p>Sets unset buffer segment properties based on buffer Unicode
|
1658
1677
|
contents. If buffer is not empty, it must have content type
|
1659
1678
|
<a class="link" href="harfbuzz-Buffers.html#HB-BUFFER-CONTENT-TYPE-UNICODE:CAPS"><code class="literal">HB_BUFFER_CONTENT_TYPE_UNICODE</code></a>.</p>
|
1660
1679
|
<p>If buffer script is not set (ie. is <a class="link" href="harfbuzz-hb-common.html#HB-SCRIPT-INVALID:CAPS"><code class="literal">HB_SCRIPT_INVALID</code></a>), it
|
1661
1680
|
will be set to the Unicode script of the first character in
|
1662
|
-
the buffer that has a script other than <a
|
1663
|
-
<a
|
1681
|
+
the buffer that has a script other than <a href="harfbuzz-hb-common.html#HB-SCRIPT-COMMON:CAPS"><code class="literal">HB_SCRIPT_COMMON</code></a>,
|
1682
|
+
<a href="harfbuzz-hb-common.html#HB-SCRIPT-INHERITED:CAPS"><code class="literal">HB_SCRIPT_INHERITED</code></a>, and <a href="harfbuzz-hb-common.html#HB-SCRIPT-UNKNOWN:CAPS"><code class="literal">HB_SCRIPT_UNKNOWN</code></a>.</p>
|
1664
1683
|
<p>Next, if buffer direction is not set (ie. is <a class="link" href="harfbuzz-hb-common.html#HB-DIRECTION-INVALID:CAPS"><code class="literal">HB_DIRECTION_INVALID</code></a>),
|
1665
1684
|
it will be set to the natural horizontal direction of the
|
1666
1685
|
buffer script as returned by <a class="link" href="harfbuzz-hb-common.html#hb-script-get-horizontal-direction" title="hb_script_get_horizontal_direction ()"><code class="function">hb_script_get_horizontal_direction()</code></a>.</p>
|
@@ -1678,7 +1697,7 @@ taking buffer script into consideration when choosing a language.</p>
|
|
1678
1697
|
</colgroup>
|
1679
1698
|
<tbody><tr>
|
1680
1699
|
<td class="parameter_name"><p>buffer</p></td>
|
1681
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1700
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1682
1701
|
<td class="parameter_annotations"> </td>
|
1683
1702
|
</tr></tbody>
|
1684
1703
|
</table></div>
|
@@ -1689,8 +1708,8 @@ taking buffer script into consideration when choosing a language.</p>
|
|
1689
1708
|
<div class="refsect2">
|
1690
1709
|
<a name="hb-buffer-set-unicode-funcs"></a><h3>hb_buffer_set_unicode_funcs ()</h3>
|
1691
1710
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1692
|
-
hb_buffer_set_unicode_funcs (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1693
|
-
<em class="parameter"><code><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t"
|
1711
|
+
hb_buffer_set_unicode_funcs (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1712
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t"><span class="type">hb_unicode_funcs_t</span></a> *unicode_funcs</code></em>);</pre>
|
1694
1713
|
<div class="refsect3">
|
1695
1714
|
<a name="hb-buffer-set-unicode-funcs.parameters"></a><h4>Parameters</h4>
|
1696
1715
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1701,7 +1720,7 @@ hb_buffer_set_unicode_funcs (<em class="parameter"><code><a class="link" href="h
|
|
1701
1720
|
</colgroup>
|
1702
1721
|
<tbody><tr>
|
1703
1722
|
<td class="parameter_name"><p>buffer</p></td>
|
1704
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1723
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1705
1724
|
<td class="parameter_annotations"> </td>
|
1706
1725
|
</tr></tbody>
|
1707
1726
|
</table></div>
|
@@ -1711,8 +1730,8 @@ hb_buffer_set_unicode_funcs (<em class="parameter"><code><a class="link" href="h
|
|
1711
1730
|
<hr>
|
1712
1731
|
<div class="refsect2">
|
1713
1732
|
<a name="hb-buffer-get-unicode-funcs"></a><h3>hb_buffer_get_unicode_funcs ()</h3>
|
1714
|
-
<pre class="programlisting"><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t"
|
1715
|
-
hb_buffer_get_unicode_funcs (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1733
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t"><span class="returnvalue">hb_unicode_funcs_t</span></a> *
|
1734
|
+
hb_buffer_get_unicode_funcs (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1716
1735
|
<div class="refsect3">
|
1717
1736
|
<a name="hb-buffer-get-unicode-funcs.parameters"></a><h4>Parameters</h4>
|
1718
1737
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1723,7 +1742,7 @@ hb_buffer_get_unicode_funcs (<em class="parameter"><code><a class="link" href="h
|
|
1723
1742
|
</colgroup>
|
1724
1743
|
<tbody><tr>
|
1725
1744
|
<td class="parameter_name"><p>buffer</p></td>
|
1726
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1745
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1727
1746
|
<td class="parameter_annotations"> </td>
|
1728
1747
|
</tr></tbody>
|
1729
1748
|
</table></div>
|
@@ -1734,8 +1753,8 @@ hb_buffer_get_unicode_funcs (<em class="parameter"><code><a class="link" href="h
|
|
1734
1753
|
<div class="refsect2">
|
1735
1754
|
<a name="hb-buffer-set-user-data"></a><h3>hb_buffer_set_user_data ()</h3>
|
1736
1755
|
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
|
1737
|
-
hb_buffer_set_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1738
|
-
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"
|
1756
|
+
hb_buffer_set_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1757
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>,
|
1739
1758
|
<em class="parameter"><code><span class="type">void</span> *data</code></em>,
|
1740
1759
|
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>,
|
1741
1760
|
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="type">hb_bool_t</span></a> replace</code></em>);</pre>
|
@@ -1750,7 +1769,7 @@ hb_buffer_set_user_data (<em class="parameter"><code><a class="link" href="harfb
|
|
1750
1769
|
</colgroup>
|
1751
1770
|
<tbody><tr>
|
1752
1771
|
<td class="parameter_name"><p>buffer</p></td>
|
1753
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1772
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1754
1773
|
<td class="parameter_annotations"> </td>
|
1755
1774
|
</tr></tbody>
|
1756
1775
|
</table></div>
|
@@ -1761,8 +1780,8 @@ hb_buffer_set_user_data (<em class="parameter"><code><a class="link" href="harfb
|
|
1761
1780
|
<div class="refsect2">
|
1762
1781
|
<a name="hb-buffer-get-user-data"></a><h3>hb_buffer_get_user_data ()</h3>
|
1763
1782
|
<pre class="programlisting"><span class="returnvalue">void</span> *
|
1764
|
-
hb_buffer_get_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1765
|
-
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"
|
1783
|
+
hb_buffer_get_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1784
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>);</pre>
|
1766
1785
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
1767
1786
|
<div class="refsect3">
|
1768
1787
|
<a name="hb-buffer-get-user-data.parameters"></a><h4>Parameters</h4>
|
@@ -1774,7 +1793,7 @@ hb_buffer_get_user_data (<em class="parameter"><code><a class="link" href="harfb
|
|
1774
1793
|
</colgroup>
|
1775
1794
|
<tbody><tr>
|
1776
1795
|
<td class="parameter_name"><p>buffer</p></td>
|
1777
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1796
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1778
1797
|
<td class="parameter_annotations"> </td>
|
1779
1798
|
</tr></tbody>
|
1780
1799
|
</table></div>
|
@@ -1784,8 +1803,8 @@ hb_buffer_get_user_data (<em class="parameter"><code><a class="link" href="harfb
|
|
1784
1803
|
<hr>
|
1785
1804
|
<div class="refsect2">
|
1786
1805
|
<a name="hb-buffer-get-glyph-infos"></a><h3>hb_buffer_get_glyph_infos ()</h3>
|
1787
|
-
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"
|
1788
|
-
hb_buffer_get_glyph_infos (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1806
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"><span class="returnvalue">hb_glyph_info_t</span></a> *
|
1807
|
+
hb_buffer_get_glyph_infos (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1789
1808
|
<em class="parameter"><code>unsigned <span class="type">int</span> *length</code></em>);</pre>
|
1790
1809
|
<p>Returns <em class="parameter"><code>buffer</code></em>
|
1791
1810
|
glyph information array. Returned pointer
|
@@ -1802,12 +1821,12 @@ is valid as long as <em class="parameter"><code>buffer</code></em>
|
|
1802
1821
|
<tbody>
|
1803
1822
|
<tr>
|
1804
1823
|
<td class="parameter_name"><p>buffer</p></td>
|
1805
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1824
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1806
1825
|
<td class="parameter_annotations"> </td>
|
1807
1826
|
</tr>
|
1808
1827
|
<tr>
|
1809
1828
|
<td class="parameter_name"><p>length</p></td>
|
1810
|
-
<td class="parameter_description"><p>
|
1829
|
+
<td class="parameter_description"><p>output array length. </p></td>
|
1811
1830
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
1812
1831
|
</tr>
|
1813
1832
|
</tbody>
|
@@ -1825,8 +1844,8 @@ The value valid as long as buffer has not been modified. </p>
|
|
1825
1844
|
<hr>
|
1826
1845
|
<div class="refsect2">
|
1827
1846
|
<a name="hb-buffer-get-glyph-positions"></a><h3>hb_buffer_get_glyph_positions ()</h3>
|
1828
|
-
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t"
|
1829
|
-
hb_buffer_get_glyph_positions (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1847
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t"><span class="returnvalue">hb_glyph_position_t</span></a> *
|
1848
|
+
hb_buffer_get_glyph_positions (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1830
1849
|
<em class="parameter"><code>unsigned <span class="type">int</span> *length</code></em>);</pre>
|
1831
1850
|
<p>Returns <em class="parameter"><code>buffer</code></em>
|
1832
1851
|
glyph position array. Returned pointer
|
@@ -1843,12 +1862,12 @@ is valid as long as <em class="parameter"><code>buffer</code></em>
|
|
1843
1862
|
<tbody>
|
1844
1863
|
<tr>
|
1845
1864
|
<td class="parameter_name"><p>buffer</p></td>
|
1846
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1865
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1847
1866
|
<td class="parameter_annotations"> </td>
|
1848
1867
|
</tr>
|
1849
1868
|
<tr>
|
1850
1869
|
<td class="parameter_name"><p>length</p></td>
|
1851
|
-
<td class="parameter_description"><p>
|
1870
|
+
<td class="parameter_description"><p>output length. </p></td>
|
1852
1871
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
1853
1872
|
</tr>
|
1854
1873
|
</tbody>
|
@@ -1867,7 +1886,7 @@ The value valid as long as buffer has not been modified. </p>
|
|
1867
1886
|
<div class="refsect2">
|
1868
1887
|
<a name="hb-buffer-set-replacement-codepoint"></a><h3>hb_buffer_set_replacement_codepoint ()</h3>
|
1869
1888
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1870
|
-
hb_buffer_set_replacement_codepoint (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1889
|
+
hb_buffer_set_replacement_codepoint (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1871
1890
|
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> replacement</code></em>);</pre>
|
1872
1891
|
<p>Sets the <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> that replaces invalid entries for a given encoding
|
1873
1892
|
when adding text to <em class="parameter"><code>buffer</code></em>
|
@@ -1884,7 +1903,7 @@ when adding text to <em class="parameter"><code>buffer</code></em>
|
|
1884
1903
|
<tbody>
|
1885
1904
|
<tr>
|
1886
1905
|
<td class="parameter_name"><p>buffer</p></td>
|
1887
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1906
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1888
1907
|
<td class="parameter_annotations"> </td>
|
1889
1908
|
</tr>
|
1890
1909
|
<tr>
|
@@ -1901,7 +1920,7 @@ when adding text to <em class="parameter"><code>buffer</code></em>
|
|
1901
1920
|
<div class="refsect2">
|
1902
1921
|
<a name="hb-buffer-get-replacement-codepoint"></a><h3>hb_buffer_get_replacement_codepoint ()</h3>
|
1903
1922
|
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
|
1904
|
-
hb_buffer_get_replacement_codepoint (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1923
|
+
hb_buffer_get_replacement_codepoint (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1905
1924
|
<p>See <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-replacement-codepoint" title="hb_buffer_set_replacement_codepoint ()"><code class="function">hb_buffer_set_replacement_codepoint()</code></a>.</p>
|
1906
1925
|
<div class="refsect3">
|
1907
1926
|
<a name="hb-buffer-get-replacement-codepoint.parameters"></a><h4>Parameters</h4>
|
@@ -1913,7 +1932,7 @@ hb_buffer_get_replacement_codepoint (<em class="parameter"><code><a class="link"
|
|
1913
1932
|
</colgroup>
|
1914
1933
|
<tbody><tr>
|
1915
1934
|
<td class="parameter_name"><p>buffer</p></td>
|
1916
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1935
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1917
1936
|
<td class="parameter_annotations"> </td>
|
1918
1937
|
</tr></tbody>
|
1919
1938
|
</table></div>
|
@@ -1929,7 +1948,7 @@ replacement <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title=
|
|
1929
1948
|
<div class="refsect2">
|
1930
1949
|
<a name="hb-buffer-normalize-glyphs"></a><h3>hb_buffer_normalize_glyphs ()</h3>
|
1931
1950
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1932
|
-
hb_buffer_normalize_glyphs (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1951
|
+
hb_buffer_normalize_glyphs (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1933
1952
|
<p>Reorders a glyph buffer to have canonical in-cluster glyph order / position.
|
1934
1953
|
The resulting clusters should behave identical to pre-reordering clusters.</p>
|
1935
1954
|
<div class="note">This has nothing to do with Unicode normalization.</div>
|
@@ -1943,7 +1962,7 @@ The resulting clusters should behave identical to pre-reordering clusters.</p>
|
|
1943
1962
|
</colgroup>
|
1944
1963
|
<tbody><tr>
|
1945
1964
|
<td class="parameter_name"><p>buffer</p></td>
|
1946
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1965
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1947
1966
|
<td class="parameter_annotations"> </td>
|
1948
1967
|
</tr></tbody>
|
1949
1968
|
</table></div>
|
@@ -1954,7 +1973,7 @@ The resulting clusters should behave identical to pre-reordering clusters.</p>
|
|
1954
1973
|
<div class="refsect2">
|
1955
1974
|
<a name="hb-buffer-reverse"></a><h3>hb_buffer_reverse ()</h3>
|
1956
1975
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1957
|
-
hb_buffer_reverse (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1976
|
+
hb_buffer_reverse (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
1958
1977
|
<p>Reverses buffer contents.</p>
|
1959
1978
|
<div class="refsect3">
|
1960
1979
|
<a name="hb-buffer-reverse.parameters"></a><h4>Parameters</h4>
|
@@ -1966,7 +1985,7 @@ hb_buffer_reverse (<em class="parameter"><code><a class="link" href="harfbuzz-Bu
|
|
1966
1985
|
</colgroup>
|
1967
1986
|
<tbody><tr>
|
1968
1987
|
<td class="parameter_name"><p>buffer</p></td>
|
1969
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1988
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1970
1989
|
<td class="parameter_annotations"> </td>
|
1971
1990
|
</tr></tbody>
|
1972
1991
|
</table></div>
|
@@ -1977,7 +1996,7 @@ hb_buffer_reverse (<em class="parameter"><code><a class="link" href="harfbuzz-Bu
|
|
1977
1996
|
<div class="refsect2">
|
1978
1997
|
<a name="hb-buffer-reverse-range"></a><h3>hb_buffer_reverse_range ()</h3>
|
1979
1998
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1980
|
-
hb_buffer_reverse_range (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
1999
|
+
hb_buffer_reverse_range (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
1981
2000
|
<em class="parameter"><code>unsigned <span class="type">int</span> start</code></em>,
|
1982
2001
|
<em class="parameter"><code>unsigned <span class="type">int</span> end</code></em>);</pre>
|
1983
2002
|
<p>Reverses buffer contents between start to end.</p>
|
@@ -1992,7 +2011,7 @@ hb_buffer_reverse_range (<em class="parameter"><code><a class="link" href="harfb
|
|
1992
2011
|
<tbody>
|
1993
2012
|
<tr>
|
1994
2013
|
<td class="parameter_name"><p>buffer</p></td>
|
1995
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2014
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
1996
2015
|
<td class="parameter_annotations"> </td>
|
1997
2016
|
</tr>
|
1998
2017
|
<tr>
|
@@ -2014,7 +2033,7 @@ hb_buffer_reverse_range (<em class="parameter"><code><a class="link" href="harfb
|
|
2014
2033
|
<div class="refsect2">
|
2015
2034
|
<a name="hb-buffer-reverse-clusters"></a><h3>hb_buffer_reverse_clusters ()</h3>
|
2016
2035
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2017
|
-
hb_buffer_reverse_clusters (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2036
|
+
hb_buffer_reverse_clusters (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
2018
2037
|
<p>Reverses buffer clusters. That is, the buffer contents are
|
2019
2038
|
reversed, then each cluster (consecutive items having the
|
2020
2039
|
same cluster number) are reversed again.</p>
|
@@ -2028,7 +2047,7 @@ same cluster number) are reversed again.</p>
|
|
2028
2047
|
</colgroup>
|
2029
2048
|
<tbody><tr>
|
2030
2049
|
<td class="parameter_name"><p>buffer</p></td>
|
2031
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2050
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
2032
2051
|
<td class="parameter_annotations"> </td>
|
2033
2052
|
</tr></tbody>
|
2034
2053
|
</table></div>
|
@@ -2039,13 +2058,13 @@ same cluster number) are reversed again.</p>
|
|
2039
2058
|
<div class="refsect2">
|
2040
2059
|
<a name="hb-buffer-serialize-glyphs"></a><h3>hb_buffer_serialize_glyphs ()</h3>
|
2041
2060
|
<pre class="programlisting">unsigned <span class="returnvalue">int</span>
|
2042
|
-
hb_buffer_serialize_glyphs (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2061
|
+
hb_buffer_serialize_glyphs (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
2043
2062
|
<em class="parameter"><code>unsigned <span class="type">int</span> start</code></em>,
|
2044
2063
|
<em class="parameter"><code>unsigned <span class="type">int</span> end</code></em>,
|
2045
2064
|
<em class="parameter"><code><span class="type">char</span> *buf</code></em>,
|
2046
2065
|
<em class="parameter"><code>unsigned <span class="type">int</span> buf_size</code></em>,
|
2047
2066
|
<em class="parameter"><code>unsigned <span class="type">int</span> *buf_consumed</code></em>,
|
2048
|
-
<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"
|
2067
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
|
2049
2068
|
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="type">hb_buffer_serialize_format_t</span></a> format</code></em>,
|
2050
2069
|
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-serialize-flags-t" title="enum hb_buffer_serialize_flags_t"><span class="type">hb_buffer_serialize_flags_t</span></a> flags</code></em>);</pre>
|
2051
2070
|
<p>Serializes <em class="parameter"><code>buffer</code></em>
|
@@ -2053,7 +2072,7 @@ hb_buffer_serialize_glyphs (<em class="parameter"><code><a class="link" href="ha
|
|
2053
2072
|
useful for showing the contents of the buffer, for example during debugging.
|
2054
2073
|
There are currently two supported serialization formats:</p>
|
2055
2074
|
<div class="refsect3">
|
2056
|
-
<a name="id-1.3.3.5.
|
2075
|
+
<a name="id-1.3.3.5.12.46.5"></a><h4>text</h4>
|
2057
2076
|
<p>A human-readable, plain text format.
|
2058
2077
|
The serialized glyphs will look something like:</p>
|
2059
2078
|
<p><code class="literal">
|
@@ -2066,23 +2085,23 @@ The serialized glyphs will look something like:</p>
|
|
2066
2085
|
<p>Each glyph starts with glyph name, or glyph index if
|
2067
2086
|
<a class="link" href="harfbuzz-Buffers.html#HB-BUFFER-SERIALIZE-FLAG-NO-GLYPH-NAMES:CAPS"><span class="type">HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES</span></a> flag is set. Then,</p>
|
2068
2087
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; ">
|
2069
|
-
<li class="listitem"><p>If <a class="link" href="harfbuzz-Buffers.html#HB-BUFFER-SERIALIZE-FLAG-NO-CLUSTERS:CAPS"><span class="type">HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS</span></a> is not set, <code class="literal">=</code> then <
|
2088
|
+
<li class="listitem"><p>If <a class="link" href="harfbuzz-Buffers.html#HB-BUFFER-SERIALIZE-FLAG-NO-CLUSTERS:CAPS"><span class="type">HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS</span></a> is not set, <code class="literal">=</code> then <span class="type">hb_glyph_info_t.cluster</span>.</p></li>
|
2070
2089
|
<li class="listitem">
|
2071
|
-
<p>If <a class="link" href="harfbuzz-Buffers.html#HB-BUFFER-SERIALIZE-FLAG-NO-POSITIONS:CAPS"><span class="type">HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS</span></a> is not set, the <a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t"
|
2090
|
+
<p>If <a class="link" href="harfbuzz-Buffers.html#HB-BUFFER-SERIALIZE-FLAG-NO-POSITIONS:CAPS"><span class="type">HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS</span></a> is not set, the <a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t"><span class="type">hb_glyph_position_t</span></a> in the format:</p>
|
2072
2091
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: square; ">
|
2073
|
-
<li class="listitem"><p>If both <
|
2074
|
-
<li class="listitem"><p><code class="literal">+x_advance</code>, then <code class="literal">,y_advance</code> if <
|
2092
|
+
<li class="listitem"><p>If both <span class="type">hb_glyph_position_t.x_offset</span> and <span class="type">hb_glyph_position_t.y_offset</span> are not 0, <code class="literal">@x_offset,y_offset</code>. Then,</p></li>
|
2093
|
+
<li class="listitem"><p><code class="literal">+x_advance</code>, then <code class="literal">,y_advance</code> if <span class="type">hb_glyph_position_t.y_advance</span> is not 0. Then,</p></li>
|
2075
2094
|
</ul></div>
|
2076
2095
|
</li>
|
2077
2096
|
<li class="listitem"><p>If <a class="link" href="harfbuzz-Buffers.html#HB-BUFFER-SERIALIZE-FLAG-GLYPH-EXTENTS:CAPS"><span class="type">HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS</span></a> is set, the
|
2078
2097
|
<span class="type">hb_glyph_extents_t</span> in the format
|
2079
|
-
<code class="literal"><x_bearing,y_bearing,width,height></code></p></li>
|
2098
|
+
<code class="literal">&lt;x_bearing,y_bearing,width,height&gt;</code></p></li>
|
2080
2099
|
</ul></div>
|
2081
2100
|
</li>
|
2082
2101
|
</ul></div>
|
2083
2102
|
</div>
|
2084
2103
|
<div class="refsect3">
|
2085
|
-
<a name="id-1.3.3.5.
|
2104
|
+
<a name="id-1.3.3.5.12.46.6"></a><h4>json</h4>
|
2086
2105
|
<p>TODO.</p>
|
2087
2106
|
</div>
|
2088
2107
|
<div class="refsect3">
|
@@ -2096,7 +2115,7 @@ The serialized glyphs will look something like:</p>
|
|
2096
2115
|
<tbody>
|
2097
2116
|
<tr>
|
2098
2117
|
<td class="parameter_name"><p>buffer</p></td>
|
2099
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2118
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> buffer.</p></td>
|
2100
2119
|
<td class="parameter_annotations"> </td>
|
2101
2120
|
</tr>
|
2102
2121
|
<tr>
|
@@ -2113,7 +2132,7 @@ to serialize.</p></td>
|
|
2113
2132
|
</tr>
|
2114
2133
|
<tr>
|
2115
2134
|
<td class="parameter_name"><p>buf</p></td>
|
2116
|
-
<td class="parameter_description"><p>
|
2135
|
+
<td class="parameter_description"><p>output string to
|
2117
2136
|
write serialized buffer into. </p></td>
|
2118
2137
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=buf_size][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> uint8_t]</span></td>
|
2119
2138
|
</tr>
|
@@ -2125,14 +2144,14 @@ write serialized buffer into. </p></td>
|
|
2125
2144
|
</tr>
|
2126
2145
|
<tr>
|
2127
2146
|
<td class="parameter_name"><p>buf_consumed</p></td>
|
2128
|
-
<td class="parameter_description"><p>
|
2147
|
+
<td class="parameter_description"><p>if not <code class="literal">NULL</code>, will be set to the number of byes written into <em class="parameter"><code>buf</code></em>
|
2129
2148
|
. </p></td>
|
2130
2149
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2131
2150
|
</tr>
|
2132
2151
|
<tr>
|
2133
2152
|
<td class="parameter_name"><p>font</p></td>
|
2134
|
-
<td class="parameter_description"><p>
|
2135
|
-
read glyph names and extents. If <
|
2153
|
+
<td class="parameter_description"><p>the <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> used to shape this buffer, needed to
|
2154
|
+
read glyph names and extents. If <code class="literal">NULL</code>, and empty font will be used. </p></td>
|
2136
2155
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2137
2156
|
</tr>
|
2138
2157
|
<tr>
|
@@ -2159,11 +2178,11 @@ to serialize.</p></td>
|
|
2159
2178
|
<div class="refsect2">
|
2160
2179
|
<a name="hb-buffer-deserialize-glyphs"></a><h3>hb_buffer_deserialize_glyphs ()</h3>
|
2161
2180
|
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
|
2162
|
-
hb_buffer_deserialize_glyphs (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2181
|
+
hb_buffer_deserialize_glyphs (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
2163
2182
|
<em class="parameter"><code>const <span class="type">char</span> *buf</code></em>,
|
2164
2183
|
<em class="parameter"><code><span class="type">int</span> buf_len</code></em>,
|
2165
2184
|
<em class="parameter"><code>const <span class="type">char</span> **end_ptr</code></em>,
|
2166
|
-
<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"
|
2185
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
|
2167
2186
|
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="type">hb_buffer_serialize_format_t</span></a> format</code></em>);</pre>
|
2168
2187
|
<div class="refsect3">
|
2169
2188
|
<a name="hb-buffer-deserialize-glyphs.parameters"></a><h4>Parameters</h4>
|
@@ -2176,7 +2195,7 @@ hb_buffer_deserialize_glyphs (<em class="parameter"><code><a class="link" href="
|
|
2176
2195
|
<tbody>
|
2177
2196
|
<tr>
|
2178
2197
|
<td class="parameter_name"><p>buffer</p></td>
|
2179
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2198
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> buffer.</p></td>
|
2180
2199
|
<td class="parameter_annotations"> </td>
|
2181
2200
|
</tr>
|
2182
2201
|
<tr>
|
@@ -2216,13 +2235,13 @@ hb_buffer_serialize_format_from_string
|
|
2216
2235
|
<tbody>
|
2217
2236
|
<tr>
|
2218
2237
|
<td class="parameter_name"><p>str</p></td>
|
2219
|
-
<td class="parameter_description"><p>
|
2238
|
+
<td class="parameter_description"><p>a string to parse. </p></td>
|
2220
2239
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=len][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> uint8_t]</span></td>
|
2221
2240
|
</tr>
|
2222
2241
|
<tr>
|
2223
2242
|
<td class="parameter_name"><p>len</p></td>
|
2224
2243
|
<td class="parameter_description"><p>length of <em class="parameter"><code>str</code></em>
|
2225
|
-
, or -1 if string is <
|
2244
|
+
, or -1 if string is <code class="literal">NULL</code> terminated</p></td>
|
2226
2245
|
<td class="parameter_annotations"> </td>
|
2227
2246
|
</tr>
|
2228
2247
|
</tbody>
|
@@ -2240,7 +2259,7 @@ hb_buffer_serialize_format_from_string
|
|
2240
2259
|
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
2241
2260
|
hb_buffer_serialize_format_to_string (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="type">hb_buffer_serialize_format_t</span></a> format</code></em>);</pre>
|
2242
2261
|
<p>Converts <em class="parameter"><code>format</code></em>
|
2243
|
-
to the string corresponding it, or <
|
2262
|
+
to the string corresponding it, or <code class="literal">NULL</code> if it is not a valid
|
2244
2263
|
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="type">hb_buffer_serialize_format_t</span></a>.</p>
|
2245
2264
|
<div class="refsect3">
|
2246
2265
|
<a name="hb-buffer-serialize-format-to-string.parameters"></a><h4>Parameters</h4>
|
@@ -2259,7 +2278,7 @@ hb_buffer_serialize_format_to_string (<em class="parameter"><code><a class="link
|
|
2259
2278
|
</div>
|
2260
2279
|
<div class="refsect3">
|
2261
2280
|
<a name="hb-buffer-serialize-format-to-string.returns"></a><h4>Returns</h4>
|
2262
|
-
<p>A <
|
2281
|
+
<p>A <code class="literal">NULL</code> terminated string corresponding to <em class="parameter"><code>format</code></em>
|
2263
2282
|
. Should not be freed. </p>
|
2264
2283
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2265
2284
|
</div>
|
@@ -2282,9 +2301,9 @@ hb_buffer_serialize_list_formats (<em class="parameter"><code><span class="type"
|
|
2282
2301
|
<div class="refsect2">
|
2283
2302
|
<a name="hb-segment-properties-equal"></a><h3>hb_segment_properties_equal ()</h3>
|
2284
2303
|
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
|
2285
|
-
hb_segment_properties_equal (<em class="parameter"><code>const <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"
|
2286
|
-
<em class="parameter"><code>const <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"
|
2287
|
-
<p>Checks the equality of two <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"
|
2304
|
+
hb_segment_properties_equal (<em class="parameter"><code>const <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a> *a</code></em>,
|
2305
|
+
<em class="parameter"><code>const <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a> *b</code></em>);</pre>
|
2306
|
+
<p>Checks the equality of two <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a>'s.</p>
|
2288
2307
|
<div class="refsect3">
|
2289
2308
|
<a name="hb-segment-properties-equal.parameters"></a><h4>Parameters</h4>
|
2290
2309
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -2296,12 +2315,12 @@ hb_segment_properties_equal (<em class="parameter"><code>const <a class="link" h
|
|
2296
2315
|
<tbody>
|
2297
2316
|
<tr>
|
2298
2317
|
<td class="parameter_name"><p>a</p></td>
|
2299
|
-
<td class="parameter_description"><p>first <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"
|
2318
|
+
<td class="parameter_description"><p>first <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a> to compare.</p></td>
|
2300
2319
|
<td class="parameter_annotations"> </td>
|
2301
2320
|
</tr>
|
2302
2321
|
<tr>
|
2303
2322
|
<td class="parameter_name"><p>b</p></td>
|
2304
|
-
<td class="parameter_description"><p>second <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"
|
2323
|
+
<td class="parameter_description"><p>second <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a> to compare.</p></td>
|
2305
2324
|
<td class="parameter_annotations"> </td>
|
2306
2325
|
</tr>
|
2307
2326
|
</tbody>
|
@@ -2319,7 +2338,7 @@ equal those of <em class="parameter"><code>b</code></em>
|
|
2319
2338
|
<div class="refsect2">
|
2320
2339
|
<a name="hb-segment-properties-hash"></a><h3>hb_segment_properties_hash ()</h3>
|
2321
2340
|
<pre class="programlisting">unsigned <span class="returnvalue">int</span>
|
2322
|
-
hb_segment_properties_hash (<em class="parameter"><code>const <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"
|
2341
|
+
hb_segment_properties_hash (<em class="parameter"><code>const <a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a> *p</code></em>);</pre>
|
2323
2342
|
<p>Creates a hash representing <em class="parameter"><code>p</code></em>
|
2324
2343
|
.</p>
|
2325
2344
|
<div class="refsect3">
|
@@ -2332,7 +2351,7 @@ hb_segment_properties_hash (<em class="parameter"><code>const <a class="link" hr
|
|
2332
2351
|
</colgroup>
|
2333
2352
|
<tbody><tr>
|
2334
2353
|
<td class="parameter_name"><p>p</p></td>
|
2335
|
-
<td class="parameter_description"><p><a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"
|
2354
|
+
<td class="parameter_description"><p><a class="link" href="harfbuzz-Buffers.html#hb-segment-properties-t"><span class="type">hb_segment_properties_t</span></a> to hash.</p></td>
|
2336
2355
|
<td class="parameter_annotations"> </td>
|
2337
2356
|
</tr></tbody>
|
2338
2357
|
</table></div>
|
@@ -2348,8 +2367,8 @@ hb_segment_properties_hash (<em class="parameter"><code>const <a class="link" hr
|
|
2348
2367
|
<div class="refsect2">
|
2349
2368
|
<a name="hb-buffer-diff"></a><h3>hb_buffer_diff ()</h3>
|
2350
2369
|
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-buffer-diff-flags-t" title="enum hb_buffer_diff_flags_t"><span class="returnvalue">hb_buffer_diff_flags_t</span></a>
|
2351
|
-
hb_buffer_diff (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2352
|
-
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2370
|
+
hb_buffer_diff (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
2371
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *reference</code></em>,
|
2353
2372
|
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> dottedcircle_glyph</code></em>,
|
2354
2373
|
<em class="parameter"><code>unsigned <span class="type">int</span> position_fuzz</code></em>);</pre>
|
2355
2374
|
<p>If dottedcircle_glyph is (hb_codepoint_t) -1 then <a class="link" href="harfbuzz-Buffers.html#HB-BUFFER-DIFF-FLAG-DOTTED-CIRCLE-PRESENT:CAPS"><code class="literal">HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT</code></a>
|
@@ -2361,7 +2380,7 @@ callers if just comparing two buffers is needed.</p>
|
|
2361
2380
|
<div class="refsect2">
|
2362
2381
|
<a name="hb-buffer-set-message-func"></a><h3>hb_buffer_set_message_func ()</h3>
|
2363
2382
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2364
|
-
hb_buffer_set_message_func (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2383
|
+
hb_buffer_set_message_func (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
2365
2384
|
<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-message-func-t" title="hb_buffer_message_func_t ()"><span class="type">hb_buffer_message_func_t</span></a> func</code></em>,
|
2366
2385
|
<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
|
2367
2386
|
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
|
@@ -2376,7 +2395,7 @@ hb_buffer_set_message_func (<em class="parameter"><code><a class="link" href="ha
|
|
2376
2395
|
<tbody>
|
2377
2396
|
<tr>
|
2378
2397
|
<td class="parameter_name"><p>buffer</p></td>
|
2379
|
-
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2398
|
+
<td class="parameter_description"><p>an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>.</p></td>
|
2380
2399
|
<td class="parameter_annotations"> </td>
|
2381
2400
|
</tr>
|
2382
2401
|
<tr>
|
@@ -2393,8 +2412,8 @@ hb_buffer_set_message_func (<em class="parameter"><code><a class="link" href="ha
|
|
2393
2412
|
<div class="refsect2">
|
2394
2413
|
<a name="hb-glyph-info-get-glyph-flags"></a><h3>hb_glyph_info_get_glyph_flags ()</h3>
|
2395
2414
|
<pre class="programlisting"><a class="link" href="harfbuzz-Buffers.html#hb-glyph-flags-t" title="enum hb_glyph_flags_t"><span class="returnvalue">hb_glyph_flags_t</span></a>
|
2396
|
-
hb_glyph_info_get_glyph_flags (<em class="parameter"><code>const <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"
|
2397
|
-
<p>Returns glyph flags encoded within a <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"
|
2415
|
+
hb_glyph_info_get_glyph_flags (<em class="parameter"><code>const <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"><span class="type">hb_glyph_info_t</span></a> *info</code></em>);</pre>
|
2416
|
+
<p>Returns glyph flags encoded within a <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"><span class="type">hb_glyph_info_t</span></a>.</p>
|
2398
2417
|
<div class="refsect3">
|
2399
2418
|
<a name="hb-glyph-info-get-glyph-flags.parameters"></a><h4>Parameters</h4>
|
2400
2419
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -2405,7 +2424,7 @@ hb_glyph_info_get_glyph_flags (<em class="parameter"><code>const <a class="link"
|
|
2405
2424
|
</colgroup>
|
2406
2425
|
<tbody><tr>
|
2407
2426
|
<td class="parameter_name"><p>info</p></td>
|
2408
|
-
<td class="parameter_description"><p>a <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"
|
2427
|
+
<td class="parameter_description"><p>a <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"><span class="type">hb_glyph_info_t</span></a>.</p></td>
|
2409
2428
|
<td class="parameter_annotations"> </td>
|
2410
2429
|
</tr></tbody>
|
2411
2430
|
</table></div>
|
@@ -2421,8 +2440,8 @@ hb_glyph_info_get_glyph_flags (<em class="parameter"><code>const <a class="link"
|
|
2421
2440
|
<div class="refsect2">
|
2422
2441
|
<a name="hb-buffer-message-func-t"></a><h3>hb_buffer_message_func_t ()</h3>
|
2423
2442
|
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
|
2424
|
-
<span class="c_punctuation">(</span>*hb_buffer_message_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2425
|
-
<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"
|
2443
|
+
<span class="c_punctuation">(</span>*hb_buffer_message_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
2444
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
|
2426
2445
|
<em class="parameter"><code>const <span class="type">char</span> *message</code></em>,
|
2427
2446
|
<em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
|
2428
2447
|
</div>
|
@@ -2452,14 +2471,14 @@ and output glyphs and their information after shaping.</p>
|
|
2452
2471
|
</div>
|
2453
2472
|
<hr>
|
2454
2473
|
<div class="refsect2">
|
2455
|
-
<a name="hb-glyph-info-t"></a><h3>hb_glyph_info_t</h3>
|
2474
|
+
<a name="hb-glyph-info-t-struct"></a><h3>hb_glyph_info_t</h3>
|
2456
2475
|
<pre class="programlisting">typedef struct {
|
2457
2476
|
hb_codepoint_t codepoint;
|
2458
2477
|
hb_mask_t mask; /* Holds hb_glyph_flags_t after hb_shape(), plus other things. */
|
2459
2478
|
uint32_t cluster;
|
2460
2479
|
} hb_glyph_info_t;
|
2461
2480
|
</pre>
|
2462
|
-
<p>The <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"
|
2481
|
+
<p>The <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"><span class="type">hb_glyph_info_t</span></a> is the structure that holds information about the
|
2463
2482
|
glyphs and their relation to input text.</p>
|
2464
2483
|
<div class="refsect3">
|
2465
2484
|
<a name="hb-glyph-info-t.members"></a><h4>Members</h4>
|
@@ -2471,26 +2490,26 @@ glyphs and their relation to input text.</p>
|
|
2471
2490
|
</colgroup>
|
2472
2491
|
<tbody>
|
2473
2492
|
<tr>
|
2474
|
-
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> <em class="structfield"><code><a name="hb-glyph-info-t.codepoint"></a>codepoint</code></em>;</p></td>
|
2493
|
+
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> <em class="structfield"><code><a name="hb-glyph-info-t-struct.codepoint"></a>codepoint</code></em>;</p></td>
|
2475
2494
|
<td class="struct_member_description"><p>either a Unicode code point (before shaping) or a glyph index
|
2476
2495
|
(after shaping).</p></td>
|
2477
2496
|
<td class="struct_member_annotations"> </td>
|
2478
2497
|
</tr>
|
2479
2498
|
<tr>
|
2480
|
-
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-mask-t" title="hb_mask_t"><span class="type">hb_mask_t</span></a> <em class="structfield"><code><a name="hb-glyph-info-t.mask"></a>mask</code></em>;</p></td>
|
2499
|
+
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-mask-t" title="hb_mask_t"><span class="type">hb_mask_t</span></a> <em class="structfield"><code><a name="hb-glyph-info-t-struct.mask"></a>mask</code></em>;</p></td>
|
2481
2500
|
<td class="struct_member_description"> </td>
|
2482
2501
|
<td class="struct_member_annotations"> </td>
|
2483
2502
|
</tr>
|
2484
2503
|
<tr>
|
2485
|
-
<td class="struct_member_name"><p><span class="type">uint32_t</span> <em class="structfield"><code><a name="hb-glyph-info-t.cluster"></a>cluster</code></em>;</p></td>
|
2504
|
+
<td class="struct_member_name"><p><span class="type">uint32_t</span> <em class="structfield"><code><a name="hb-glyph-info-t-struct.cluster"></a>cluster</code></em>;</p></td>
|
2486
2505
|
<td class="struct_member_description"><p>the index of the character in the original text that corresponds
|
2487
|
-
to this <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"
|
2488
|
-
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-add" title="hb_buffer_add ()"><code class="function">hb_buffer_add()</code></a>. More than one <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"
|
2506
|
+
to this <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"><span class="type">hb_glyph_info_t</span></a>, or whatever the client passes to
|
2507
|
+
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-add" title="hb_buffer_add ()"><code class="function">hb_buffer_add()</code></a>. More than one <a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"><span class="type">hb_glyph_info_t</span></a> can have the same
|
2489
2508
|
<em class="parameter"><code>cluster</code></em>
|
2490
2509
|
value, if they resulted from the same character (e.g. one
|
2491
2510
|
to many glyph substitution), and when more than one character gets
|
2492
2511
|
merged in the same glyph (e.g. many to one glyph substitution) the
|
2493
|
-
<a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"
|
2512
|
+
<a class="link" href="harfbuzz-Buffers.html#hb-glyph-info-t"><span class="type">hb_glyph_info_t</span></a> will have the smallest cluster value of them.
|
2494
2513
|
By default some characters are merged into the same cluster
|
2495
2514
|
(e.g. combining marks have the same cluster as their bases)
|
2496
2515
|
even if they are separate glyphs, <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-cluster-level" title="hb_buffer_set_cluster_level ()"><code class="function">hb_buffer_set_cluster_level()</code></a>
|
@@ -2515,8 +2534,24 @@ allow selecting more fine-grained cluster handling.</p></td>
|
|
2515
2534
|
<tbody>
|
2516
2535
|
<tr>
|
2517
2536
|
<td class="enum_member_name"><p><a name="HB-GLYPH-FLAG-UNSAFE-TO-BREAK:CAPS"></a>HB_GLYPH_FLAG_UNSAFE_TO_BREAK</p></td>
|
2518
|
-
<td>
|
2519
|
-
<
|
2537
|
+
<td class="enum_member_description">
|
2538
|
+
<p>Indicates that if input text is broken at the
|
2539
|
+
beginning of the cluster this glyph is part of,
|
2540
|
+
then both sides need to be re-shaped, as the
|
2541
|
+
result might be different. On the flip side,
|
2542
|
+
it means that when this flag is not present,
|
2543
|
+
then it's safe to break the glyph-run at the
|
2544
|
+
beginning of this cluster, and the two sides
|
2545
|
+
represent the exact same result one would get
|
2546
|
+
if breaking input text at the beginning of
|
2547
|
+
this cluster and shaping the two sides
|
2548
|
+
separately. This can be used to optimize
|
2549
|
+
paragraph layout, by avoiding re-shaping
|
2550
|
+
of each line after line-breaking, or limiting
|
2551
|
+
the reshaping to a small piece around the
|
2552
|
+
breaking point only.</p>
|
2553
|
+
</td>
|
2554
|
+
<td class="enum_member_annotations"> </td>
|
2520
2555
|
</tr>
|
2521
2556
|
<tr>
|
2522
2557
|
<td class="enum_member_name"><p><a name="HB-GLYPH-FLAG-DEFINED:CAPS"></a>HB_GLYPH_FLAG_DEFINED</p></td>
|
@@ -2529,7 +2564,7 @@ allow selecting more fine-grained cluster handling.</p></td>
|
|
2529
2564
|
</div>
|
2530
2565
|
<hr>
|
2531
2566
|
<div class="refsect2">
|
2532
|
-
<a name="hb-glyph-position-t"></a><h3>hb_glyph_position_t</h3>
|
2567
|
+
<a name="hb-glyph-position-t-struct"></a><h3>hb_glyph_position_t</h3>
|
2533
2568
|
<pre class="programlisting">typedef struct {
|
2534
2569
|
hb_position_t x_advance;
|
2535
2570
|
hb_position_t y_advance;
|
@@ -2537,9 +2572,9 @@ allow selecting more fine-grained cluster handling.</p></td>
|
|
2537
2572
|
hb_position_t y_offset;
|
2538
2573
|
} hb_glyph_position_t;
|
2539
2574
|
</pre>
|
2540
|
-
<p>The <a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t"
|
2575
|
+
<p>The <a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t"><span class="type">hb_glyph_position_t</span></a> is the structure that holds the positions of the
|
2541
2576
|
glyph in both horizontal and vertical directions. All positions in
|
2542
|
-
<a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t"
|
2577
|
+
<a class="link" href="harfbuzz-Buffers.html#hb-glyph-position-t"><span class="type">hb_glyph_position_t</span></a> are relative to the current point.</p>
|
2543
2578
|
<div class="refsect3">
|
2544
2579
|
<a name="hb-glyph-position-t.members"></a><h4>Members</h4>
|
2545
2580
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -2550,25 +2585,25 @@ glyph in both horizontal and vertical directions. All positions in
|
|
2550
2585
|
</colgroup>
|
2551
2586
|
<tbody>
|
2552
2587
|
<tr>
|
2553
|
-
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> <em class="structfield"><code><a name="hb-glyph-position-t.x-advance"></a>x_advance</code></em>;</p></td>
|
2588
|
+
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> <em class="structfield"><code><a name="hb-glyph-position-t-struct.x-advance"></a>x_advance</code></em>;</p></td>
|
2554
2589
|
<td class="struct_member_description"><p>how much the line advances after drawing this glyph when setting
|
2555
2590
|
text in horizontal direction.</p></td>
|
2556
2591
|
<td class="struct_member_annotations"> </td>
|
2557
2592
|
</tr>
|
2558
2593
|
<tr>
|
2559
|
-
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> <em class="structfield"><code><a name="hb-glyph-position-t.y-advance"></a>y_advance</code></em>;</p></td>
|
2594
|
+
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> <em class="structfield"><code><a name="hb-glyph-position-t-struct.y-advance"></a>y_advance</code></em>;</p></td>
|
2560
2595
|
<td class="struct_member_description"><p>how much the line advances after drawing this glyph when setting
|
2561
2596
|
text in vertical direction.</p></td>
|
2562
2597
|
<td class="struct_member_annotations"> </td>
|
2563
2598
|
</tr>
|
2564
2599
|
<tr>
|
2565
|
-
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> <em class="structfield"><code><a name="hb-glyph-position-t.x-offset"></a>x_offset</code></em>;</p></td>
|
2600
|
+
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> <em class="structfield"><code><a name="hb-glyph-position-t-struct.x-offset"></a>x_offset</code></em>;</p></td>
|
2566
2601
|
<td class="struct_member_description"><p>how much the glyph moves on the X-axis before drawing it, this
|
2567
2602
|
should not affect how much the line advances.</p></td>
|
2568
2603
|
<td class="struct_member_annotations"> </td>
|
2569
2604
|
</tr>
|
2570
2605
|
<tr>
|
2571
|
-
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> <em class="structfield"><code><a name="hb-glyph-position-t.y-offset"></a>y_offset</code></em>;</p></td>
|
2606
|
+
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> <em class="structfield"><code><a name="hb-glyph-position-t-struct.y-offset"></a>y_offset</code></em>;</p></td>
|
2572
2607
|
<td class="struct_member_description"><p>how much the glyph moves on the Y-axis before drawing it, this
|
2573
2608
|
should not affect how much the line advances.</p></td>
|
2574
2609
|
<td class="struct_member_annotations"> </td>
|
@@ -2648,7 +2683,7 @@ should not affect how much the line advances.</p></td>
|
|
2648
2683
|
<td class="enum_member_description">
|
2649
2684
|
<p>flag indicating that special handling of the end of text
|
2650
2685
|
paragraph can be applied to this buffer, similar to
|
2651
|
-
<em class="parameter"><code>
|
2686
|
+
<em class="parameter"><code>HB_BUFFER_FLAG_BOT</code></em>
|
2652
2687
|
.</p>
|
2653
2688
|
</td>
|
2654
2689
|
<td class="enum_member_annotations"> </td>
|
@@ -2658,9 +2693,24 @@ should not affect how much the line advances.</p></td>
|
|
2658
2693
|
<td class="enum_member_description">
|
2659
2694
|
<p> flag indication that character with Default_Ignorable
|
2660
2695
|
Unicode property should use the corresponding glyph
|
2661
|
-
from the font, instead of hiding them (
|
2662
|
-
|
2663
|
-
advance width.)
|
2696
|
+
from the font, instead of hiding them (done by
|
2697
|
+
replacing them with the space glyph and zeroing the
|
2698
|
+
advance width.) This flag takes precedence over
|
2699
|
+
<em class="parameter"><code>HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES</code></em>
|
2700
|
+
.</p>
|
2701
|
+
</td>
|
2702
|
+
<td class="enum_member_annotations"> </td>
|
2703
|
+
</tr>
|
2704
|
+
<tr>
|
2705
|
+
<td class="enum_member_name"><p><a name="HB-BUFFER-FLAG-REMOVE-DEFAULT-IGNORABLES:CAPS"></a>HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES</p></td>
|
2706
|
+
<td class="enum_member_description">
|
2707
|
+
<p> flag indication that character with Default_Ignorable
|
2708
|
+
Unicode property should be removed from glyph string
|
2709
|
+
instead of hiding them (done by replacing them with the
|
2710
|
+
space glyph and zeroing the advance width.)
|
2711
|
+
<em class="parameter"><code>HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES</code></em>
|
2712
|
+
takes
|
2713
|
+
precedence over this flag. Since: 1.8.0</p>
|
2664
2714
|
</td>
|
2665
2715
|
<td class="enum_member_annotations"> </td>
|
2666
2716
|
</tr>
|
@@ -2707,14 +2757,14 @@ should not affect how much the line advances.</p></td>
|
|
2707
2757
|
</div>
|
2708
2758
|
<hr>
|
2709
2759
|
<div class="refsect2">
|
2710
|
-
<a name="hb-segment-properties-t"></a><h3>hb_segment_properties_t</h3>
|
2760
|
+
<a name="hb-segment-properties-t-struct"></a><h3>hb_segment_properties_t</h3>
|
2711
2761
|
<pre class="programlisting">typedef struct {
|
2712
2762
|
hb_direction_t direction;
|
2713
2763
|
hb_script_t script;
|
2714
2764
|
hb_language_t language;
|
2715
2765
|
} hb_segment_properties_t;
|
2716
2766
|
</pre>
|
2717
|
-
<p>The structure that holds various text properties of an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"
|
2767
|
+
<p>The structure that holds various text properties of an <a class="link" href="harfbuzz-Buffers.html#hb-buffer-t"><span class="type">hb_buffer_t</span></a>. Can be
|
2718
2768
|
set and retrieved using <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-segment-properties" title="hb_buffer_set_segment_properties ()"><code class="function">hb_buffer_set_segment_properties()</code></a> and
|
2719
2769
|
<a class="link" href="harfbuzz-Buffers.html#hb-buffer-get-segment-properties" title="hb_buffer_get_segment_properties ()"><code class="function">hb_buffer_get_segment_properties()</code></a>, respectively.</p>
|
2720
2770
|
<div class="refsect3">
|
@@ -2727,17 +2777,17 @@ set and retrieved using <a class="link" href="harfbuzz-Buffers.html#hb-buffer-se
|
|
2727
2777
|
</colgroup>
|
2728
2778
|
<tbody>
|
2729
2779
|
<tr>
|
2730
|
-
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> <em class="structfield"><code><a name="hb-segment-properties-t.direction"></a>direction</code></em>;</p></td>
|
2780
|
+
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> <em class="structfield"><code><a name="hb-segment-properties-t-struct.direction"></a>direction</code></em>;</p></td>
|
2731
2781
|
<td class="struct_member_description"><p>the <a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> of the buffer, see <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-direction" title="hb_buffer_set_direction ()"><code class="function">hb_buffer_set_direction()</code></a>.</p></td>
|
2732
2782
|
<td class="struct_member_annotations"> </td>
|
2733
2783
|
</tr>
|
2734
2784
|
<tr>
|
2735
|
-
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> <em class="structfield"><code><a name="hb-segment-properties-t.script"></a>script</code></em>;</p></td>
|
2785
|
+
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> <em class="structfield"><code><a name="hb-segment-properties-t-struct.script"></a>script</code></em>;</p></td>
|
2736
2786
|
<td class="struct_member_description"><p>the <a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> of the buffer, see <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-script" title="hb_buffer_set_script ()"><code class="function">hb_buffer_set_script()</code></a>.</p></td>
|
2737
2787
|
<td class="struct_member_annotations"> </td>
|
2738
2788
|
</tr>
|
2739
2789
|
<tr>
|
2740
|
-
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> <em class="structfield"><code><a name="hb-segment-properties-t.language"></a>language</code></em>;</p></td>
|
2790
|
+
<td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> <em class="structfield"><code><a name="hb-segment-properties-t-struct.language"></a>language</code></em>;</p></td>
|
2741
2791
|
<td class="struct_member_description"><p>the <a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> of the buffer, see <a class="link" href="harfbuzz-Buffers.html#hb-buffer-set-language" title="hb_buffer_set_language ()"><code class="function">hb_buffer_set_language()</code></a>.</p></td>
|
2742
2792
|
<td class="struct_member_annotations"> </td>
|
2743
2793
|
</tr>
|
@@ -2835,8 +2885,18 @@ set and retrieved using <a class="link" href="harfbuzz-Buffers.html#hb-buffer-se
|
|
2835
2885
|
</tr>
|
2836
2886
|
<tr>
|
2837
2887
|
<td class="enum_member_name"><p><a name="HB-BUFFER-SERIALIZE-FLAG-GLYPH-FLAGS:CAPS"></a>HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS</p></td>
|
2838
|
-
<td>
|
2839
|
-
<
|
2888
|
+
<td class="enum_member_description">
|
2889
|
+
<p>serialize glyph flags. Since: 1.5.0</p>
|
2890
|
+
</td>
|
2891
|
+
<td class="enum_member_annotations"> </td>
|
2892
|
+
</tr>
|
2893
|
+
<tr>
|
2894
|
+
<td class="enum_member_name"><p><a name="HB-BUFFER-SERIALIZE-FLAG-NO-ADVANCES:CAPS"></a>HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES</p></td>
|
2895
|
+
<td class="enum_member_description">
|
2896
|
+
<p>do not serialize glyph advances,
|
2897
|
+
glyph offsets will reflect absolute glyph positions. Since: 1.8.0</p>
|
2898
|
+
</td>
|
2899
|
+
<td class="enum_member_annotations"> </td>
|
2840
2900
|
</tr>
|
2841
2901
|
</tbody>
|
2842
2902
|
</table></div>
|
@@ -2907,6 +2967,6 @@ set and retrieved using <a class="link" href="harfbuzz-Buffers.html#hb-buffer-se
|
|
2907
2967
|
</div>
|
2908
2968
|
</div>
|
2909
2969
|
<div class="footer">
|
2910
|
-
<hr>Generated by GTK-Doc V1.
|
2970
|
+
<hr>Generated by GTK-Doc V1.27.1</div>
|
2911
2971
|
</body>
|
2912
2972
|
</html>
|