src/hb-subset-glyf.cc


Log

Author Commit Date CI Message
Behdad Esfahbod aba0a945 2018-08-31T13:25:19 [subset] Add hb-subset-input.hh and make hb-subset.hh toplevel include
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.
Behdad Esfahbod ed7b2e58 2018-08-01T23:59:09 Remove OT namespace from hb-machinery-private.hh
Behdad Esfahbod e7737b41 2018-07-22T22:24:31 Add sanitizer reference_table, also fix clang build Clang is being really peculiar. Fix with: - inline hb_blob_t *sanitize (hb_blob_t *blob) { return c->sanitize<Type> (blob); } + inline hb_blob_t *sanitize (hb_blob_t *blob) { return c[0].template/*clang idiosyncrasy*/sanitize_blob<Type> (blob); }
Garret Rieger 251cc977 2018-05-30T12:23:51 [subset] Switch to using hb_map_t inside of hb_subset_plan_t.
Behdad Esfahbod 5c3112ae 2018-05-01T19:07:04 s/hb_prealloced_array_t/hb_vector_t/g Part of https://github.com/harfbuzz/harfbuzz/issues/1017
Behdad Esfahbod a60ba796 2018-05-01T19:01:25 s/finish/fini For consistency.
Garret Rieger 07851aae 2018-03-26T20:56:56 [subset] Couple of fixes for fuzzer discovered issues. (#924) * [subset] sanitize individual DeviceRecord's as part of hdmx sanitization. * [subset] Fix out of bounds read with non-two byte align glyphs. * [subset] Just use size_device_record >= DeviceRecord::min_size. * [subset] Add TODO. * [subset] Re-order checks in hdmx sanitize.
Garret Rieger 45def99e 2018-03-20T17:28:47 [subset] Fix to debug message.
Garret Rieger 13966140 2018-03-20T16:55:42 [subset] don't use pointers returned from push after array has resized in hb-subset-glyf.cc
Rod Sheeter b3f1a045 2018-02-28T11:41:24 [subset] kick the build
Rod Sheeter 20d57399 2018-02-28T11:15:08 [subset] extract a method to flip off composite instruction flag
Rod Sheeter 6836a821 2018-02-27T20:51:12 [subset] remove WE_HAVE_INSTRUCTIONS from composites when dropping hints
Rod Sheeter 903771b6 2018-02-26T19:50:06 [subset] clearer name for trim() and better comment about composite handling, per review feedback
Rod Sheeter d78393b5 2018-02-23T17:53:26 Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into drophints
Rod Sheeter 1454d82a 2018-02-23T17:49:23 [subset] keep glyph trim separate of more general get_offset
Rod Sheeter 0ac8c0c1 2018-02-23T17:43:00 [subset] zero glyf and loca memory before writing so pads are clean. Test just the part of maxp we care about
Garret Rieger 99967e21 2018-02-23T15:45:45 [subset] Fix memory leak in hb-subset-glyf.
Rod Sheeter 9bd6d252 2018-02-23T13:05:58 [subset] clone trim logic from fonttools glyf handling
Rod Sheeter 4f07437d 2018-02-21T22:23:05 [subset] sketch out dropping in-glyf instructions. Sometimes yields differnet size glyphs than fonttools, possibly due to padding not being corrected
Garret Rieger a998eeee 2018-02-20T16:48:52 [subset] sanity check glyph data writes during glyph subsetting to ensure they are inbounds.
Garret Rieger 0ab73e59 2018-02-20T15:33:03 [subset] Sanity check that loca writes are inbounds.
Garret Rieger 2130392d 2018-02-16T17:01:00 [subset] Add support for updating reference gids in components to their new values.
Rod Sheeter fa877703 2018-02-14T14:16:25 [subset] First pass at hmtx
Garret Rieger d008b628 2018-02-14T10:38:52 Merge remote-tracking branch 'upstream/master' into fixed
Behdad Esfahbod fd0bde63 2018-02-13T16:35:30 [subset] Fix loca offsets Was writing source font's offsets. Ouch.
Behdad Esfahbod 97a2f032 2018-02-12T18:51:10 [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.
Garret Rieger e8318188 2018-02-12T11:38:28 [subset] Fix loca generation, was previously writing the original glyph starting offset.
Garret Rieger 427f9e4b 2018-02-12T11:18:28 Don't force loca version to long.
Behdad Esfahbod 7039803b 2018-02-10T15:47:50 Fix djgpp bot
Ebrahim Byagowi 203b6475 2018-02-11T01:00:03 Favor use of static instead HB_INTERNAL
Behdad Esfahbod c31fcf4c 2018-02-10T14:20:10 [subset] Replace auto_array with prealloced_array auto_array has constructor/destructor. Cannot be used in POD object, as the clang bots all noticed...
Behdad Esfahbod 931d6790 2018-02-10T14:11:16 Fix some other bots
Ebrahim Byagowi 844f48ea 2018-02-10T23:13:12 Fix symbol exporting and libstdc++ linkage of hb-subset (#769)
Garret Rieger d18decd2 2018-02-09T18:41:21 In glyf subsetting add suport for writing out a short loca table when possible.
Garret Rieger 00894437 2018-02-09T16:22:09 Keep a second set of glyph ids in subset plan which is sorted by glyph id and always has gid 0
Garret Rieger 1582eabe 2018-02-09T12:52:08 Update head table with loca format selected by glyf+loca subsetting.
Rod Sheeter 59c658c8 2018-02-08T19:22:47 capture codepoints sorted so we can use them for cmap later. one day we will have a map
Garret Rieger 5a34114f 2018-02-08T18:32:24 Add an extra entry to the end of the loca table to identify the end of the last glyph's data.
Garret Rieger aac7d962 2018-02-08T18:18:16 Apply per table subsetting while building the new face in hb_subset.
Garret Rieger 8e9fd6f1 2018-02-07T19:01:21 Implement basic loca (long version only) subsetting.
Garret Rieger f9c665fe 2018-02-07T16:53:18 Update interface to hb-subset-glyf to subset glyf and loca.
Garret Rieger 217ed5e3 2018-02-07T16:30:07 Cleanups in hb-subset-glyf and hb-subset-plan.
Garret Rieger 4e1abe2c 2018-02-07T13:28:11 Refactor subset glyf to remove multiple calls to glyf.fini()
Garret Rieger 0a5d1440 2018-02-07T13:09:54 Add implementation of glyf subsetting.
Garret Rieger 53aa0e95 2018-02-06T17:05:22 Add an instance of glyf::accelerator_t to hb-subset-glyf.
Garret Rieger 6a45e5df 2018-02-06T16:04:09 Add skeleton of hb-subset-glyf, call if from hb_subset(...)