Behdad Esfahbod
|
5c3112aec8
|
s/hb_prealloced_array_t/hb_vector_t/g
Part of https://github.com/harfbuzz/harfbuzz/issues/1017
|
2018-05-01 19:07:04 -04:00 |
Behdad Esfahbod
|
a60ba7964e
|
s/finish/fini
For consistency.
|
2018-05-01 19:01:25 -04:00 |
Rod Sheeter
|
d78393b554
|
Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into drophints
|
2018-02-23 17:53:26 -08:00 |
Garret Rieger
|
e61f360dc8
|
[subset] Fix memory leak in hb-subset-plan.
|
2018-02-23 15:44:21 -08:00 |
Rod Sheeter
|
9bd6d25254
|
[subset] clone trim logic from fonttools glyf handling
|
2018-02-23 13:05:58 -08:00 |
Rod Sheeter
|
74e0c13a4a
|
[subset] drop hint tables if so flagged. Still need to dump glyf instructions.
|
2018-02-21 11:19:18 -08:00 |
Behdad Esfahbod
|
e5ab34fd3a
|
Misc fixes
Should bring bag djgpp bot.
|
2018-02-16 18:29:29 -08:00 |
Garret Rieger
|
49544eb860
|
[subset] Refactor composite glyf iteration code into an Iterator outside of the accelerator.
|
2018-02-16 18:29:29 -08:00 |
Garret Rieger
|
dc6d67df13
|
[subset] Use gids_to_retain_sorted to produce old gid -> new gid mapping since it now has the more complete set.
|
2018-02-16 18:29:29 -08:00 |
Garret Rieger
|
dcac9fe964
|
[subset] Use complex glyph closure to populate gids_to_retain_sorted.
|
2018-02-16 18:29:29 -08:00 |
Garret Rieger
|
73e1434814
|
[subset] Add a DFS search to produce a closure of composite glyphs.
|
2018-02-16 18:29:29 -08:00 |
Garret Rieger
|
b56c9384bc
|
[subset] Add missing face reference in hb-subset-plan plus ensure all struct members are cleaned up on destroy.
|
2018-02-14 16:05:39 -08:00 |
Rod Sheeter
|
fa87770372
|
[subset] First pass at hmtx
|
2018-02-14 14:53:10 -08:00 |
Garret Rieger
|
d008b62887
|
Merge remote-tracking branch 'upstream/master' into fixed
|
2018-02-14 10:38:52 -08:00 |
Behdad Esfahbod
|
d5b33f2fe1
|
[subset] hb_subset_input_t changes
|
2018-02-13 13:55:10 -08:00 |
Rod Sheeter
|
afb1da3a18
|
auto-completed the wrong gids_to_retain
|
2018-02-12 14:37:47 -08:00 |
Rod Sheeter
|
1330edc4fe
|
Use functions to get new gids. Avoid 0; fonttools drops it from cmap.
|
2018-02-12 14:29:23 -08:00 |
Behdad Esfahbod
|
3d421ce307
|
[subset] Use auto_array_t where it does make sense
Better fix for https://github.com/harfbuzz/harfbuzz/pull/775
|
2018-02-11 19:01:44 -06:00 |
Ebrahim Byagowi
|
c8d4c2e32f
|
Initialize bad_indices on hb-subset (#775)
|
2018-02-11 13:15:44 +03:30 |
Ebrahim Byagowi
|
203b647530
|
Favor use of static instead HB_INTERNAL
|
2018-02-10 15:44:09 -06:00 |
Behdad Esfahbod
|
a981d798ea
|
Fix more build issues
Hopefully most bots come back with this...
|
2018-02-10 15:19:27 -06:00 |
Ebrahim Byagowi
|
6c4ca6135a
|
Hide more symbols of hb-subset (#771)
|
2018-02-11 00:42:06 +03:30 |
Behdad Esfahbod
|
c31fcf4c58
|
[subset] Replace auto_array with prealloced_array
auto_array has constructor/destructor. Cannot be used in POD object, as the clang
bots all noticed...
|
2018-02-10 14:20:10 -06:00 |
Ebrahim Byagowi
|
844f48ea9a
|
Fix symbol exporting and libstdc++ linkage of hb-subset (#769)
|
2018-02-10 23:13:12 +03:30 |
Garret Rieger
|
0089443756
|
Keep a second set of glyph ids in subset plan which is sorted by glyph id and always has gid 0
|
2018-02-09 16:22:09 -08:00 |
Garret Rieger
|
3bc81558d8
|
Formatting for hb-subset-plan.
|
2018-02-09 16:06:33 -08:00 |
Rod Sheeter
|
59c658c8d5
|
capture codepoints sorted so we can use them for cmap later. one day we will have a map
|
2018-02-08 19:22:47 -08:00 |
Garret Rieger
|
42234424a0
|
Fix include gaurds and include order in hb-subset-glyf and hb-subset-plan
|
2018-02-08 17:31:11 -06:00 |
Behdad Esfahbod
|
af02812fc5
|
[subset] Change hb_subset API to remove hb_subset_face_t
|
2018-02-07 13:07:46 -05:00 |
Rod Sheeter
|
b95aa204ee
|
glyph ids to retain should most likely keep the glyph id not the codepoint
|
2018-02-07 12:41:21 -05:00 |
Rod Sheeter
|
91428713bd
|
Remove \ns leftover from fprintf
|
2018-02-07 12:41:21 -05:00 |
Rod Sheeter
|
eb485bb9e9
|
Horrid hack to assign new gids. Use DEBUG_MSG over fprintf
|
2018-02-07 12:41:21 -05:00 |
Rod Sheeter
|
d0ce3c66e2
|
Resolve codepoints:glyph ids. Does not compile; undefined reference to OT::_hb_NullPool
|
2018-02-07 12:41:21 -05:00 |
Garret Rieger
|
25e9173fe8
|
Make hb-subset-plan private.
|
2018-02-07 12:41:21 -05:00 |
Garret Rieger
|
af46a4da5a
|
Move definition of hb_subset_input into hb-subset-private.hh.
|
2018-02-07 12:41:21 -05:00 |
Garret Rieger
|
1cfe650f02
|
Add a basic sketch of hb-subset-plan.
|
2018-02-07 12:41:21 -05:00 |