Garret Rieger
|
a998eeee4a
|
[subset] sanity check glyph data writes during glyph subsetting to ensure they are inbounds.
|
2018-02-20 18:01:16 -08:00 |
Garret Rieger
|
0ab73e5942
|
[subset] Sanity check that loca writes are inbounds.
|
2018-02-20 18:01:16 -08:00 |
Garret Rieger
|
2130392dcc
|
[subset] Add support for updating reference gids in components to their new values.
|
2018-02-16 18:29:29 -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
|
fd0bde6325
|
[subset] Fix loca offsets
Was writing source font's offsets. Ouch.
|
2018-02-13 16:35:30 -08:00 |
Behdad Esfahbod
|
97a2f03200
|
[subset] Allocate bulk memory with malloc(), not calloc()
We use calloc() to allocate simple structs and set them to zero.
For bulk memory, use malloc() that doesn't zero.
|
2018-02-12 18:51:10 -08:00 |
Garret Rieger
|
e8318188c0
|
[subset] Fix loca generation, was previously writing the original glyph starting offset.
|
2018-02-12 11:38:28 -08:00 |
Garret Rieger
|
427f9e4b90
|
Don't force loca version to long.
|
2018-02-12 11:18:28 -08:00 |
Behdad Esfahbod
|
7039803b51
|
Fix djgpp bot
|
2018-02-10 15:47:50 -06:00 |
Ebrahim Byagowi
|
203b647530
|
Favor use of static instead HB_INTERNAL
|
2018-02-10 15:44:09 -06:00 |
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 |
Behdad Esfahbod
|
931d67900e
|
Fix some other bots
|
2018-02-10 14:11:16 -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
|
d18decd201
|
In glyf subsetting add suport for writing out a short loca table when possible.
|
2018-02-09 18:41:21 -08:00 |
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
|
1582eabee6
|
Update head table with loca format selected by glyf+loca subsetting.
|
2018-02-09 12:52:08 -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
|
5a34114f96
|
Add an extra entry to the end of the loca table to identify the end of the last glyph's data.
|
2018-02-08 18:32:24 -08:00 |
Garret Rieger
|
aac7d96212
|
Apply per table subsetting while building the new face in hb_subset.
|
2018-02-08 18:18:16 -08:00 |
Garret Rieger
|
8e9fd6f1ab
|
Implement basic loca (long version only) subsetting.
|
2018-02-08 17:31:11 -06:00 |
Garret Rieger
|
f9c665fed1
|
Update interface to hb-subset-glyf to subset glyf and loca.
|
2018-02-08 17:31:11 -06:00 |
Garret Rieger
|
217ed5e3c8
|
Cleanups in hb-subset-glyf and hb-subset-plan.
|
2018-02-08 17:31:11 -06:00 |
Garret Rieger
|
4e1abe2ce0
|
Refactor subset glyf to remove multiple calls to glyf.fini()
|
2018-02-07 17:28:43 -06:00 |
Garret Rieger
|
0a5d1440f8
|
Add implementation of glyf subsetting.
|
2018-02-07 17:28:43 -06:00 |
Garret Rieger
|
53aa0e9542
|
Add an instance of glyf::accelerator_t to hb-subset-glyf.
|
2018-02-07 12:41:21 -05:00 |
Garret Rieger
|
6a45e5df24
|
Add skeleton of hb-subset-glyf, call if from hb_subset(...)
|
2018-02-07 12:41:21 -05:00 |