src


Log

Author Commit Date CI Message
Ebrahim Byagowi c8d4c2e3 2018-02-11T13:15:44 Initialize bad_indices on hb-subset (#775)
Ebrahim Byagowi 5845e5ca 2018-02-11T12:03:33 fix gobject compile issue (#773)
Behdad Esfahbod 9b5af3ec 2018-02-10T21:50:26 [gpos] Adjust mark attachment heuristic Hopefully it... fixes https://github.com/harfbuzz/harfbuzz/issues/740
Behdad Esfahbod 7039803b 2018-02-10T15:47:50 Fix djgpp bot
Behdad Esfahbod cdab20df 2018-02-10T15:45:17 Minor
Ebrahim Byagowi 203b6475 2018-02-11T01:00:03 Favor use of static instead HB_INTERNAL
Behdad Esfahbod 43314ff4 2018-02-10T15:40:03 More fixes test-subset-glyf still failing. No idea why :(
Behdad Esfahbod a981d798 2018-02-10T15:17:28 Fix more build issues Hopefully most bots come back with this...
Ebrahim Byagowi 6c4ca613 2018-02-11T00:42:06 Hide more symbols of hb-subset (#771)
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
Behdad Esfahbod bfa87163 2018-02-10T13:37:28 Minor
Ebrahim Byagowi 844f48ea 2018-02-10T23:13:12 Fix symbol exporting and libstdc++ linkage of hb-subset (#769)
Behdad Esfahbod 91519c6a 2018-02-10T13:35:17 [aat] Add buffer messages
Behdad Esfahbod af274507 2018-02-10T13:25:49 Minor
Behdad Esfahbod 570d5237 2018-02-10T13:24:22 [subset] Merge remote-tracking branch 'googlefonts/master'
Behdad Esfahbod 71130a20 2018-02-10T13:15:57 Replace Supplier.advance with Supplier::operator+=
Ebrahim Byagowi ad575a5f 2018-02-10T19:50:11 Fix cast warnings on clang (#768)
Garret Rieger d18decd2 2018-02-09T18:41:21 In glyf subsetting add suport for writing out a short loca table when possible.
Rod Sheeter 9275bd03 2018-02-09T17:33:34 First pass at building a cmap
Garret Rieger d2170d14 2018-02-09T17:24:16 Check for failures from add table.
Rod Sheeter 4816064c 2018-02-09T17:14:37 add missing return
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 3bc81558 2018-02-09T16:06:33 Formatting for hb-subset-plan.
Behdad Esfahbod 8cef3a61 2018-02-09T16:04:23 Try fixing build with Sun Studio Trying to fix: https://circleci.com/gh/harfbuzz/harfbuzz/6635 Also part of: https://github.com/harfbuzz/harfbuzz/issues/630
Garret Rieger 86aa4b3b 2018-02-09T13:54:43 Return empty face on hb_subset failure instead of null. Plus some minor cleanups for _add_head_and_set_loca_version
Behdad Esfahbod d45f240e 2018-02-09T15:51:45 Typo
Behdad Esfahbod 3b7aa651 2018-02-09T15:43:20 [docs] Improve UNSAFE_TO_BREAK docs
bungeman 671f0a77 2018-02-01T13:31:25 Documentation for HB_GLYPH_FLAG_UNSAFE_TO_BREAK. HB_GLYPH_FLAG_UNSAFE_TO_BREAK means that the glyph with this flag is somehow affected by the previous logical glyph (the previous index in the buffer if ltr and the next index if the buffer is rtl). If these two glyphs are separated by a break (line or otherwise) then the underlying text should be re-shaped on both sides up to corresponding position in the text of some glyph not marked with this flag.
Garret Rieger 1582eabe 2018-02-09T12:52:08 Update head table with loca format selected by glyf+loca subsetting.
Garret Rieger 335bbaa6 2018-02-09T10:55:15 Remove uneeded code in hb-subset.
Rod Sheeter 1cd98d05 2018-02-08T19:39:57 Create the groups for a cmap format12. Does not yet build the actual table.
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
Rod Sheeter 5cca0c07 2018-02-08T19:05:46 fix comment
Rod Sheeter a19138e6 2018-02-08T19:03:41 comment the serialization of table
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.
Behdad Esfahbod 9682ef13 2018-02-08T17:35:57 Minor fixups
Garret Rieger 42234424 2018-02-08T15:11:15 Fix include gaurds and include order in hb-subset-glyf and hb-subset-plan
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.
Rod Sheeter 13193a9b 2018-02-07T16:09:52 move to the hb_face_t dest pattern
Rod Sheeter 0859a006 2018-02-07T15:59:36 sketch a subset<T> and call it for cmap. Add subset to cmap, albeit not working even for the msot basic case just yet
Behdad Esfahbod c1ab95dd 2018-02-08T17:22:07 Fix overflow in space fallback shaping Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=657466
Behdad Esfahbod b220b5a4 2018-02-08T17:14:52 Avoid undefined-behavior in fallback mark positioning Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5584
Behdad Esfahbod 3b68a03a 2018-02-08T17:00:37 [fuzzer] Minor
Behdad Esfahbod 5021ba2a 2018-02-08T15:11:28 [aat] Minor
Behdad Esfahbod 77ad8b5c 2018-02-07T21:54:33 TODO
Behdad Esfahbod 941bbd9f 2018-02-07T21:49:01 [subset] Fix thinko
Behdad Esfahbod 931f8b7e 2018-02-07T21:42:03 Fix another thinko
Behdad Esfahbod 39b86695 2018-02-07T21:37:03 [subset] Fix thinko
Behdad Esfahbod eeffabc8 2018-02-07T21:34:05 Build
Behdad Esfahbod c479a599 2018-02-07T21:13:10 [subset] Assemble font
Behdad Esfahbod 34ac3548 2018-02-07T18:07:45 [set] Respect stride Ouch!
Behdad Esfahbod 577becaf 2018-02-07T17:38:40 [subset] Fixup
Behdad Esfahbod c9acab3c 2018-02-07T17:12:55 Whitespace
Behdad Esfahbod 7fd0b61d 2018-02-07T16:44:52 [subset] Create new face and copy all tables to it test-subset fails now because subset-face does not know how to compile itself.
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 05d65baa 2018-02-07T10:55:30 Extract glyf offset calculation into it's own method.
Behdad Esfahbod 6d7c6e19 2018-02-07T14:09:56 Fix two undefined-behavior issues Fixes https://github.com/harfbuzz/harfbuzz/issues/761 Fixes https://github.com/harfbuzz/harfbuzz/issues/762
Behdad Esfahbod b87cbe2b 2018-02-07T14:11:26 Try fixing build for platforms that have no visibility attributes
Behdad Esfahbod 6804b61d 2018-02-07T13:47:35 [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.
Behdad Esfahbod af02812f 2018-02-07T13:07:46 [subset] Change hb_subset API to remove hb_subset_face_t
Behdad Esfahbod 2da0d87e 2018-02-07T12:44:35 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!
Rod Sheeter b95aa204 2018-02-07T09:37:06 glyph ids to retain should most likely keep the glyph id not the codepoint
Rod Sheeter 91428713 2018-02-07T09:35:59 Remove \ns leftover from fprintf
Rod Sheeter eb485bb9 2018-02-07T09:32:36 Horrid hack to assign new gids. Use DEBUG_MSG over fprintf
Rod Sheeter 8b80cbb1 2018-02-07T09:31:31 Add a subset debug category
Behdad Esfahbod ee433d36 2018-02-07T12:30:18 [aat] Set debug lookup_index
Rod Sheeter 38df1ec8 2018-02-07T07:58:58 TEMPORARY: remove HB_INTERNAL from null pool so subset builds again
Garret Rieger 53aa0e95 2018-02-06T17:05:22 Add an instance of glyf::accelerator_t to hb-subset-glyf.
Rod Sheeter ef62dfed 2018-02-06T17:12:17 add back assert_pod
Rod Sheeter d0ce3c66 2018-02-06T16:58:35 Resolve codepoints:glyph ids. Does not compile; undefined reference to OT::_hb_NullPool
Garret Rieger 6a45e5df 2018-02-06T16:04:09 Add skeleton of hb-subset-glyf, call if from hb_subset(...)
Garret Rieger 31ec3c2e 2018-02-06T15:37:34 Create a subset plan in hb_subset.
Garret Rieger 25e9173f 2018-02-05T17:26:25 Make hb-subset-plan private.
Garret Rieger af46a4da 2018-02-05T17:14:46 Move definition of hb_subset_input into hb-subset-private.hh.
Garret Rieger 7481f0ce 2018-02-05T16:05:12 Add codepoints to subset input.
Garret Rieger 1cfe650f 2018-02-05T15:22:30 Add a basic sketch of hb-subset-plan.
Behdad Esfahbod 126ffdbe 2018-02-07T12:26:41 [aat] Fix debug compile
Behdad Esfahbod 2971e9da 2018-02-06T11:48:04 [aat] Adjust unsafe-to-break logic some more I believe I'm happy with it now.
Behdad Esfahbod f49256d8 2018-02-06T11:39:36 [aat] Simplify unsafe-to-break logic
Behdad Esfahbod cc1e0840 2018-02-06T10:20:48 [buffer] Tweak diff re glyph_flags again We expect the buffer to have no flags that the reference doesn't... Meh. Makes MORX tests pass now. Need to better define the behavior.
Ebrahim Byagowi d49ae515 2018-02-06T13:48:10 Fix hb-buffer logic error
Behdad Esfahbod f41b9213 2018-02-05T19:51:09 Fix fallthrough compiler warning with gcc >= 7 Fixes https://github.com/harfbuzz/harfbuzz/issues/755
Behdad Esfahbod 0ff007da 2018-02-04T20:22:07 [subset] Minor
Behdad Esfahbod ae39fc81 2018-02-04T20:18:52 [subset] Build hb-subset into separate libharfbuzz-subset.so
Behdad Esfahbod 257022b1 2018-02-04T20:01:35 Merge pull request #745 from googlefonts/master Interface for hb_subset, skeleton for the hb-subset cli, and basic testing rigging.
Behdad Esfahbod 54e6efad 2018-02-04T14:58:02 [aat] Fix unsafe-to-break At any position, if state is not zero, mark unsafe-to-break before, unless we can reason it safe. At any position, if there's an action entry for end-of-text, mark unsafe to break. Also changes buffer diff impl to allow for flag differences as long as the buffer glyph flags are superset of reference glyph flags. With this, all MORX tests pass.
Garret Rieger 34fa7b3a 2018-02-01T16:50:18 Whitespace
Garret Rieger 8c3a6727 2018-01-31T15:43:24 Get test-subset to pass.
Garret Rieger 74d39ed2 2018-01-31T15:20:52 Attach add a hb_face_t to hb_subset_face_t.
Garret Rieger f83a43b5 2018-02-02T17:50:45 Add CMake configuration for all of the new subsetting code.
Garret Rieger a2965f2e 2018-01-31T14:53:09 Add a basic implementation of hb-subset to enable compilation of test-subset.
Garret Rieger cf403e1a 2018-01-30T18:40:23 Add hb-subset.h to hb.h
Garret Rieger c0257351 2018-01-30T18:39:41 Fix typo in hb-subset.h
Rod Sheeter 9ccb8366 2018-01-17T22:09:07 Start to sketch APIs for subsetting
Behdad Esfahbod 89b1906d 2018-02-04T14:45:02 [aat] More adjustment to ContextualSubtable See comment. With this, MORX-20 passes if I turn --verify off. Our unsafe-to-break logic is currently broken in presence of end-of-text actions. That's, ugh, extra work to fix. Let me try...