pango 2.2.5-x64-mingw32 → 3.0.0-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +19 -3
- data/ext/pango/depend +0 -1
- data/ext/pango/extconf.rb +0 -2
- data/ext/pango/rbpango.c +44 -6
- data/ext/pango/rbpango.h +0 -1
- data/ext/pango/rbpangoattribute.c +2 -2
- data/ext/pango/rbpangocairo.c +4 -4
- data/ext/pango/rbpangocontext.c +2 -2
- data/ext/pango/rbpangofontdescription.c +2 -2
- data/ext/pango/rbpangogravity.c +2 -2
- data/ext/pango/rbpangolanguage.c +8 -0
- data/ext/pango/rbpangolayout.c +15 -4
- data/ext/pango/rbpangomatrix.c +2 -2
- data/ext/pango/rbpangoscript.c +3 -3
- data/lib/2.0/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
- data/lib/2.2/pango.so +0 -0
- data/test/test-language.rb +5 -0
- data/test/test-layout.rb +7 -1
- data/vendor/local/bin/derb.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-view.exe +0 -0
- data/vendor/local/bin/icu-config +6 -6
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libharfbuzz-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-querymodules.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/etc/pango/pango.modules +1 -1
- data/vendor/local/include/harfbuzz/hb-buffer.h +26 -1
- data/vendor/local/include/harfbuzz/hb-common.h +7 -0
- data/vendor/local/include/harfbuzz/hb-font.h +7 -6
- data/vendor/local/include/harfbuzz/hb-ft.h +58 -1
- data/vendor/local/include/harfbuzz/hb-glib.h +3 -0
- data/vendor/local/include/harfbuzz/hb-ot-font.h +4 -0
- data/vendor/local/include/harfbuzz/hb-shape.h +0 -3
- data/vendor/local/include/harfbuzz/hb-unicode.h +28 -3
- data/vendor/local/include/harfbuzz/hb-version.h +4 -4
- data/vendor/local/include/layout/LEFontInstance.h +2 -28
- data/vendor/local/include/layout/LETableReference.h +7 -2
- data/vendor/local/include/unicode/calendar.h +32 -2
- data/vendor/local/include/unicode/coll.h +9 -7
- data/vendor/local/include/unicode/datefmt.h +102 -13
- data/vendor/local/include/unicode/dcfmtsym.h +4 -2
- data/vendor/local/include/unicode/decimfmt.h +4 -5
- data/vendor/local/include/unicode/dtfmtsym.h +60 -1
- data/vendor/local/include/unicode/dtptngen.h +21 -7
- data/vendor/local/include/unicode/localpointer.h +49 -1
- data/vendor/local/include/unicode/locid.h +2 -3
- data/vendor/local/include/unicode/measfmt.h +30 -37
- data/vendor/local/include/unicode/measunit.h +65 -152
- data/vendor/local/include/unicode/measure.h +3 -3
- data/vendor/local/include/unicode/numfmt.h +3 -5
- data/vendor/local/include/unicode/platform.h +12 -2
- data/vendor/local/include/unicode/plurrule.h +18 -14
- data/vendor/local/include/unicode/rbnf.h +3 -4
- data/vendor/local/include/unicode/regex.h +42 -26
- data/vendor/local/include/unicode/region.h +9 -9
- data/vendor/local/include/unicode/reldatefmt.h +50 -45
- data/vendor/local/include/unicode/scientificnumberformatter.h +222 -0
- data/vendor/local/include/unicode/smpdtfmt.h +30 -24
- data/vendor/local/include/unicode/tblcoll.h +5 -4
- data/vendor/local/include/unicode/timezone.h +18 -1
- data/vendor/local/include/unicode/ucal.h +2 -2
- data/vendor/local/include/unicode/ucol.h +22 -18
- data/vendor/local/include/unicode/uconfig.h +17 -2
- data/vendor/local/include/unicode/udat.h +164 -56
- data/vendor/local/include/unicode/udatpg.h +9 -7
- data/vendor/local/include/unicode/ufieldpositer.h +121 -0
- data/vendor/local/include/unicode/uidna.h +21 -13
- data/vendor/local/include/unicode/ulistformatter.h +130 -0
- data/vendor/local/include/unicode/ulocdata.h +4 -3
- data/vendor/local/include/unicode/unistr.h +101 -53
- data/vendor/local/include/unicode/unum.h +7 -10
- data/vendor/local/include/unicode/uregex.h +52 -29
- data/vendor/local/include/unicode/urename.h +14 -3
- data/vendor/local/include/unicode/uscript.h +30 -16
- data/vendor/local/include/unicode/uspoof.h +13 -9
- data/vendor/local/include/unicode/utrans.h +5 -7
- data/vendor/local/include/unicode/utypes.h +9 -3
- data/vendor/local/include/unicode/uvernum.h +8 -8
- data/vendor/local/lib/icu/{54.1 → 55.1}/Makefile.inc +5 -5
- data/vendor/local/lib/icu/{54.1 → 55.1}/pkgdata.inc +1 -1
- data/vendor/local/lib/icu/Makefile.inc +5 -5
- data/vendor/local/lib/icu/pkgdata.inc +1 -1
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/{icudt54.dll → icudt55.dll} +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin55.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio55.dll +0 -0
- data/vendor/local/lib/icule.dll +0 -0
- data/vendor/local/lib/icule55.dll +0 -0
- data/vendor/local/lib/iculx.dll +0 -0
- data/vendor/local/lib/iculx55.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/icutest55.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu55.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc55.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +7 -7
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +7 -7
- 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/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.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 +2 -2
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +2 -2
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +2 -2
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +3 -1
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +5 -5
- data/vendor/local/lib/pkgconfig/icu-io.pc +5 -5
- data/vendor/local/lib/pkgconfig/icu-le.pc +5 -5
- data/vendor/local/lib/pkgconfig/icu-lx.pc +5 -5
- data/vendor/local/lib/pkgconfig/icu-uc.pc +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html +35 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +30 -35
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +158 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html +87 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/{ch01.html → ch06.html} +12 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +7 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/fonts-and-faces.html +40 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +352 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +88 -47
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +128 -204
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +290 -304
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +14 -23
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +14 -17
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +40 -51
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +126 -190
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +19 -24
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +14 -29
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +438 -11
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +14 -25
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +14 -29
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +19 -160
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +21 -36
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +14 -11
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +70 -81
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +33 -44
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +290 -323
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +14 -23
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +59 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +16 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +415 -104
- data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +181 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +43 -12
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +11 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/plans-and-caching.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +70 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +107 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html +39 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html +124 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +38 -0
- data/vendor/local/share/icu/{54.1 → 55.1}/config/mh-mingw64 +0 -0
- data/vendor/local/share/icu/{54.1 → 55.1}/install-sh +0 -0
- data/vendor/local/share/icu/{54.1 → 55.1}/license.html +3 -4
- data/vendor/local/share/icu/{54.1 → 55.1}/mkinstalldirs +0 -0
- data/vendor/local/share/man/man1/derb.1 +2 -2
- data/vendor/local/share/man/man1/genbrk.1 +2 -2
- data/vendor/local/share/man/man1/gencfu.1 +1 -1
- data/vendor/local/share/man/man1/gencnval.1 +3 -3
- data/vendor/local/share/man/man1/gendict.1 +2 -2
- data/vendor/local/share/man/man1/genrb.1 +3 -3
- data/vendor/local/share/man/man1/icu-config.1 +2 -2
- data/vendor/local/share/man/man1/makeconv.1 +3 -3
- data/vendor/local/share/man/man1/pkgdata.1 +2 -2
- data/vendor/local/share/man/man1/uconv.1 +2 -2
- data/vendor/local/share/man/man8/genccode.8 +2 -2
- data/vendor/local/share/man/man8/gencmn.8 +3 -3
- data/vendor/local/share/man/man8/gensprep.8 +3 -3
- data/vendor/local/share/man/man8/icupkg.8 +1 -1
- metadata +38 -22
- data/vendor/local/include/unicode/scientificformathelper.h +0 -139
- data/vendor/local/lib/icuin54.dll +0 -0
- data/vendor/local/lib/icuio54.dll +0 -0
- data/vendor/local/lib/icule54.dll +0 -0
- data/vendor/local/lib/iculx54.dll +0 -0
- data/vendor/local/lib/icutest54.dll +0 -0
- data/vendor/local/lib/icutu54.dll +0 -0
- data/vendor/local/lib/icuuc54.dll +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +0 -286
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +0 -496
Binary file
|
data/vendor/local/bin/icu-config
CHANGED
@@ -60,7 +60,7 @@ datadir="${datarootdir}"
|
|
60
60
|
sbindir="${exec_prefix}/sbin"
|
61
61
|
|
62
62
|
# about the ICU version
|
63
|
-
VERSION="
|
63
|
+
VERSION="55.1"
|
64
64
|
UNICODE_VERSION="7.0"
|
65
65
|
|
66
66
|
# The prefix for ICU libraries, normally 'icu'
|
@@ -211,7 +211,7 @@ CPPFLAGS="-I${prefix}/include"
|
|
211
211
|
CXXFLAGS="--std=c++0x"
|
212
212
|
CXX="x86_64-w64-mingw32-g++"
|
213
213
|
DEFAULT_MODE="dll"
|
214
|
-
DEFS="-DPACKAGE_NAME=\"ICU\" -DPACKAGE_TARNAME=\"International\ Components\ for\ Unicode\" -DPACKAGE_VERSION=\"
|
214
|
+
DEFS="-DPACKAGE_NAME=\"ICU\" -DPACKAGE_TARNAME=\"International\ Components\ for\ Unicode\" -DPACKAGE_VERSION=\"55.1\" -DPACKAGE_STRING=\"ICU\ 55.1\" -DPACKAGE_BUGREPORT=\"http://icu-project.org/bugs\" -DPACKAGE_URL=\"http://icu-project.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DHAVE_LIBM=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LIBPTHREAD=1 -DHAVE_INTTYPES_H=1 -DHAVE_DIRENT_H=1 -DHAVE_WCHAR_H=1 -DSIZEOF_WCHAR_T=2 "
|
215
215
|
# use a consistent INSTALL
|
216
216
|
INSTALL="${SHELL} ${pkgdatadir}/install-sh -c"
|
217
217
|
INSTALL_DATA="${INSTALL} -m 644"
|
@@ -220,8 +220,8 @@ INSTALL_SCRIPT="${INSTALL}"
|
|
220
220
|
LDFLAGS="${RPATHLDFLAGS}"
|
221
221
|
LIBS="-lpthread -lm "
|
222
222
|
LIB_M=""
|
223
|
-
LIB_VERSION="
|
224
|
-
LIB_VERSION_MAJOR="
|
223
|
+
LIB_VERSION="55.1"
|
224
|
+
LIB_VERSION_MAJOR="55"
|
225
225
|
MKINSTALLDIRS="${SHELL} ${pkgdatadir}/mkinstalldirs"
|
226
226
|
RANLIB="x86_64-w64-mingw32-ranlib"
|
227
227
|
RMV="rm -rf"
|
@@ -249,7 +249,7 @@ INSTALL_L="${INSTALL_DATA}"
|
|
249
249
|
|
250
250
|
# The basename of the ICU data file (i.e. icudt21b )
|
251
251
|
ICUDATA_CHAR="l"
|
252
|
-
ICUDATA_NAME="
|
252
|
+
ICUDATA_NAME="icudt55l"
|
253
253
|
|
254
254
|
# Defaults for pkgdata's mode and directories
|
255
255
|
# The default data dir changes depending on what packaging mode
|
@@ -817,4 +817,4 @@ sanity
|
|
817
817
|
## END of icu-config-bottom
|
818
818
|
|
819
819
|
exit 0
|
820
|
-
# Rebuilt on
|
820
|
+
# Rebuilt on Wed Sep 9 13:12:49 UTC 2015
|
Binary file
|
data/vendor/local/bin/icupkg.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/uconv.exe
CHANGED
Binary file
|
@@ -13,7 +13,7 @@
|
|
13
13
|
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll kndaIndicScriptEngineLang PangoEngineLang PangoRenderNone kannada:*
|
14
14
|
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll mlymIndicScriptEngineLang PangoEngineLang PangoRenderNone malayalam:*
|
15
15
|
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll sinhIndicScriptEngineLang PangoEngineLang PangoRenderNone sinhala:*
|
16
|
-
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll BasicScriptEngineFc PangoEngineShape PangoRenderFc common:
|
17
16
|
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll ArabicScriptEngineLang PangoEngineLang PangoRenderNone arabic:*
|
18
17
|
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll BasicScriptEngineWin32 PangoEngineShape PangoRenderWin32 common:
|
18
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll BasicScriptEngineFc PangoEngineShape PangoRenderFc common:
|
19
19
|
|
@@ -185,7 +185,19 @@ hb_buffer_set_flags (hb_buffer_t *buffer,
|
|
185
185
|
hb_buffer_flags_t
|
186
186
|
hb_buffer_get_flags (hb_buffer_t *buffer);
|
187
187
|
|
188
|
+
typedef enum {
|
189
|
+
HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES = 0,
|
190
|
+
HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS = 1,
|
191
|
+
HB_BUFFER_CLUSTER_LEVEL_CHARACTERS = 2,
|
192
|
+
HB_BUFFER_CLUSTER_LEVEL_DEFAULT = HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES
|
193
|
+
} hb_buffer_cluster_level_t;
|
194
|
+
|
195
|
+
void
|
196
|
+
hb_buffer_set_cluster_level (hb_buffer_t *buffer,
|
197
|
+
hb_buffer_cluster_level_t cluster_level);
|
188
198
|
|
199
|
+
hb_buffer_cluster_level_t
|
200
|
+
hb_buffer_get_cluster_level (hb_buffer_t *buffer);
|
189
201
|
|
190
202
|
#define HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT 0xFFFDu
|
191
203
|
|
@@ -221,6 +233,10 @@ hb_buffer_allocation_successful (hb_buffer_t *buffer);
|
|
221
233
|
void
|
222
234
|
hb_buffer_reverse (hb_buffer_t *buffer);
|
223
235
|
|
236
|
+
void
|
237
|
+
hb_buffer_reverse_range (hb_buffer_t *buffer,
|
238
|
+
unsigned int start, unsigned int end);
|
239
|
+
|
224
240
|
void
|
225
241
|
hb_buffer_reverse_clusters (hb_buffer_t *buffer);
|
226
242
|
|
@@ -253,6 +269,14 @@ hb_buffer_add_utf32 (hb_buffer_t *buffer,
|
|
253
269
|
unsigned int item_offset,
|
254
270
|
int item_length);
|
255
271
|
|
272
|
+
/* Allows only access to first 256 Unicode codepoints. */
|
273
|
+
void
|
274
|
+
hb_buffer_add_latin1 (hb_buffer_t *buffer,
|
275
|
+
const uint8_t *text,
|
276
|
+
int text_length,
|
277
|
+
unsigned int item_offset,
|
278
|
+
int item_length);
|
279
|
+
|
256
280
|
/* Like add_utf32 but does NOT check for invalid Unicode codepoints. */
|
257
281
|
void
|
258
282
|
hb_buffer_add_codepoints (hb_buffer_t *buffer,
|
@@ -299,7 +323,8 @@ typedef enum { /*< flags >*/
|
|
299
323
|
HB_BUFFER_SERIALIZE_FLAG_DEFAULT = 0x00000000u,
|
300
324
|
HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS = 0x00000001u,
|
301
325
|
HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS = 0x00000002u,
|
302
|
-
HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES = 0x00000004u
|
326
|
+
HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES = 0x00000004u,
|
327
|
+
HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS = 0x00000008u
|
303
328
|
} hb_buffer_serialize_flags_t;
|
304
329
|
|
305
330
|
typedef enum {
|
@@ -296,6 +296,13 @@ typedef enum
|
|
296
296
|
/*7.0*/ HB_SCRIPT_TIRHUTA = HB_TAG ('T','i','r','h'),
|
297
297
|
/*7.0*/ HB_SCRIPT_WARANG_CITI = HB_TAG ('W','a','r','a'),
|
298
298
|
|
299
|
+
/*8.0*/ HB_SCRIPT_AHOM = HB_TAG ('A','h','o','m'),
|
300
|
+
/*8.0*/ HB_SCRIPT_ANATOLIAN_HIEROGLYPHS = HB_TAG ('H','l','u','w'),
|
301
|
+
/*8.0*/ HB_SCRIPT_HATRAN = HB_TAG ('H','a','t','r'),
|
302
|
+
/*8.0*/ HB_SCRIPT_MULTANI = HB_TAG ('M','u','l','t'),
|
303
|
+
/*8.0*/ HB_SCRIPT_OLD_HUNGARIAN = HB_TAG ('H','u','n','g'),
|
304
|
+
/*8.0*/ HB_SCRIPT_SIGNWRITING = HB_TAG ('S','g','n','w'),
|
305
|
+
|
299
306
|
/* No script set. */
|
300
307
|
HB_SCRIPT_INVALID = HB_TAG_NONE,
|
301
308
|
|
@@ -80,12 +80,13 @@ hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs);
|
|
80
80
|
|
81
81
|
/* glyph extents */
|
82
82
|
|
83
|
+
/* Note that height is negative in coordinate systems that grow up. */
|
83
84
|
typedef struct hb_glyph_extents_t
|
84
85
|
{
|
85
|
-
hb_position_t x_bearing;
|
86
|
-
hb_position_t y_bearing;
|
87
|
-
hb_position_t width;
|
88
|
-
hb_position_t height;
|
86
|
+
hb_position_t x_bearing; /* left side of glyph from origin. */
|
87
|
+
hb_position_t y_bearing; /* top side of glyph from origin. */
|
88
|
+
hb_position_t width; /* distance from left to right side. */
|
89
|
+
hb_position_t height; /* distance from top to bottom side. */
|
89
90
|
} hb_glyph_extents_t;
|
90
91
|
|
91
92
|
|
@@ -292,7 +293,7 @@ hb_font_funcs_set_glyph_contour_point_func (hb_font_funcs_t *ffuncs,
|
|
292
293
|
*
|
293
294
|
*
|
294
295
|
*
|
295
|
-
* Since:
|
296
|
+
* Since: 0.9.2
|
296
297
|
**/
|
297
298
|
void
|
298
299
|
hb_font_funcs_set_glyph_name_func (hb_font_funcs_t *ffuncs,
|
@@ -308,7 +309,7 @@ hb_font_funcs_set_glyph_name_func (hb_font_funcs_t *ffuncs,
|
|
308
309
|
*
|
309
310
|
*
|
310
311
|
*
|
311
|
-
* Since:
|
312
|
+
* Since: 0.9.2
|
312
313
|
**/
|
313
314
|
void
|
314
315
|
hb_font_funcs_set_glyph_from_name_func (hb_font_funcs_t *ffuncs,
|
@@ -34,19 +34,76 @@
|
|
34
34
|
|
35
35
|
HB_BEGIN_DECLS
|
36
36
|
|
37
|
-
/*
|
37
|
+
/*
|
38
|
+
* Note: FreeType is not thread-safe.
|
39
|
+
* Hence, these functions are not either.
|
40
|
+
*/
|
41
|
+
|
42
|
+
/*
|
43
|
+
* hb-face from ft-face.
|
44
|
+
*/
|
38
45
|
|
46
|
+
/* This one creates a new hb-face for given ft-face.
|
47
|
+
* When the returned hb-face is destroyed, the destroy
|
48
|
+
* callback is called (if not NULL), with the ft-face passed
|
49
|
+
* to it.
|
50
|
+
*
|
51
|
+
* The client is responsible to make sure that ft-face is
|
52
|
+
* destroyed after hb-face is destroyed.
|
53
|
+
*
|
54
|
+
* Most often you don't want this function. You should use either
|
55
|
+
* hb_ft_face_create_cached(), or hb_ft_face_create_referenced().
|
56
|
+
* In particular, if you are going to pass NULL as destroy, you
|
57
|
+
* probably should use (the more recent) hb_ft_face_create_referenced()
|
58
|
+
* instead.
|
59
|
+
*/
|
39
60
|
hb_face_t *
|
40
61
|
hb_ft_face_create (FT_Face ft_face,
|
41
62
|
hb_destroy_func_t destroy);
|
42
63
|
|
64
|
+
/* This version is like hb_ft_face_create(), except that it caches
|
65
|
+
* the hb-face using the generic pointer of the ft-face. This means
|
66
|
+
* that subsequent calls to this function with the same ft-face will
|
67
|
+
* return the same hb-face (correctly referenced).
|
68
|
+
*
|
69
|
+
* Client is still responsible for making sure that ft-face is destroyed
|
70
|
+
* after hb-face is.
|
71
|
+
*/
|
43
72
|
hb_face_t *
|
44
73
|
hb_ft_face_create_cached (FT_Face ft_face);
|
45
74
|
|
75
|
+
/* This version is like hb_ft_face_create(), except that it calls
|
76
|
+
* FT_Reference_Face() on ft-face, as such keeping ft-face alive
|
77
|
+
* as long as the hb-face is.
|
78
|
+
*
|
79
|
+
* This is the most convenient version to use. Use it unless you have
|
80
|
+
* very good reasons not to.
|
81
|
+
*/
|
82
|
+
hb_face_t *
|
83
|
+
hb_ft_face_create_referenced (FT_Face ft_face);
|
84
|
+
|
85
|
+
|
86
|
+
/*
|
87
|
+
* hb-font from ft-face.
|
88
|
+
*/
|
89
|
+
|
90
|
+
/*
|
91
|
+
* Note:
|
92
|
+
*
|
93
|
+
* Set face size on ft-face before creating hb-font from it.
|
94
|
+
* Otherwise hb-ft would NOT pick up the font size correctly.
|
95
|
+
*/
|
96
|
+
|
97
|
+
/* See notes on hb_ft_face_create(). Same issues re lifecycle-management
|
98
|
+
* apply here. Use hb_ft_font_create_referenced() if you can. */
|
46
99
|
hb_font_t *
|
47
100
|
hb_ft_font_create (FT_Face ft_face,
|
48
101
|
hb_destroy_func_t destroy);
|
49
102
|
|
103
|
+
/* See notes on hb_ft_face_create_referenced() re lifecycle-management
|
104
|
+
* issues. */
|
105
|
+
hb_font_t *
|
106
|
+
hb_ft_font_create_referenced (FT_Face ft_face);
|
50
107
|
|
51
108
|
|
52
109
|
/* Makes an hb_font_t use FreeType internally to implement font functions. */
|
@@ -47,13 +47,10 @@ typedef struct hb_feature_t {
|
|
47
47
|
unsigned int end;
|
48
48
|
} hb_feature_t;
|
49
49
|
|
50
|
-
/* len=-1 means str is NUL-terminated */
|
51
50
|
hb_bool_t
|
52
51
|
hb_feature_from_string (const char *str, int len,
|
53
52
|
hb_feature_t *feature);
|
54
53
|
|
55
|
-
/* Something like 128 bytes is more than enough.
|
56
|
-
* nul-terminates. */
|
57
54
|
void
|
58
55
|
hb_feature_to_string (hb_feature_t *feature,
|
59
56
|
char *buf, unsigned int size);
|
@@ -363,7 +363,7 @@ hb_unicode_funcs_set_script_func (hb_unicode_funcs_t *ufuncs,
|
|
363
363
|
*
|
364
364
|
*
|
365
365
|
*
|
366
|
-
* Since:
|
366
|
+
* Since: 0.9.2
|
367
367
|
**/
|
368
368
|
void
|
369
369
|
hb_unicode_funcs_set_compose_func (hb_unicode_funcs_t *ufuncs,
|
@@ -379,7 +379,7 @@ hb_unicode_funcs_set_compose_func (hb_unicode_funcs_t *ufuncs,
|
|
379
379
|
*
|
380
380
|
*
|
381
381
|
*
|
382
|
-
* Since:
|
382
|
+
* Since: 0.9.2
|
383
383
|
**/
|
384
384
|
void
|
385
385
|
hb_unicode_funcs_set_decompose_func (hb_unicode_funcs_t *ufuncs,
|
@@ -395,7 +395,7 @@ hb_unicode_funcs_set_decompose_func (hb_unicode_funcs_t *ufuncs,
|
|
395
395
|
*
|
396
396
|
*
|
397
397
|
*
|
398
|
-
* Since:
|
398
|
+
* Since: 0.9.2
|
399
399
|
**/
|
400
400
|
void
|
401
401
|
hb_unicode_funcs_set_decompose_compatibility_func (hb_unicode_funcs_t *ufuncs,
|
@@ -404,37 +404,62 @@ hb_unicode_funcs_set_decompose_compatibility_func (hb_unicode_funcs_t *ufuncs,
|
|
404
404
|
|
405
405
|
/* accessors */
|
406
406
|
|
407
|
+
/**
|
408
|
+
* Since: 0.9.2
|
409
|
+
**/
|
407
410
|
hb_unicode_combining_class_t
|
408
411
|
hb_unicode_combining_class (hb_unicode_funcs_t *ufuncs,
|
409
412
|
hb_codepoint_t unicode);
|
410
413
|
|
414
|
+
/**
|
415
|
+
* Since: 0.9.2
|
416
|
+
**/
|
411
417
|
unsigned int
|
412
418
|
hb_unicode_eastasian_width (hb_unicode_funcs_t *ufuncs,
|
413
419
|
hb_codepoint_t unicode);
|
414
420
|
|
421
|
+
/**
|
422
|
+
* Since: 0.9.2
|
423
|
+
**/
|
415
424
|
hb_unicode_general_category_t
|
416
425
|
hb_unicode_general_category (hb_unicode_funcs_t *ufuncs,
|
417
426
|
hb_codepoint_t unicode);
|
418
427
|
|
428
|
+
/**
|
429
|
+
* Since: 0.9.2
|
430
|
+
**/
|
419
431
|
hb_codepoint_t
|
420
432
|
hb_unicode_mirroring (hb_unicode_funcs_t *ufuncs,
|
421
433
|
hb_codepoint_t unicode);
|
422
434
|
|
435
|
+
/**
|
436
|
+
* Since: 0.9.2
|
437
|
+
**/
|
423
438
|
hb_script_t
|
424
439
|
hb_unicode_script (hb_unicode_funcs_t *ufuncs,
|
425
440
|
hb_codepoint_t unicode);
|
426
441
|
|
442
|
+
/**
|
443
|
+
* Since: 0.9.2
|
444
|
+
**/
|
427
445
|
hb_bool_t
|
428
446
|
hb_unicode_compose (hb_unicode_funcs_t *ufuncs,
|
429
447
|
hb_codepoint_t a,
|
430
448
|
hb_codepoint_t b,
|
431
449
|
hb_codepoint_t *ab);
|
450
|
+
|
451
|
+
/**
|
452
|
+
* Since: 0.9.2
|
453
|
+
**/
|
432
454
|
hb_bool_t
|
433
455
|
hb_unicode_decompose (hb_unicode_funcs_t *ufuncs,
|
434
456
|
hb_codepoint_t ab,
|
435
457
|
hb_codepoint_t *a,
|
436
458
|
hb_codepoint_t *b);
|
437
459
|
|
460
|
+
/**
|
461
|
+
* Since: 0.9.2
|
462
|
+
**/
|
438
463
|
unsigned int
|
439
464
|
hb_unicode_decompose_compatibility (hb_unicode_funcs_t *ufuncs,
|
440
465
|
hb_codepoint_t u,
|
@@ -36,11 +36,11 @@
|
|
36
36
|
HB_BEGIN_DECLS
|
37
37
|
|
38
38
|
|
39
|
-
#define HB_VERSION_MAJOR
|
40
|
-
#define HB_VERSION_MINOR
|
41
|
-
#define HB_VERSION_MICRO
|
39
|
+
#define HB_VERSION_MAJOR 1
|
40
|
+
#define HB_VERSION_MINOR 0
|
41
|
+
#define HB_VERSION_MICRO 3
|
42
42
|
|
43
|
-
#define HB_VERSION_STRING "0.
|
43
|
+
#define HB_VERSION_STRING "1.0.3"
|
44
44
|
|
45
45
|
#define HB_VERSION_ATLEAST(major,minor,micro) \
|
46
46
|
((major)*10000+(minor)*100+(micro) <= \
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
/*
|
3
3
|
*
|
4
|
-
* (C) Copyright IBM Corp. 1998-
|
4
|
+
* (C) Copyright IBM Corp. 1998-2015 - All Rights Reserved
|
5
5
|
*
|
6
6
|
*/
|
7
7
|
|
@@ -156,39 +156,13 @@ public:
|
|
156
156
|
*
|
157
157
|
* Subclasses which represent composite fonts should always return <code>NULL</code>.
|
158
158
|
*
|
159
|
-
* Note that implementing this function does not allow for range checking.
|
160
|
-
* Subclasses that desire the safety of range checking must implement the
|
161
|
-
* variation which has a length parameter.
|
162
|
-
*
|
163
|
-
* @param tableTag - the four byte table tag. (e.g. 'cmap')
|
164
|
-
*
|
165
|
-
* @return the address of the table in memory, or <code>NULL</code>
|
166
|
-
* if the table doesn't exist.
|
167
|
-
*
|
168
|
-
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
169
|
-
*/
|
170
|
-
virtual const void *getFontTable(LETag tableTag) const = 0;
|
171
|
-
|
172
|
-
/**
|
173
|
-
* This method reads a table from the font. Note that in general,
|
174
|
-
* it only makes sense to call this method on an <code>LEFontInstance</code>
|
175
|
-
* which represents a physical font - i.e. one which has been returned by
|
176
|
-
* <code>getSubFont()</code>. This is because each subfont in a composite font
|
177
|
-
* will have different tables, and there's no way to know which subfont to access.
|
178
|
-
*
|
179
|
-
* Subclasses which represent composite fonts should always return <code>NULL</code>.
|
180
|
-
*
|
181
|
-
* This version sets a length, for range checking.
|
182
|
-
* Note that range checking can only be accomplished if this function is
|
183
|
-
* implemented in subclasses.
|
184
|
-
*
|
185
159
|
* @param tableTag - the four byte table tag. (e.g. 'cmap')
|
186
160
|
* @param length - ignored on entry, on exit will be the length of the table if known, or -1 if unknown.
|
187
161
|
* @return the address of the table in memory, or <code>NULL</code>
|
188
162
|
* if the table doesn't exist.
|
189
163
|
* @deprecated ICU 54. See {@link LayoutEngine}
|
190
164
|
*/
|
191
|
-
virtual const void* getFontTable(LETag tableTag, size_t &length) const
|
165
|
+
virtual const void* getFontTable(LETag tableTag, size_t &length) const = 0;
|
192
166
|
|
193
167
|
/**
|
194
168
|
* This method is used to determine if the font can
|