Log

Author Commit Date CI Message
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 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.
Garret Rieger 4e1abe2c 2018-02-07T13:28:11 Refactor subset glyf to remove multiple calls to glyf.fini()
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 f7010041 2018-02-07T13:58:23 [test] Minor
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!
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.
Rod Sheeter 6c52d94f 2018-02-06T15:31:14 capture the set of codepoints passed by --unicodes
Rod Sheeter b95aa204 2018-02-07T09:37:06 glyph ids to retain should most likely keep the glyph id not the codepoint
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.
Rod Sheeter 91428713 2018-02-07T09:35:59 Remove \ns leftover from fprintf
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.
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 126ffdbe 2018-02-07T12:26:41 [aat] Fix debug compile
Ebrahim Byagowi 8cb8bfd5 2018-02-06T20:40:42 [test] Fix test-subset on old distros (#758) https://developer.gnome.org/glib/stable/glib-Testing.html#g-assert-cmpmem
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
Ebrahim Byagowi 70e13ade 2018-02-06T13:20:38 [subset] Fix Windows issue on endlines (#756)
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 b7b7f0ac 2018-02-05T19:40:31 [test] Minor
Behdad Esfahbod 0ff007da 2018-02-04T20:22:07 [subset] Minor
Garret Rieger fc1e82a5 2018-02-05T15:35:13 Merge pull request #754 from googlefonts/master Fix build for subsetting code.
Garret Rieger 2ea22893 2018-02-05T15:10:01 ssize_t -> size_t
Garret Rieger c25898eb 2018-02-05T14:35:32 Switch to fopen() instead of open() in subset test. open wasn't compiling on windows.
Garret Rieger fc04f11c 2018-02-05T11:12:33 Rename HB_SUBSET_sources -> HB_SUBSET_CLI_sources to match what cmake is looking for.
Garret Rieger e428f7b1 2018-02-05T10:24:16 Wrap unistd.h include in ifdef.
Garret Rieger 5f6eb125 2018-02-05T10:23:38 Add libharfbuzz-subset.la to linking when building api tests.
Behdad Esfahbod ae39fc81 2018-02-04T20:18:52 [subset] Build hb-subset into separate libharfbuzz-subset.so
Behdad Esfahbod eac20e45 2018-02-04T20:08:50 [subset] Minor
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 3615f344 2018-02-04T17:19:58 [test/text-rendering-tests] Update from upstream
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.
Rod Sheeter edcd3b80 2018-02-04T12:31:24 Actually call hb_subset
Garret Rieger 7b01761a 2018-02-02T17:54:11 Add CMakeLists.txt to dist files for subset test.
Garret Rieger f83a43b5 2018-02-02T17:50:45 Add CMake configuration for all of the new subsetting code.
Garret Rieger 5bc0cda1 2018-02-02T17:49:14 Add missing unistd header to hb-subset.
Garret Rieger 06fe297f 2018-02-01T18:36:15 Properly include subset test data files.
Garret Rieger 058b1260 2018-02-01T18:22:14 Re-write hb-subset utility to use main-font-text driver.
Garret Rieger ede84ffa 2018-02-01T17:17:36 Whitespace
Garret Rieger 2763a2c5 2018-02-01T17:14:51 Include subset test files in distribution.
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 76b84c36 2018-01-31T14:53:28 Whitespace
Rod Sheeter e9d154ac 2018-01-30T19:27:11 tweak test failure output. write to a temp file not stdout. test still fails because expected is not just an identical copy of input
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
Garret Rieger 76351518 2018-01-30T14:03:16 Remove basic subset test from XFAIL
Garret Rieger b029b7c1 2018-01-29T13:31:49 Whitespace
Garret Rieger 0853260e 2018-01-29T13:30:02 Configure automake to run the new subset tests.
Garret Rieger 5c63c37b 2018-01-26T16:57:42 WIP test runner for subset tests.
Garret Rieger cc46cd88 2018-01-26T14:25:39 In generate-expected-outputs read the test definition with utf8 encoding.
Garret Rieger 4cdae914 2018-01-26T13:57:48 Add basic directory structure for subsetter integration tests. Plus a utility for generating expected output files.
Rod Sheeter 9ccb8366 2018-01-17T22:09:07 Start to sketch APIs for subsetting
Garret Rieger a2965f2e 2018-01-31T14:53:09 Add a basic implementation of hb-subset to enable compilation of test-subset.
Garret Rieger 38af23b8 2018-01-31T11:32:23 Make the expected output for subsetting basics test be equal to the input file for now.
Garret Rieger b59c08eb 2018-01-31T11:14:53 Add the beginning of a unit test for hb-subset
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...
Behdad Esfahbod 8be596f0 2018-02-04T14:40:17 [aat] In ContextualSubstitute, apply end-of-text action to last glyph
Behdad Esfahbod c0b1c7eb 2018-02-04T14:19:41 [aat] Remove unneeded check
Behdad Esfahbod fcb8be1a 2018-02-04T12:38:18 [configure] Fix wording Fixes https://github.com/harfbuzz/harfbuzz/issues/741
Behdad Esfahbod aed32589 2018-02-02T16:08:50 [aat] In ContextualSubtable, mark mark after substituting mark Fixes MORX-21.
Behdad Esfahbod fe5f9b1a 2018-02-02T15:53:25 [aat] Fix ContextualSubtable sanitization Fixes MORX-18, MORX-19, and MORX-22.
Khaled Hosny cf943f68 2018-02-04T12:05:12 Correctly show documentation build status Correctly show if building documentation is enabled or not in configure summary. Fixes https://github.com/harfbuzz/harfbuzz/issues/741
Bruce Mitchener e8859fca 2018-02-04T01:26:57 Enable use of atexit() on macOS and related platforms. The atexit() man page indicates that this is expected to behave in the expected way on unloading of shared libraries.
Bruce Mitchener a8957377 2018-02-04T01:31:53 Use nullptr, not NULL.
Ebrahim Byagowi 07885e65 2018-02-03T12:53:48 [cmake] unistd typo fix (#747)
David Corbett ccb0367d 2018-02-02T12:04:04 Let VS1 follow U+1031 MYANMAR VOWEL SIGN E
punchcutter c6dbf6e7 2018-01-31T14:09:04 Allow optional ZWJ in virama terminated cluster
Bruce Mitchener dae20fb5 2018-01-31T20:16:08 Use nullptr instead of 0.
Bruce Mitchener 90218fa9 2018-01-31T20:44:45 Fix typos.
Bruce Mitchener 148ca610 2018-01-31T22:24:51 [ot-layout] Fix nullptr dereference. If the `calloc` for `gsub_accels` or `gpos_accels` fails, then the unlikely branch afterwards can be taken, which frees up the `hb_ot_layout_t`, but since those fields can now be `nullptr`, then we don't want to dereference them.
Bruce Mitchener 0c66043a 2018-01-31T20:24:27 [coretext] Fix memory leaks. In `reference_table`, if the data is empty and we return early, we still need to release the data object. In `hb_coretext_shape`, there two edge cases where an early return should release the attributed string.
Behdad Esfahbod f0b700db 2018-01-30T11:16:51 1.7.5
Behdad Esfahbod 585b5760 2018-01-30T11:51:56 Fix distcheck
Behdad Esfahbod e89df6e1 2018-01-30T10:58:44 [aat] Limit number of DontAdvance transitions Remove the faulty loop-detection logic. Use max-ops for breaking out of infinite loops or heavy work. https://twitter.com/behdadesfahbod/status/958065026262183936
Behdad Esfahbod e00743b4 2018-01-29T10:07:05 [test/text-rendering-tests] Update from upstream
Ebrahim Byagowi 29d90128 2018-01-30T10:01:46 [cmake] Build src/ executables (#733)
Ebrahim Byagowi 55cae0d7 2018-01-29T18:05:24 [test] Use 'otool -L' where ldd doesn't exist (macOS) (#732)
David Corbett 2ec7dd1f 2018-01-28T17:48:28 Fix Travis build on macOS (#731)
Behdad Esfahbod 12757b69 2018-01-26T18:14:05 Misc warning fixes Fixes https://github.com/harfbuzz/harfbuzz/issues/712
bungeman 85be365e 2018-01-26T13:38:06 Use KernSubTableFormat2::rightClassTable Issue originally reported at http://cppfiles.com/chromium.txt . This fixes what appears to be a copy - paste issue which causes both KernSubTableFormat2::rightClassTable and the 'right' argument to KernSubTableFormat2::get_kerning to go unused.
Ebrahim Byagowi c41b7fc1 2018-01-25T09:53:32 [cmake] Use -fvisibility-inlines-hidden instead (#726)
Ebrahim Byagowi 3d615766 2018-01-22T21:23:19 [cmake] fix symbol exporting issue on newer gcc (#724)