Behdad Esfahbod
e081c9e8fc
Oops!
7 years ago
Behdad Esfahbod
1c49afe179
Whitespace
7 years ago
Behdad Esfahbod
9682ef135f
Minor fixups
7 years ago
Garret Rieger
35eeb893ef
Don't include subset headers in libharfbuzz.
7 years ago
Garret Rieger
42234424a0
Fix include gaurds and include order in hb-subset-glyf and hb-subset-plan
7 years ago
Garret Rieger
0f3c756cbf
Add CMake config for building a separate harfbuzz-subset.
7 years ago
Garret Rieger
d4d120ad79
Skip subset to fonttools comparison test if TTX is not present.
7 years ago
Garret Rieger
29d915284e
Whitespace
7 years ago
Garret Rieger
f9420d9eff
In the hb-subset to fontTools comparison, use ttx to compare the fonts. This allows for some binary differences such as re-ordered tables.
7 years ago
Garret Rieger
8e9fd6f1ab
Implement basic loca (long version only) subsetting.
7 years ago
Garret Rieger
f9c665fed1
Update interface to hb-subset-glyf to subset glyf and loca.
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
Garret Rieger
217ed5e3c8
Cleanups in hb-subset-glyf and hb-subset-plan.
7 years ago
Rod Sheeter
13193a9b97
move to the hb_face_t dest pattern
7 years ago
Rod Sheeter
0859a00669
sketch a subset<T> and call it for cmap. Add subset to cmap, albeit not working even for the msot basic case just yet
7 years ago
Behdad Esfahbod
c1ab95dd90
Fix overflow in space fallback shaping
...
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=657466
7 years ago
Behdad Esfahbod
b220b5a444
Avoid undefined-behavior in fallback mark positioning
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5584
7 years ago
Behdad Esfahbod
3b68a03a1c
[fuzzer] Minor
7 years ago
Behdad Esfahbod
194140d3f3
[util] Minor
7 years ago
Behdad Esfahbod
5021ba2a21
[aat] Minor
7 years ago
Behdad Esfahbod
1242ad8424
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
77ad8b5c8b
TODO
7 years ago
Behdad Esfahbod
941bbd9f25
[subset] Fix thinko
7 years ago
Behdad Esfahbod
931f8b7eb5
Fix another thinko
7 years ago
Behdad Esfahbod
39b86695cf
[subset] Fix thinko
7 years ago
Behdad Esfahbod
eeffabc875
Build
7 years ago
Behdad Esfahbod
c479a59988
[subset] Assemble font
7 years ago
Behdad Esfahbod
34ac3548b7
[set] Respect stride
...
Ouch!
7 years ago
Behdad Esfahbod
577becaf7b
[subset] Fixup
7 years ago
Behdad Esfahbod
c9acab3cfb
Whitespace
7 years ago
Behdad Esfahbod
7fd0b61dee
[subset] Create new face and copy all tables to it
...
test-subset fails now because subset-face does not know how to compile itself.
7 years ago
Garret Rieger
4e1abe2ce0
Refactor subset glyf to remove multiple calls to glyf.fini()
7 years ago
Garret Rieger
0a5d1440f8
Add implementation of glyf subsetting.
7 years ago
Garret Rieger
05d65baa1b
Extract glyf offset calculation into it's own method.
7 years ago
Behdad Esfahbod
6d7c6e19dc
Fix two undefined-behavior issues
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/761
Fixes https://github.com/harfbuzz/harfbuzz/issues/762
7 years ago
Behdad Esfahbod
b87cbe2bec
Try fixing build for platforms that have no visibility attributes
7 years ago
Behdad Esfahbod
f70100417c
[test] Minor
7 years ago
Behdad Esfahbod
6804b61d2e
[subset] Add hb_subset_face
...
It's a hb_face_t that has add_table() and in the future knows how to
compile itself into a font blob.
7 years ago
Behdad Esfahbod
af02812fc5
[subset] Change hb_subset API to remove hb_subset_face_t
7 years ago
Behdad Esfahbod
2da0d87e76
Remove NullPool visibility hack
...
We keep a separate private NullPool in libharfbuzz-subset.so
This can fire back later since now there are two separate null objects,
and comparisons to the null pool can be confused. Something to deal
with when it comes up. Ouch!
7 years ago
Rod Sheeter
b95aa204ee
glyph ids to retain should most likely keep the glyph id not the codepoint
7 years ago
Rod Sheeter
91428713bd
Remove \ns leftover from fprintf
7 years ago
Rod Sheeter
eb485bb9e9
Horrid hack to assign new gids. Use DEBUG_MSG over fprintf
7 years ago
Rod Sheeter
8b80cbb1dd
Add a subset debug category
7 years ago
Behdad Esfahbod
ee433d36fa
[aat] Set debug lookup_index
7 years ago
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