src


Log

Author Commit Date CI Message
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 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 34fa7b3a 2018-02-01T16:50:18 Whitespace
Garret Rieger 8c3a6727 2018-01-31T15:43:24 Get test-subset to pass.
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...
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 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.
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.
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 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
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.
Bruce Mitchener 19a93fcf 2018-01-21T20:40:34 Fix typos.
Behdad Esfahbod 51ce3828 2018-01-19T18:36:39 [aat] Fix Ligature matching I hope... Makes "ffi" work with Zapfino. I'm not sure if doing it correctly though...
Behdad Esfahbod bef50985 2018-01-19T18:24:00 [aat] Add TODO
Behdad Esfahbod e6f283ed 2018-01-19T18:08:56 [aat] Implement LigatureSubtable We form the Zapfino ligature now. Yay! No further testing done.
Behdad Esfahbod f07ce661 2018-01-19T16:52:01 [aat] Embed a sanitizer context in hb_aat_apply_context_t For run-time checking.
Behdad Esfahbod 046690a4 2018-01-17T16:59:55 [aat] Add hb_aat_apply_context_t
Behdad Esfahbod fd034490 2018-01-17T16:46:51 Rename hb_apply_context_t to hb_ot_apply_context_t
Behdad Esfahbod 94b49bee 2018-01-17T12:46:08 Whitespace
Cosimo Lupo c8f2a4f5 2018-01-18T22:49:40 hb-common.cc: Hatran script is right-to-left (#714) "Hatran is written from right to left horizontally" http://www.unicode.org/L2/L2012/12312-n4324-hatran.pdf This ancient script was added with Unicode 8.0. Also this spreadsheet (referenced in an inline comment in the source code) has it as RTL: http://goo.gl/x9ilM
Ebrahim Byagowi 00806149 2018-01-19T01:12:31 Improve avoiding C++ linkage, definition creation and cmake tests (#710)
Behdad Esfahbod 461a605f 2018-01-17T10:02:48 [aat] Allocate set dynamically
Behdad Esfahbod 949f6af2 2018-01-15T20:44:10 Disallow sanitize recursing into Extension subtables multiple times Fixes https://oss-fuzz.com/v2/testcase-detail/5216838347653120 which is a stack overflow, not by way of infinite recursion, just being deep. That's disallowed anyway, so catch it as it happens, not afterwards.
Behdad Esfahbod bcb6f1ae 2018-01-15T20:34:05 Whitespace
Behdad Esfahbod 12fffce1 2018-01-15T15:41:51 [aat] Sanitize classTable in StateTable
Behdad Esfahbod e6263c71 2018-01-15T15:37:55 [aat] Wire up table length to apply()
Behdad Esfahbod 679ae744 2018-01-14T15:03:31 [aat] Towards implementing LigatureSubtable
Behdad Esfahbod c9e12a2b 2018-01-13T17:05:12 Fix set initializer
Behdad Esfahbod 9009b341 2018-01-12T12:04:53 [aat] Fix some struct sizes I hate it that with my compiler at least, it doesn't catch totally uncompilable statements in templates if they are not used...
Behdad Esfahbod 57051b4f 2018-01-12T11:42:25 [aat] Flush rest of buffer if state machine failed
Behdad Esfahbod 25364c4f 2018-01-12T11:31:20 [aat] Fix symbol visibility Not sure why only one of the bots sees this as visible...
Behdad Esfahbod ee16b9d8 2018-01-12T11:28:09 Revert accidental morx enablement
Behdad Esfahbod cdfa801f 2018-01-12T11:12:20 [aat] Tweak previous commit
Behdad Esfahbod f7600228 2018-01-12T11:09:21 [aat] Detect infinite-loops in state machine
Behdad Esfahbod dd38db52 2018-01-12T09:45:42 [aat] Fix more builds Maybe I should disable C++11 detection such that my compiler also catches these. Doesn't look like we can switch to it for a while anyway...
Behdad Esfahbod 72cb2b1f 2018-01-12T09:38:55 [aat] Fix builds
Ting-Wei Lan e3a15d0c 2018-01-12T15:33:16 Update _POSIX_C_SOURCE to the latest version Defining _POSIX_C_SOURCE to an old version on FreeBSD can cause C99 to be disabled in libc.
Behdad Esfahbod c70d58f9 2018-01-12T00:08:22 [aat] Port RearrangementSubtable to StateTableDriver
Behdad Esfahbod 117cfe7b 2018-01-12T00:01:36 [aat] Add StateTableDriver and convert ContextualSubtable to it
Behdad Esfahbod 1f1c85a5 2018-01-11T22:43:57 [aat] Remove 'mort' support It's dead, Jim!
Behdad Esfahbod 7e2fed6d 2018-01-11T19:25:21 [aat] Allow DontAdvance Apparently CoreText does allow these. To be done: detect infinite loops. Fixes MORX-12 test.
Behdad Esfahbod 17f01aff 2018-01-11T18:54:49 [aat] Sanitize ContextualSubtable
Behdad Esfahbod 9b82aa19 2018-01-11T18:19:42 More warning fixes
Behdad Esfahbod 680cbc2e 2018-01-11T18:15:53 [aat] Sanitize StateTable
Behdad Esfahbod 0e3b3379 2018-01-11T18:01:10 [aat] Actually fix d887f931485b715775e922516a4b0de5bb92c34f
Behdad Esfahbod 3f291ffd 2018-01-11T17:57:46 [buffer] Fix compiler warnings line 323: Warning: info hides hb_buffer_t::info ...
Behdad Esfahbod d887f931 2018-01-11T17:41:34 [aat] Make bots happy Don't know why this is not caught by my compiler. Looks like clang catches it while gcc doesn't. In file included from ../src/hb-aat-layout-morx-table.hh:31: ../src/hb-aat-layout-common-private.hh:523:30: error: no member named 'static_size' in 'AAT::ContextualSubtable<AAT::MorxTypes>::EntryData' DEFINE_SIZE_STATIC (4 + T::static_size); ~~~^
Behdad Esfahbod f6be7309 2018-01-11T15:23:24 [aat] In NoncontextualSubtable, handle MarkLast with end-of-line transition Fixes MORX-11 test.
Behdad Esfahbod f9be6738 2018-01-11T15:15:07 [aat] Implement ContextualSubtable Tested with Zapfino and text "2nd". Sascha will create tests later.
Behdad Esfahbod 335a9c1f 2018-01-11T14:50:47 [aat] Towards implementing ContextualSubtable
Behdad Esfahbod 62348f64 2018-01-11T12:00:28 [aat] Implement end-of-text in state machine Passes MORX-10 test now.
Behdad Esfahbod 9adbd938 2018-01-11T11:55:10 Minor
Behdad Esfahbod 94644d7e 2018-01-11T11:49:07 [aat] Generate finegrained unsafe-to-break in state-machine! Neato.
Behdad Esfahbod 994eb774 2018-01-11T11:37:12 [buffer] Fix crash
Behdad Esfahbod 7c32e01d 2018-01-11T10:47:31 Minor
Behdad Esfahbod 14b4d84e 2018-01-11T10:08:25 [aat] Fix RearrangementSubtable action
Behdad Esfahbod 800e4ae8 2018-01-11T09:57:55 [aat] Mark state-machine-based lookup as completely unsafe-to-break To be improved later.
Behdad Esfahbod ca42d961 2018-01-11T09:15:34 [aat] Implement RearrangementSubtable
Ebrahim Byagowi 5dbbd0fd 2018-01-11T12:33:22 Move the #define of _GNU_SOURCE to the top of hb-private.hh (#697) This fixes the build on Cygwin.
Behdad Esfahbod 80fd5743 2018-01-10T11:09:53 [aat] Add Class subtable thingy From old 'mort' table.
Khaled Hosny 0b22da95 2018-01-10T07:12:07 Improve HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES docs Add the note about absolute glyph positions from the commit message.
Behdad Esfahbod 188ee6e5 2018-01-10T05:13:47 Calculate anchor positions in float, then round Hoping to reduce rounding error, to make tests happier... No luck.
Behdad Esfahbod 7cdd6ab0 2018-01-10T04:33:08 Round, instead of floor, when applying variations Hoping this would fix remaining text-rendering-tests failures, but so far no luck.
Behdad Esfahbod 3b1e97f3 2018-01-10T03:35:20 Add HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES New API: HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES hb-shape / hb-view --remove-default-ignorables One more text-rendering-tests test passing. Eleven failing.
Behdad Esfahbod 6b19178e 2018-01-10T03:07:30 Prefix int types with HB Such a headache that Windows defines UINT8, ...; Just prefix it.
Behdad Esfahbod 81e321c8 2018-01-10T02:56:29 [aat] Try fixing VC bots c:\projects\harfbuzz\src\hb-aat-layout-common-private.hh(51): error C2872: 'UINT16': ambiguous symbol [C:\projects\harfbuzz\build\harfbuzz.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h(80): note: could be 'unsigned short UINT16' c:\projects\harfbuzz\src\hb-open-type-private.hh(648): note: or 'OT::UINT16'
Behdad Esfahbod 0ed69c94 2018-01-10T02:49:36 Disable processing of morx table in ot shaper So I can merge this to master...
Behdad Esfahbod 5f94b4cc 2018-01-10T02:35:59 [kern] Mark unsafe-to-break
Behdad Esfahbod 71fd6325 2018-01-10T02:20:14 Add option to buffer serialization to not output glyph advances When advances are not printed, glyph offsets reflect absolute glyph positions. New API: HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES hb-shape --no-advances
Behdad Esfahbod 748b989a 2018-01-09T17:55:17 [aat/morx] Implement NoncontextualSubtables Also makes hb-ot-shape call morx for now instead of GSUB... Just for testing.
Behdad Esfahbod 4cf3ab1d 2018-01-09T16:32:58 Minor
Behdad Esfahbod 470fe5b6 2018-01-09T15:48:51 [aat] Implement Lookup table Untested, but compiles.
Behdad Esfahbod 4646a80a 2018-01-09T12:06:38 Minor
Behdad Esfahbod 7c7cb42d 2018-01-08T14:32:55 [aat] Update previous commits for rebase on master
Behdad Esfahbod a0175e75 2017-08-17T16:55:54 [aat] Start implementing common table formats