Behdad Esfahbod
02bebe42c1
[test/text-rendering-tests] Update from upstream
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
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
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
cab2c2c08c
Make more gen-* scripts py3 compatible ( #940 )
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
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
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
Behdad Esfahbod
ea3e86c640
Minor
7 years ago
Behdad Esfahbod
6db0b17c4c
[test] Move test handling to sundirectories
7 years ago
Behdad Esfahbod
3b1e97f364
Add HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES
...
New API:
HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES
hb-shape / hb-view --remove-default-ignorables
One more text-rendering-tests test passing. Eleven failing.
7 years ago
Behdad Esfahbod
46e4ed552f
[test/text-rendering-tests] Hook up font variations
...
Six more passing. Twelve failing now.
7 years ago
Behdad Esfahbod
2b3f62fc4d
[test] Add tests from text-rendering-tests repo
...
https://github.com/unicode-org/text-rendering-tests
7 years ago
Behdad Esfahbod
3f29ea9144
[util] Add hb-shape --ned
...
For not displaying extra data: no clusters, no advance. Just data pertaining
to where glyphs end up on the screen.
7 years ago
Behdad Esfahbod
316a28f8f8
[test] Add script for extracting tests from text-rendering-tests
...
Work in progress...
https://github.com/unicode-org/text-rendering-tests
7 years ago