Khaled Hosny
b7f1bbc2f8
[test] Fix printing subprocess error messages
...
Decode the string as Python 3 returns bytes string, and also don’t
assume that it ends with a new line.
6 years ago
Behdad Esfahbod
d5c509272f
[dfont] Fix test expecatation and minor touch up
...
I have no way to authoritatively know, but looks like test font only has one
face. So, adjust test expectation instead.
6 years ago
Ebrahim Byagowi
2b2ed1e536
[dfont] Add test
6 years ago
Behdad Esfahbod
cfdea88475
[random] Switch to 32bit RNG
6 years ago
Behdad Esfahbod
80de4bcd26
Minor clean up of 'rand' patchset
6 years ago
David Corbett
b545e27d88
Don't seed the RNG from the contents of the buffer
6 years ago
David Corbett
2de96e8468
Test 'rand'
6 years ago
Behdad Esfahbod
62fc54725a
[ot-font] Fallback vertical advance to UPEM
...
Used to be ascent+descent. Whatever. This is more convenient for
upcoming changes.
6 years ago
Behdad Esfahbod
1becabe06c
[cmap] Use bsearch to find subtables
6 years ago
Behdad Esfahbod
92ba9905ca
[indic] Allow double-halant in old-spec Devanagari
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1071
6 years ago
Behdad Esfahbod
fe099a844b
[test] Add Khmer tests, with NotoSansKhmer-Regular.ttf
...
Note that there's minor positioning differences, and ONE reordering
difference between what we get for these and what Uniscribe gets.
Probably same as what's described in commit message for
1a96cc825d
6 years ago
Behdad Esfahbod
2d6edc9008
[test] Add Khmer test texts from recent bugs
6 years ago
Behdad Esfahbod
df26a32c8f
[test] Move things around for shaper updates
6 years ago
David Corbett
62fa7cd1cc
Order Chakma split vowels in accordance with NFC
...
Fixes #1105 .
6 years ago
Behdad Esfahbod
9940504e93
[indic] Adjust left-matra repositioning and Halant,ZWJ sequence
...
From the new code (first paragraph is from the OT Devanagari spec.):
/* o Reorder matras:
*
* If a pre-base matra character had been reordered before applying basic
* features, the glyph can be moved closer to the main consonant based on
* whether half-forms had been formed. Actual position for the matra is
* defined as “after last standalone halant glyph, after initial matra
* position and before the main consonant”. If ZWJ or ZWNJ follow this
* halant, position is moved after it.
*
* IMPLEMENTATION NOTES:
*
* It looks like the last sentence is wrong. Testing, with Windows 7 Uniscribe
* and Devanagari shows that the behavior is best described as:
*
* "If ZWJ follows this halant, matra is NOT repositioned after this halant.
* If ZWNJ follows this halant, position is moved after it."
*
* Test case, with Adobe Devanagari or Nirmala UI:
*
* U+091F,U+094D,U+200C,U+092F,U+093F
* (Matra moves to the middle, after ZWNJ.)
*
* U+091F,U+094D,U+200D,U+092F,U+093F
* (Matra does NOT move, stays to the left.)
Fixes https://github.com/harfbuzz/harfbuzz/issues/1070
Test case added with Adobe Devanagari.
6 years ago
Behdad Esfahbod
4a115fe7fe
[sinhala] Move reph to after post-consonants
...
Apparently this changed between Win 7 and Win 10.
Fixes https://github.com/harfbuzz/harfbuzz/issues/967
To be continued in https://github.com/harfbuzz/harfbuzz/issues/1044
7 years ago
Behdad Esfahbod
3e494caae3
[test] Fix record-test to use gids not glyph-names
...
as those might not match what FontTools think of the glyphs if font
does NOT have glyph names.
7 years ago
Behdad Esfahbod
2eb9bbd986
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
f673cfbd64
Support scripts that are written both LTR and RTL
...
Right now only Old Italic is marked as such.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1000
7 years ago
Ebrahim Byagowi
9925030f19
Don't decompose Bengali Rra and Rha
...
Fixes #779 and follow up to b01d9b3d90
7 years ago
Ebrahim Byagowi
26e0cbd834
Actual py3 compatibility making on gen-* scripts ( #941 )
7 years ago
Ebrahim Byagowi
cab2c2c08c
Make more gen-* scripts py3 compatible ( #940 )
7 years ago
Chun-wei Fan
eda6a5ea80
CMake: Fix running tests on Windows
...
For the API tests, output the test programs at $(TOP_BUILDDIR) so that
the freshly-built DLLs will be available for the test programs. For
those that are run through the Python wrapper scripts, use
${PYTHON_EXECUTABLE} instead of plain 'python' in case the Python
interpreter is not in the PATH.
7 years ago
Behdad Esfahbod
bcf578fefe
[test] Add test suite for Brahmi Number Joiners
...
https://github.com/harfbuzz/harfbuzz/pull/660
7 years ago
Ebrahim Byagowi
5b9c234043
[CPAL] Refactor and address the reviews
7 years ago
Behdad Esfahbod
e2d2d81984
Limit how much work sanitize() can do
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6022
7 years ago
Behdad Esfahbod
246e280d88
[test] Add test for https://github.com/harfbuzz/harfbuzz/issues/740
7 years ago
Behdad Esfahbod
83f57e24bf
[test] Reinstate test/shaping/data/in-house/tests/myanmar-syllable.tests
7 years ago
Rod Sheeter
89ee20f1a3
basic wiring for a (failing) cmap test
7 years ago
Behdad Esfahbod
3346ba9cd5
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
1242ad8424
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
3615f344ec
[test/text-rendering-tests] Update from upstream
7 years ago
David Corbett
ccb0367dae
Let VS1 follow U+1031 MYANMAR VOWEL SIGN E
7 years ago
Behdad Esfahbod
585b576098
Fix distcheck
7 years ago
Behdad Esfahbod
e00743b47d
[test/text-rendering-tests] Update from upstream
7 years ago
David Corbett
9b693212a8
Update record-test.sh to the new directory layout ( #716 )
7 years ago
Behdad Esfahbod
60f84ef014
Disable MORX-13/14
...
Really, need better way to catch these :(.
7 years ago
Behdad Esfahbod
54a1e250a8
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
0d39ac224c
[test/text-rendering-tests] Update README
7 years ago
Behdad Esfahbod
17a66f133c
[test] Disable MORX-12
...
Ouch. I need a better workflow for this.
7 years ago
Behdad Esfahbod
1387fe8f9c
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
1eb98c9916
[test/text-rendering-tests] Actually disable MORX-11
7 years ago
Behdad Esfahbod
1d20d109a0
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
fc405b7ca7
[test/text-rendering-tests] Update from upstream
7 years ago
Ebrahim Byagowi
4177f646aa
[cmake] Update and unbreak ( #700 )
7 years ago
Behdad Esfahbod
d6076747ac
[test/text-rendering-tests] Add DISABLED list
7 years ago
Behdad Esfahbod
de02b5093c
[test/in-house] Add Makefile.sources
7 years ago
Behdad Esfahbod
7c32e01d04
Minor
7 years ago
Behdad Esfahbod
a5adc5aa84
[test/text-rendering-tests] Update from upstream
...
Also adds an update.sh script that does this automatically.
7 years ago
Behdad Esfahbod
c861daacc4
[test/text-rendering-tests] Add README and COPYING
7 years ago