Behdad Esfahbod
ae39fc8171
[subset] Build hb-subset into separate libharfbuzz-subset.so
7 years ago
Behdad Esfahbod
eac20e4595
[subset] Minor
7 years ago
Behdad Esfahbod
257022b178
Merge pull request #745 from googlefonts/master
...
Interface for hb_subset, skeleton for the hb-subset cli, and basic testing rigging.
7 years ago
Behdad Esfahbod
3615f344ec
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
54e6efadd6
[aat] Fix unsafe-to-break
...
At any position, if state is not zero, mark unsafe-to-break before,
unless we can reason it safe.
At any position, if there's an action entry for end-of-text, mark
unsafe to break.
Also changes buffer diff impl to allow for flag differences as long
as the buffer glyph flags are superset of reference glyph flags.
With this, all MORX tests pass.
7 years ago
Rod Sheeter
edcd3b80e9
Actually call hb_subset
7 years ago
Garret Rieger
7b01761ade
Add CMakeLists.txt to dist files for subset test.
7 years ago
Garret Rieger
f83a43b561
Add CMake configuration for all of the new subsetting code.
7 years ago
Garret Rieger
5bc0cda179
Add missing unistd header to hb-subset.
7 years ago
Garret Rieger
06fe297f2a
Properly include subset test data files.
7 years ago
Garret Rieger
058b1260ad
Re-write hb-subset utility to use main-font-text driver.
7 years ago
Garret Rieger
ede84ffa42
Whitespace
7 years ago
Garret Rieger
2763a2c598
Include subset test files in distribution.
7 years ago
Garret Rieger
34fa7b3ad2
Whitespace
7 years ago
Garret Rieger
8c3a672737
Get test-subset to pass.
7 years ago
Garret Rieger
74d39ed263
Attach add a hb_face_t to hb_subset_face_t.
7 years ago
Garret Rieger
76b84c36b9
Whitespace
7 years ago
Garret Rieger
a2965f2ea5
Add a basic implementation of hb-subset to enable compilation of test-subset.
7 years ago
Garret Rieger
38af23b8df
Make the expected output for subsetting basics test be equal to the input file for now.
7 years ago
Garret Rieger
b59c08eb04
Add the beginning of a unit test for hb-subset
7 years ago
Rod Sheeter
e9d154ac8d
tweak test failure output. write to a temp file not stdout. test still fails because expected is not just an identical copy of input
7 years ago
Garret Rieger
cf403e1a53
Add hb-subset.h to hb.h
7 years ago
Garret Rieger
c02573516c
Fix typo in hb-subset.h
7 years ago
Garret Rieger
76351518ca
Remove basic subset test from XFAIL
7 years ago
Garret Rieger
b029b7c19a
Whitespace
7 years ago
Garret Rieger
0853260e99
Configure automake to run the new subset tests.
7 years ago
Garret Rieger
5c63c37b2b
WIP test runner for subset tests.
7 years ago
Garret Rieger
cc46cd88a1
In generate-expected-outputs read the test definition with utf8 encoding.
7 years ago
Garret Rieger
4cdae914e2
Add basic directory structure for subsetter integration tests. Plus a utility for generating expected output files.
7 years ago
Rod Sheeter
9ccb8366f6
Start to sketch APIs for subsetting
7 years ago
Behdad Esfahbod
89b1906d99
[aat] More adjustment to ContextualSubtable
...
See comment.
With this, MORX-20 passes if I turn --verify off. Our unsafe-to-break
logic is currently broken in presence of end-of-text actions. That's,
ugh, extra work to fix. Let me try...
7 years ago
Behdad Esfahbod
8be596f0b7
[aat] In ContextualSubstitute, apply end-of-text action to last glyph
7 years ago
Behdad Esfahbod
c0b1c7eb2e
[aat] Remove unneeded check
7 years ago
Behdad Esfahbod
fcb8be1a38
[configure] Fix wording
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/741
7 years ago
Behdad Esfahbod
aed32589af
[aat] In ContextualSubtable, mark mark after substituting mark
...
Fixes MORX-21.
7 years ago
Behdad Esfahbod
fe5f9b1ae3
[aat] Fix ContextualSubtable sanitization
...
Fixes MORX-18, MORX-19, and MORX-22.
7 years ago
Khaled Hosny
cf943f682b
Correctly show documentation build status
...
Correctly show if building documentation is enabled or not in configure
summary.
Fixes https://github.com/harfbuzz/harfbuzz/issues/741
7 years ago
Bruce Mitchener
e8859fca3e
Enable use of atexit() on macOS and related platforms.
...
The atexit() man page indicates that this is expected to behave
in the expected way on unloading of shared libraries.
7 years ago
Bruce Mitchener
a89573770b
Use nullptr, not NULL.
7 years ago
Ebrahim Byagowi
07885e65ad
[cmake] unistd typo fix ( #747 )
7 years ago
David Corbett
ccb0367dae
Let VS1 follow U+1031 MYANMAR VOWEL SIGN E
7 years ago
punchcutter
c6dbf6e77c
Allow optional ZWJ in virama terminated cluster
7 years ago
Bruce Mitchener
dae20fb5a7
Use nullptr instead of 0.
7 years ago
Bruce Mitchener
90218fa93c
Fix typos.
7 years ago
Bruce Mitchener
148ca61075
[ot-layout] Fix nullptr dereference.
...
If the `calloc` for `gsub_accels` or `gpos_accels` fails, then the
unlikely branch afterwards can be taken, which frees up the
`hb_ot_layout_t`, but since those fields can now be `nullptr`, then
we don't want to dereference them.
7 years ago
Bruce Mitchener
0c66043a92
[coretext] Fix memory leaks.
...
In `reference_table`, if the data is empty and we return early,
we still need to release the data object.
In `hb_coretext_shape`, there two edge cases where an early
return should release the attributed string.
7 years ago
Behdad Esfahbod
f0b700db39
1.7.5
7 years ago
Behdad Esfahbod
585b576098
Fix distcheck
7 years ago
Behdad Esfahbod
e89df6e1ae
[aat] Limit number of DontAdvance transitions
...
Remove the faulty loop-detection logic. Use max-ops for breaking
out of infinite loops or heavy work.
https://twitter.com/behdadesfahbod/status/958065026262183936
7 years ago
Behdad Esfahbod
e00743b47d
[test/text-rendering-tests] Update from upstream
7 years ago