Ebrahim Byagowi
ce17340b23
Add hb_blob_create_from_file, a new API ( #926 )
7 years ago
Chun-wei Fan
831d4a2dab
test/api: Fix building subset tests
...
Include stdbool.h in hb-setset-test.h instead of in the individual
sources, if it is found; otherwise use a simplistic fallback for it if
it is not found.
Also declare variables at the top of the block, to build on pre-C99
compiliers.
7 years ago
Behdad Esfahbod
70ad69f244
[test] Fix build with older glib
7 years ago
Rod Sheeter
9bd6d25254
[subset] clone trim logic from fonttools glyf handling
7 years ago
Rod Sheeter
4f07437dfe
[subset] sketch out dropping in-glyf instructions. Sometimes yields differnet size glyphs than fonttools, possibly due to padding not being corrected
7 years ago
Behdad Esfahbod
0bff6991de
Ugh. Really fix build.
7 years ago
Behdad Esfahbod
0bd2d76bdd
[test] Fix a couple of coverity_scan issues
7 years ago
Garret Rieger
c36d015b0e
[subset] missing return.
7 years ago
Behdad Esfahbod
7b5ce74047
Fix warnings
7 years ago
Rod Sheeter
c7a633f957
[subset] try to get more info from bot where g_assert_cmpmem fails
7 years ago
Rod Sheeter
0bb2d7ac12
[subset] fix int type for blob length in hb-subset-test.h
7 years ago
Garret Rieger
e0ffebead6
[subset] In hb-subset-test use hb_set_union instead of manually copying set.
7 years ago
Garret Rieger
e5edcc81bf
[subset] Fix codepoint iteration in hb-subset-test.
7 years ago
Garret Rieger
8b1dbbef1a
Fix compile error in hb-subset-test.
7 years ago
Rod Sheeter
89ee20f1a3
basic wiring for a (failing) cmap test
7 years ago
Garret Rieger
d8d8bd8405
[subset] Add some helper functions for writing tests around subsetting.
7 years ago
Behdad Esfahbod
4c5bdb4b39
[test] Disable test-subset-glyf for now
7 years ago
Behdad Esfahbod
43314ff4c0
More fixes
...
test-subset-glyf still failing. No idea why :(
7 years ago
Behdad Esfahbod
9682ef135f
Minor fixups
7 years ago
Garret Rieger
f2ceb5ee4d
Comment out failing assert in test-subset-glyf for now. Should be re-enabled once hb_subset is writing out a new face.
7 years ago
Garret Rieger
89dbebd4ad
Add a basic test for glyf subsetting.
7 years ago