Ebrahim Byagowi
5dbbd0fdb9
Move the #define of _GNU_SOURCE to the top of hb-private.hh ( #697 )
...
This fixes the build on Cygwin.
7 years ago
Ebrahim Byagowi
90e3c9e69e
[cmake] Fix hb-blob test ( #699 )
7 years ago
Ebrahim Byagowi
1461965c22
[test] Better tests output by converting stderr to stdout ( #696 )
...
https://gitlab.kitware.com/cmake/cmake/issues/17630
7 years ago
Ebrahim Byagowi
ebb9b7d633
[test] Print shaping output on CI fails ( #695 )
7 years ago
Ebrahim Byagowi
e24bea8e91
[cmake] Another try on making sure feature testing is working ( #691 )
7 years ago
Behdad Esfahbod
746a37d5bd
[util] Replace setlinebuf
7 years ago
Behdad Esfahbod
ff2083c53e
[util] Set stdio files to line buffering
...
So we can stream lines to hb-shape and read output.
7 years ago
Behdad Esfahbod
80fd574320
[aat] Add Class subtable thingy
...
From old 'mort' table.
7 years ago
Ebrahim Byagowi
71e0ed9cba
[cmake] Add header existence tests ( #685 )
7 years ago
Ebrahim Byagowi
a073621b5d
[cmake] Fix tests against latest changes ( #690 )
7 years ago
Khaled Hosny
0b22da9541
Improve HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES docs
...
Add the note about absolute glyph positions from the commit message.
7 years ago
Behdad Esfahbod
6db0b17c4c
[test] Move test handling to sundirectories
7 years ago
Behdad Esfahbod
4c982b4867
[test] Whitelist one more passing test
7 years ago
Behdad Esfahbod
188ee6e5ee
Calculate anchor positions in float, then round
...
Hoping to reduce rounding error, to make tests happier...
No luck.
7 years ago
Behdad Esfahbod
0b28e1199d
[test] Whitelist one more passing test
7 years ago
Behdad Esfahbod
7cdd6ab068
Round, instead of floor, when applying variations
...
Hoping this would fix remaining text-rendering-tests failures,
but so far no luck.
7 years ago
Behdad Esfahbod
6dc6f0c9f8
[test] Whitelist one passing test
7 years ago
Behdad Esfahbod
ec939761e4
Minor
7 years ago
Behdad Esfahbod
c4eac531df
Minor
7 years ago
Behdad Esfahbod
285a0bd799
[test] Another try
...
Making cmake happy this time.
7 years ago
Behdad Esfahbod
95b32b0055
[test] Fix text disabling
...
Ouch, make!
7 years ago
Behdad Esfahbod
a938d105b8
[test/text-rendering-tests] Disable failing tests
7 years ago
Behdad Esfahbod
ed95d5e374
[test/text-rendering-tests] Disable failing tests
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
6b19178ee3
Prefix int types with HB
...
Such a headache that Windows defines UINT8, ...; Just prefix it.
7 years ago
Behdad Esfahbod
81e321c802
[aat] Try fixing VC bots
...
c:\projects\harfbuzz\src\hb-aat-layout-common-private.hh(51): error C2872: 'UINT16': ambiguous symbol [C:\projects\harfbuzz\build\harfbuzz.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h(80): note: could be 'unsigned short UINT16'
c:\projects\harfbuzz\src\hb-open-type-private.hh(648): note: or 'OT::UINT16'
7 years ago
Behdad Esfahbod
0ed69c9462
Disable processing of morx table in ot shaper
...
So I can merge this to master...
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
7020130665
[test] Minor
7 years ago
Behdad Esfahbod
5f94b4cc39
[kern] Mark unsafe-to-break
7 years ago
Behdad Esfahbod
71fd6325b6
Add option to buffer serialization to not output glyph advances
...
When advances are not printed, glyph offsets reflect absolute glyph
positions.
New API:
HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES
hb-shape --no-advances
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
Behdad Esfahbod
6b4d63f295
[test] Minor
7 years ago
Behdad Esfahbod
504f913654
[test] Simplify test runner
...
Always pass hb-shape as first argument to run-tests.py.
Also require automake 1.13.
7 years ago
Behdad Esfahbod
141db8b7a3
[test] Minor
7 years ago
Behdad Esfahbod
44c65eee28
[test] Reorganize test suite
...
In anticipation of importing more test suites.
7 years ago
Behdad Esfahbod
9a3ad307ea
[test] Remove unused hb-diff-ngrams
7 years ago
Behdad Esfahbod
b6b460024d
[test] Remove unused manifest stuff
7 years ago
Behdad Esfahbod
ebbee7c247
[test] Move test files around
7 years ago
Behdad Esfahbod
748b989a1f
[aat/morx] Implement NoncontextualSubtables
...
Also makes hb-ot-shape call morx for now instead of GSUB... Just for testing.
7 years ago
Behdad Esfahbod
4cf3ab1d81
Minor
7 years ago
Behdad Esfahbod
470fe5b603
[aat] Implement Lookup table
...
Untested, but compiles.
7 years ago
Behdad Esfahbod
4646a80a87
Minor
7 years ago
Behdad Esfahbod
7c7cb42d81
[aat] Update previous commits for rebase on master
7 years ago
Behdad Esfahbod
a0175e75bc
[aat] Start implementing common table formats
7 years ago
Behdad Esfahbod
c71b55a223
[aat] Start implementing Apple AAT morx table
7 years ago
Ebrahim Byagowi
3c7aeb5c64
[cmake] Add autotools like feature testing ( #683 )
7 years ago
Behdad Esfahbod
0473d95e27
[ft] Use FT_Done_MM_Var() if available
7 years ago