Garret Rieger
24904383df
[subset] Correct usFirstCharIndex and usLastCharIndex in OS2 table when subsetting.
7 years ago
Behdad Esfahbod
d5b33f2fe1
[subset] hb_subset_input_t changes
7 years ago
Behdad Esfahbod
3d66f441cc
[subset] Remove unreachable code
...
sanitizer.sanitize never return nullptr.
7 years ago
Rod Sheeter
1330edc4fe
Use functions to get new gids. Avoid 0; fonttools drops it from cmap.
7 years ago
Rod Sheeter
692f86e569
drop GDEF, GPOS, GSUB, and dsig
7 years ago
Garret Rieger
83e1ef9215
[subset] Set the new number of glyphs in maxp.
7 years ago
Garret Rieger
5df080bf15
Destroy the subset plan at the end of subsetting.
7 years ago
Rod Sheeter
ebd31d376d
subset for real
7 years ago
Ebrahim Byagowi
203b647530
Favor use of static instead HB_INTERNAL
7 years ago
Behdad Esfahbod
43314ff4c0
More fixes
...
test-subset-glyf still failing. No idea why :(
7 years ago
Behdad Esfahbod
a981d798ea
Fix more build issues
...
Hopefully most bots come back with this...
7 years ago
Ebrahim Byagowi
6c4ca6135a
Hide more symbols of hb-subset ( #771 )
7 years ago
Behdad Esfahbod
bfa871634c
Minor
7 years ago
Ebrahim Byagowi
844f48ea9a
Fix symbol exporting and libstdc++ linkage of hb-subset ( #769 )
7 years ago
Rod Sheeter
9275bd03ea
First pass at building a cmap
7 years ago
Garret Rieger
d2170d1478
Check for failures from add table.
7 years ago
Garret Rieger
86aa4b3ba7
Return empty face on hb_subset failure instead of null. Plus some minor cleanups for _add_head_and_set_loca_version
7 years ago
Garret Rieger
1582eabee6
Update head table with loca format selected by glyf+loca subsetting.
7 years ago
Garret Rieger
335bbaa66f
Remove uneeded code in hb-subset.
7 years ago
Rod Sheeter
59c658c8d5
capture codepoints sorted so we can use them for cmap later. one day we will have a map
7 years ago
Garret Rieger
aac7d96212
Apply per table subsetting while building the new face in hb_subset.
7 years ago
Behdad Esfahbod
9682ef135f
Minor fixups
7 years ago
Garret Rieger
f9c665fed1
Update interface to hb-subset-glyf to subset glyf and loca.
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
39b86695cf
[subset] Fix thinko
7 years ago
Behdad Esfahbod
c479a59988
[subset] Assemble font
7 years ago
Behdad Esfahbod
577becaf7b
[subset] Fixup
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
Behdad Esfahbod
b87cbe2bec
Try fixing build for platforms that have no visibility attributes
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
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
Garret Rieger
53aa0e9542
Add an instance of glyf::accelerator_t to hb-subset-glyf.
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
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
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
a2965f2ea5
Add a basic implementation of hb-subset to enable compilation of test-subset.
7 years ago
Rod Sheeter
9ccb8366f6
Start to sketch APIs for subsetting
7 years ago
Behdad Esfahbod
5783e05f81
[docs] Move docs/reference/ contents into docs/
9 years ago
Anthony Carrico
f7c72b42ef
[gtk-doc] Initial setup
...
Initial setup of gtk-doc. Straight forward setup following the gtk-doc
instructions. Ignore some troublesome types in src/hb-gobject.h. To
build use "./autogen.sh --enable-gtk-doc" then "make". Docs are in
harfbuzz/docs/reference/html/index.html.
11 years ago
Behdad Esfahbod
c39def9bc7
Move valgrind suppressions to the correct directory
12 years ago
Behdad Esfahbod
28b1bac541
[test] Switch to automake-based test-runner
...
Adds check-valgrind among other modes. We do not run under gtester by
default anymore.
14 years ago
Behdad Esfahbod
29aa400183
Add build system
15 years ago