Ebrahim Byagowi [Sat, 6 Oct 2018 19:12:56 +0000 (22:42 +0330)]
Make msan output a little more readable
Ebrahim Byagowi [Sat, 6 Oct 2018 08:49:33 +0000 (12:19 +0330)]
Use tempfile in run-tests as a fix for Windows CI fails (#1228)
Behdad Esfahbod [Sat, 6 Oct 2018 00:40:57 +0000 (02:40 +0200)]
[uniscribe/coretext] Fix for previous change
Behdad Esfahbod [Fri, 5 Oct 2018 16:39:48 +0000 (18:39 +0200)]
[vector] Make hb_vector_t relocatable / nestable
Ugly, but...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1227
Behdad Esfahbod [Fri, 5 Oct 2018 16:21:08 +0000 (18:21 +0200)]
Add hb_vector_t::fini_deep ()
Behdad Esfahbod [Fri, 5 Oct 2018 16:14:13 +0000 (18:14 +0200)]
[morx] Fix memory access issue
If buffer was enlarged, info was being outdated.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1225
Behdad Esfahbod [Fri, 5 Oct 2018 09:33:19 +0000 (11:33 +0200)]
[test/text-rendering-tests] Update from upstream
Behdad Esfahbod [Fri, 5 Oct 2018 00:49:29 +0000 (02:49 +0200)]
Change vendor features from Harf/Buzz to HARF/BUZZ
https://github.com/harfbuzz/harfbuzz/commit/
a01194aaf4c15160330b4042066263b2c963b658#commitcomment-
30772041
"The tag space of tags consisting of four uppercase letters (A-Z) with no punctuation,
spaces, or numbers, is reserved as a vendor space. Font vendors may use such tags to
identify private features."
Behdad Esfahbod [Thu, 4 Oct 2018 14:36:42 +0000 (16:36 +0200)]
More bot fixes
Behdad Esfahbod [Thu, 4 Oct 2018 14:31:14 +0000 (16:31 +0200)]
Fix a warning
Behdad Esfahbod [Thu, 4 Oct 2018 14:23:42 +0000 (16:23 +0200)]
[test] Choose 'ot' shaper specifically
Now that we added morx support, our OS X bot is running them through CoreText
and failing (with a DoS / infinite loop no less!). Always run tests through
our own shaper.
Behdad Esfahbod [Thu, 4 Oct 2018 11:28:13 +0000 (13:28 +0200)]
[TODO] Clean up
Behdad Esfahbod [Thu, 4 Oct 2018 11:00:37 +0000 (13:00 +0200)]
Enable two OpenType features, 'Harf' and 'Buzz'
One early, before script-specific features, one late, after. Allows font
developers to detect us and behave differently if needed.
Behdad Esfahbod [Thu, 4 Oct 2018 10:13:55 +0000 (12:13 +0200)]
[test/text-rendering-tests] Update from upstream
Behdad Esfahbod [Thu, 4 Oct 2018 10:09:45 +0000 (12:09 +0200)]
Minor
Behdad Esfahbod [Thu, 4 Oct 2018 09:34:21 +0000 (11:34 +0200)]
Apply morx if there's no GSUB!
Behdad Esfahbod [Thu, 4 Oct 2018 09:08:15 +0000 (11:08 +0200)]
[aat] Add +hb_aat_layout_has_substitution
Sascha Brawer [Thu, 4 Oct 2018 07:17:08 +0000 (09:17 +0200)]
Minor: Fix autoconf warning
Before this change, autoconf was emitting the following warnings:
```
configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
```
Sascha Brawer [Thu, 4 Oct 2018 07:24:08 +0000 (09:24 +0200)]
[morx] Only insert glyphs at mark when a mark has been set before
This reverts commit
f4072e8cb81072cd6d51a2607efedb76c02e7db1.
https://github.com/harfbuzz/harfbuzz/issues/1195
Ebrahim Byagowi [Wed, 3 Oct 2018 22:44:18 +0000 (02:14 +0330)]
Minor, fix double-promotion warnings (#1221)
Ebrahim Byagowi [Wed, 3 Oct 2018 20:59:40 +0000 (00:29 +0330)]
State our graphite2 dependency no-deprecated compile flag (#1220)
mhosken [Wed, 3 Oct 2018 19:33:26 +0000 (02:33 +0700)]
Update Graphite API to latest (#1215)
Behdad Esfahbod [Wed, 3 Oct 2018 19:30:48 +0000 (21:30 +0200)]
Add emoji test for recent work
Ebrahim Byagowi [Wed, 3 Oct 2018 19:19:02 +0000 (22:49 +0330)]
[ci] Delete azure-pipelines
End of experiment, we might get back to it later
Behdad Esfahbod [Wed, 3 Oct 2018 19:17:59 +0000 (21:17 +0200)]
Clean Fitzpatrick hack
Behdad Esfahbod [Wed, 3 Oct 2018 19:11:13 +0000 (21:11 +0200)]
Unbreak Fitzpatrick
Fixes https://github.com/harfbuzz/harfbuzz/issues/1159
Behdad Esfahbod [Wed, 3 Oct 2018 19:02:16 +0000 (21:02 +0200)]
Rewrite grapheme-formation in terms of new work
Also, don't attach ZWNJ to previous cluster. Closer to Unicode graphemes.
Behdad Esfahbod [Wed, 3 Oct 2018 18:50:12 +0000 (20:50 +0200)]
Minor
Behdad Esfahbod [Wed, 3 Oct 2018 18:45:19 +0000 (20:45 +0200)]
[test] Split a test
Ebrahim Byagowi [Wed, 3 Oct 2018 18:22:15 +0000 (21:52 +0330)]
Update azure-pipelines.yml
Behdad Esfahbod [Wed, 3 Oct 2018 18:19:17 +0000 (20:19 +0200)]
Fix distcheck
Behdad Esfahbod [Wed, 3 Oct 2018 18:16:03 +0000 (20:16 +0200)]
[thai] Set continuation on decomposed nikhahit
Behdad Esfahbod [Wed, 3 Oct 2018 18:13:20 +0000 (20:13 +0200)]
[indic] Reset continuation on inserted dottedcircle
Behdad Esfahbod [Wed, 3 Oct 2018 18:09:14 +0000 (20:09 +0200)]
[buffer] Inline some more
Behdad Esfahbod [Wed, 3 Oct 2018 18:06:32 +0000 (20:06 +0200)]
Add code
Behdad Esfahbod [Wed, 3 Oct 2018 18:05:28 +0000 (20:05 +0200)]
[indic] Simplify dottedcircle
Behdad Esfahbod [Wed, 3 Oct 2018 17:44:15 +0000 (19:44 +0200)]
[emoji] Mark emoji contination sequences as continuation
This adds a new grapheme bit. Not used yet.
Part of https://github.com/harfbuzz/harfbuzz/issues/1159
Behdad Esfahbod [Wed, 3 Oct 2018 17:19:51 +0000 (19:19 +0200)]
Dotted-circle all marks, not just non-spacing, at text beginning
Ebrahim Byagowi [Wed, 3 Oct 2018 17:56:58 +0000 (21:26 +0330)]
[test] Use an in-repo font for test-multithread (#1218)
As Khaled's suggestion, hard-coded font paths was only for my own testing.
azure-pipelines[bot] [Wed, 3 Oct 2018 17:47:05 +0000 (17:47 +0000)]
[ci] Add a test Azure Pipelines Linux bot
Related #1219
Behdad Esfahbod [Wed, 3 Oct 2018 17:10:28 +0000 (19:10 +0200)]
Fix build
Behdad Esfahbod [Wed, 3 Oct 2018 16:07:49 +0000 (18:07 +0200)]
[indic] Fix clang everything
Behdad Esfahbod [Wed, 3 Oct 2018 15:54:09 +0000 (17:54 +0200)]
Minor
Behdad Esfahbod [Wed, 3 Oct 2018 15:46:48 +0000 (17:46 +0200)]
[emoji] Add emoji Extended_Pictographic table and function
Part of https://github.com/harfbuzz/harfbuzz/issues/1159
.
Behdad Esfahbod [Wed, 3 Oct 2018 15:27:46 +0000 (17:27 +0200)]
[os2] Minor rename/shuffle
lantw44 [Wed, 3 Oct 2018 15:22:43 +0000 (23:22 +0800)]
Fix test-multithread build on FreeBSD (#1217)
Add the default font path used by FreeBSD ports.
Behdad Esfahbod [Wed, 3 Oct 2018 12:44:25 +0000 (14:44 +0200)]
[indic] Disallow vowel mark combinations that spoof other vowel marks
Fixes https://github.com/harfbuzz/harfbuzz/issues/1019
New numbers:
BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%)
DEVANAGARI: 707261 out of 707394 tests passed. 133 failed (0.0188014%)
GUJARATI: 366353 out of 366457 tests passed. 104 failed (0.0283799%)
GURMUKHI: 60729 out of 60747 tests passed. 18 failed (0.0296311%)
KANNADA: 951300 out of 951913 tests passed. 613 failed (0.0643966%)
MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%)
ORIYA: 42327 out of 42329 tests passed. 2 failed (0.
00472489%)
SINHALA: 271596 out of 271847 tests passed. 251 failed (0.0923313%)
TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%)
TELUGU: 970555 out of 970573 tests passed. 18 failed (0.
00185457%)
Devanagari regressed because Uniscribe doesn't enforce the full set.
Tests added with the *-vowel-letters.txt files in tree and Noto fonts.
Behdad Esfahbod [Wed, 3 Oct 2018 12:44:19 +0000 (14:44 +0200)]
[thai] Minor
Behdad Esfahbod [Wed, 3 Oct 2018 11:54:21 +0000 (13:54 +0200)]
Typo
Behdad Esfahbod [Wed, 3 Oct 2018 11:26:26 +0000 (13:26 +0200)]
Minor
Behdad Esfahbod [Wed, 3 Oct 2018 10:53:54 +0000 (12:53 +0200)]
Minor
HinTak [Tue, 2 Oct 2018 23:11:22 +0000 (07:11 +0800)]
Missing colon for gobject annotation
There should be a colon separating "(transfer full)" and the rest. Warned by g-ir-scanner.
Behdad Esfahbod [Wed, 3 Oct 2018 10:29:56 +0000 (12:29 +0200)]
[use] Add Halant_Or_Vowel_Modifier category
Fixes https://github.com/harfbuzz/harfbuzz/issues/1102
Ebrahim Byagowi [Tue, 2 Oct 2018 18:09:19 +0000 (21:39 +0330)]
[circleci] Fix some of warnings from clang-everything bot (#1211)
* -Wshift-sign-overflow
* -Wmissing-prototypes
Behdad Esfahbod [Tue, 2 Oct 2018 16:56:20 +0000 (18:56 +0200)]
[tests] Allow test-runner to ignore shaping output
Fixes https://github.com/harfbuzz/harfbuzz/issues/1212
Behdad Esfahbod [Tue, 2 Oct 2018 16:46:13 +0000 (18:46 +0200)]
[tibetan] Remove unused Tibetan shaper
Behdad Esfahbod [Tue, 2 Oct 2018 16:43:29 +0000 (18:43 +0200)]
[tibetan] Route Tibetan through USE
Fixes https://github.com/harfbuzz/harfbuzz/pull/933
https://github.com/harfbuzz/harfbuzz/issues/1012
Tibetan failures go from 0 to 2:
TIBETAN: 208467 out of 208469 tests passed. 2 failed (0.
000959375%)
Behdad Esfahbod [Tue, 2 Oct 2018 16:20:16 +0000 (18:20 +0200)]
[khmer] Remove unused khmer_position()
Behdad Esfahbod [Tue, 2 Oct 2018 15:49:06 +0000 (17:49 +0200)]
[indic/use] Factor common expressions in ragel machine
No machine change.
Behdad Esfahbod [Tue, 2 Oct 2018 15:46:27 +0000 (17:46 +0200)]
[indic] Minor flip grammar around
No behavior change.
Behdad Esfahbod [Tue, 2 Oct 2018 15:16:01 +0000 (17:16 +0200)]
[indic] Add some confusable sequences from Unicode Standard
Behdad Esfahbod [Tue, 2 Oct 2018 15:04:05 +0000 (17:04 +0200)]
[ragel] Use ts/te (token-start / token-end) instead of manual tracking
Behdad Esfahbod [Tue, 2 Oct 2018 14:05:26 +0000 (16:05 +0200)]
Treat a base+mark... ligature as base, not ligature
Fixes https://github.com/harfbuzz/harfbuzz/issues/746
Behdad Esfahbod [Tue, 2 Oct 2018 13:02:16 +0000 (15:02 +0200)]
Move code around
Behdad Esfahbod [Tue, 2 Oct 2018 12:48:39 +0000 (14:48 +0200)]
Minor
Behdad Esfahbod [Tue, 2 Oct 2018 12:45:09 +0000 (14:45 +0200)]
Minor
Behdad Esfahbod [Tue, 2 Oct 2018 12:40:14 +0000 (14:40 +0200)]
Disable joiner-skipping when looking back for base to attach mark to
Fixes https://github.com/harfbuzz/harfbuzz/issues/1189
Behdad Esfahbod [Tue, 2 Oct 2018 12:34:29 +0000 (14:34 +0200)]
[arabic] Use manual-zwj instead of flipping joiners
Behdad Esfahbod [Tue, 2 Oct 2018 12:17:42 +0000 (14:17 +0200)]
Minor
Behdad Esfahbod [Tue, 2 Oct 2018 11:27:11 +0000 (13:27 +0200)]
Minor
Behdad Esfahbod [Tue, 2 Oct 2018 11:24:40 +0000 (13:24 +0200)]
Move things
Behdad Esfahbod [Tue, 2 Oct 2018 11:13:47 +0000 (13:13 +0200)]
Rename
Behdad Esfahbod [Tue, 2 Oct 2018 11:11:18 +0000 (13:11 +0200)]
Minor include cleanup
Behdad Esfahbod [Tue, 2 Oct 2018 11:04:05 +0000 (13:04 +0200)]
Shuffle code around
Ebrahim Byagowi [Tue, 2 Oct 2018 07:37:06 +0000 (11:07 +0330)]
Minor, fix -Weverthing bot warnings (#1210)
Khaled Hosny [Tue, 2 Oct 2018 06:25:29 +0000 (08:25 +0200)]
Skip BOM in the Python sample file
Fixes https://github.com/harfbuzz/harfbuzz/issues/1208
HinTak [Tue, 2 Oct 2018 05:43:06 +0000 (06:43 +0100)]
Missing "out" indicator (#1209)
Missing "out" indicator. Affect gobject introspection.
Ebrahim Byagowi [Mon, 1 Oct 2018 23:50:48 +0000 (03:20 +0330)]
[circleci] Remove some of the not needed flags
Ebrahim Byagowi [Mon, 1 Oct 2018 20:46:08 +0000 (00:16 +0330)]
[circleci] Fix "msan" and "everything" bots (#1205)
Behdad Esfahbod [Mon, 1 Oct 2018 18:05:00 +0000 (20:05 +0200)]
[indic] Remove Consonant_Medial from grammar and code
The only Indic CM is U+0A75 GURMUKHI SIGN YAKASH, which Uniscribe doesn't treat
specially, and font designers design for that. So, do the same.
Behdad Esfahbod [Mon, 1 Oct 2018 17:35:48 +0000 (19:35 +0200)]
[khmer] Add mark-ordering tests
Fixes https://github.com/harfbuzz/harfbuzz/issues/667
Behdad Esfahbod [Mon, 1 Oct 2018 17:09:58 +0000 (19:09 +0200)]
[khmer] Rewrite grammar completely
Based on experimenting with Uniscribe to extract grammar and categories.
Failures down from 44 to 35:
KHMER: 299089 out of 299124 tests passed. 35 failed (0.0117008%)
We still don't enforce the one-matra rule pre-decomposition, but enforce
an order and one-matra-per-position post-decomposition.
https://github.com/harfbuzz/harfbuzz/issues/667
Behdad Esfahbod [Mon, 1 Oct 2018 14:59:48 +0000 (16:59 +0200)]
[khmer] Remove unused code
Behdad Esfahbod [Mon, 1 Oct 2018 13:31:50 +0000 (15:31 +0200)]
[test] Try import unicodedata2 as unicodedata
Behdad Esfahbod [Mon, 1 Oct 2018 13:01:04 +0000 (15:01 +0200)]
[use] Disable automatic ZWJ for 'akhn' feature
Fixes https://github.com/harfbuzz/harfbuzz/issues/746
Behdad Esfahbod [Mon, 1 Oct 2018 10:45:06 +0000 (12:45 +0200)]
[use] Change categories for Left_And_* matras
These are only relevant to Sinhala, because they decompose in other
cases. The USE spec categorizes them all as VPst. No idea why we
weren't following that before.
Behdad Esfahbod [Mon, 1 Oct 2018 10:55:57 +0000 (12:55 +0200)]
Unbreak bots
Behdad Esfahbod [Mon, 1 Oct 2018 10:10:00 +0000 (12:10 +0200)]
[morx] Break out if buffer gets into error
Was getting stuck not making progress somehow.
Behdad Esfahbod [Mon, 1 Oct 2018 09:34:20 +0000 (11:34 +0200)]
[cache] Fix cache coherency corner-case
If key_bits+value_bits-cache_bits==32 then -1 is ambiguous...
Ebrahim Byagowi [Mon, 1 Oct 2018 06:10:29 +0000 (09:40 +0330)]
[circleci] Couple of fixes (#1200)
* Raise error on warnings on -everything
* Enable fontconfig to two bots
* Fix msan bot now that all of its real complain are gone
Behdad Esfahbod [Sun, 30 Sep 2018 18:02:30 +0000 (20:02 +0200)]
[msan] Disable icu explicitly
Behdad Esfahbod [Sun, 30 Sep 2018 16:35:12 +0000 (18:35 +0200)]
[msan] Remove uninstrumented libraries
Behdad Esfahbod [Sun, 30 Sep 2018 16:26:45 +0000 (18:26 +0200)]
Correct fix for glib-mkenum warning
Behdad Esfahbod [Sun, 30 Sep 2018 16:25:58 +0000 (18:25 +0200)]
Revert "Fix glib-mkenum warning"
This reverts commit
247756a7d89008ee6a7d1171dc07ba22454c6034.
Was wrong. Right fix coming.
Behdad Esfahbod [Sun, 30 Sep 2018 16:23:34 +0000 (18:23 +0200)]
Move _POSIX_SOURCE to hb.hh
Behdad Esfahbod [Sun, 30 Sep 2018 16:19:54 +0000 (18:19 +0200)]
Change _HB_SCRIPT_MAX_VALUE from 0xFFFFFFFF to 0x7FFFFFFF
Fixes https://github.com/harfbuzz/harfbuzz/issues/504
Behdad Esfahbod [Sun, 30 Sep 2018 16:14:50 +0000 (18:14 +0200)]
[test] Fix -Wunused-parameter warnings
Behdad Esfahbod [Sun, 30 Sep 2018 16:01:20 +0000 (18:01 +0200)]
More warning fixes
Behdad Esfahbod [Sun, 30 Sep 2018 15:48:55 +0000 (17:48 +0200)]
Fix bug introduced in
9b0b40b3c1ac8155c80ed5dc976228f4d3ec7e1f
Also discovered by msan bot.
Behdad Esfahbod [Sun, 30 Sep 2018 11:10:54 +0000 (13:10 +0200)]
Fix glib-mkenum warning
GEN hb-gobject-enums.h
WARNING: Failed to parse "/*< private >*/" in ../../src/hb-buffer.h