Rod Sheeter
38df1ec8e0
TEMPORARY: remove HB_INTERNAL from null pool so subset builds again
7 years ago
Garret Rieger
53aa0e9542
Add an instance of glyf::accelerator_t to hb-subset-glyf.
7 years ago
Rod Sheeter
ef62dfed3f
add back assert_pod
7 years ago
Rod Sheeter
d0ce3c66e2
Resolve codepoints:glyph ids. Does not compile; undefined reference to OT::_hb_NullPool
7 years ago
Garret Rieger
6a45e5df24
Add skeleton of hb-subset-glyf, call if from hb_subset(...)
7 years ago
Garret Rieger
31ec3c2ec4
Create a subset plan in hb_subset.
7 years ago
Rod Sheeter
6c52d94fd1
capture the set of codepoints passed by --unicodes
7 years ago
Garret Rieger
25e9173fe8
Make hb-subset-plan private.
7 years ago
Garret Rieger
af46a4da5a
Move definition of hb_subset_input into hb-subset-private.hh.
7 years ago
Garret Rieger
7481f0ce21
Add codepoints to subset input.
7 years ago
Garret Rieger
1cfe650f02
Add a basic sketch of hb-subset-plan.
7 years ago
Behdad Esfahbod
126ffdbe95
[aat] Fix debug compile
7 years ago
Ebrahim Byagowi
8cb8bfd5b5
[test] Fix test-subset on old distros ( #758 )
...
https://developer.gnome.org/glib/stable/glib-Testing.html#g-assert-cmpmem
7 years ago
Behdad Esfahbod
2971e9da49
[aat] Adjust unsafe-to-break logic some more
...
I believe I'm happy with it now.
7 years ago
Behdad Esfahbod
f49256d80f
[aat] Simplify unsafe-to-break logic
7 years ago
Behdad Esfahbod
cc1e0840ba
[buffer] Tweak diff re glyph_flags again
...
We expect the buffer to have no flags that the reference doesn't...
Meh. Makes MORX tests pass now. Need to better define the behavior.
7 years ago
Ebrahim Byagowi
d49ae5154e
Fix hb-buffer logic error
7 years ago
Ebrahim Byagowi
70e13ade81
[subset] Fix Windows issue on endlines ( #756 )
7 years ago
Behdad Esfahbod
f41b92134a
Fix fallthrough compiler warning with gcc >= 7
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/755
7 years ago
Behdad Esfahbod
b7b7f0ac59
[test] Minor
7 years ago
Behdad Esfahbod
0ff007daaa
[subset] Minor
7 years ago
Garret Rieger
fc1e82a5ae
Merge pull request #754 from googlefonts/master
...
Fix build for subsetting code.
7 years ago
Garret Rieger
2ea228935d
ssize_t -> size_t
7 years ago
Garret Rieger
c25898eb54
Switch to fopen() instead of open() in subset test. open wasn't compiling on windows.
7 years ago
Garret Rieger
fc04f11ce1
Rename HB_SUBSET_sources -> HB_SUBSET_CLI_sources to match what cmake is looking for.
7 years ago
Garret Rieger
e428f7b1c2
Wrap unistd.h include in ifdef.
7 years ago
Garret Rieger
5f6eb1256f
Add libharfbuzz-subset.la to linking when building api tests.
7 years ago
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