src


Log

Author Commit Date CI Message
Ebrahim Byagowi 54f4c17f 2018-11-23T12:05:06 [feat] Rename API uses of setting to selector
Ebrahim Byagowi 9c64b216 2018-11-23T11:44:53 [feat] Apply renamings and add documentation
Ebrahim Byagowi 4009a05c 2018-11-17T11:30:50 [feat] Address Behdad comments
Ebrahim Byagowi 7a0471aa 2018-11-01T21:38:54 [feat] Turn AAT feature id into enum
Ebrahim Byagowi b233fa4b 2018-11-01T20:02:57 [feat] Rename records to selectors as @drott
Ebrahim Byagowi 19b60255 2018-11-17T01:07:09 [feat] Address @behdad comments
Ebrahim Byagowi a157b3e4 2018-11-01T19:56:16 [feat] Apply @behdad comments
Ebrahim Byagowi 3aff3f82 2018-11-01T19:20:20 [feat] Apply @drott and @jfkthame comments
Ebrahim Byagowi a8726cb4 2018-11-17T14:23:11 [feat] Use bsearch
Ebrahim Byagowi 9212ec20 2018-11-09T00:50:10 [feat] Complete feature types list
Ebrahim Byagowi fbad794b 2018-11-01T22:24:42 [feat] Add feature iteration API
Ebrahim Byagowi b791bbba 2018-11-01T15:15:56 [feat] Apply @jfkthame reviews
Ebrahim Byagowi 95abd537 2018-11-01T13:14:29 [feat] Expose public API * hb_aat_get_feature_settings
Behdad Esfahbod 93269129 2018-11-25T00:27:23 [kerx] Fix crash
Behdad Esfahbod 6ee40104 2018-11-25T00:21:13 Simplify sanitize set_object() / fix bots
Behdad Esfahbod c5a6b355 2018-11-24T23:49:23 [kerx] Port to hb_sanitize_with_object_t
Behdad Esfahbod c405ed05 2018-11-24T23:46:15 [morx] Port to hb_sanitize_with_object_t
Behdad Esfahbod 1e899422 2018-11-24T23:38:06 Add hb_sanitize_with_object_t Context manager.
Behdad Esfahbod b3c5affc 2018-11-24T23:34:34 Simplify sanitize set_object()
Behdad Esfahbod 3d309726 2018-11-24T23:12:28 [aat] Skip terminator in VarSizedBinSearchArray<> Fixes shaping with Apple Chancery on 10.13 again. In that font, there was a terminator segment, that was tripping off sanitize().
Behdad Esfahbod 4202a3cd 2018-11-24T22:48:34 Minor
Behdad Esfahbod 1c2302bb 2018-11-24T22:32:17 [debug] Print function in return_trace()
Behdad Esfahbod 748198a6 2018-11-24T22:16:59 Revert "[aat.morx] Remove set_object() business" This reverts commit ae8ed58a6e53441d9ccbf67afd8a00b815cde99e. Apparently this broke Apple Chancery from OS X 10.12 :(. Investigating...
Behdad Esfahbod c8a2dc82 2018-11-24T22:16:53 Revert "[aat.kerx] Remove kerx subtable boundary enforcement" This reverts commit 15905a2a2998f7ddd964f920a4828602235d6b00.
Behdad Esfahbod 9eeebd8d 2018-11-24T22:16:47 Revert "[sanitize] Remove now-unused set_object() machinery" This reverts commit bbdb6edb3e1cea4c5b7076c4f6b3e6998ae36dae.
Behdad Esfahbod f47c5da0 2018-11-24T21:36:57 [arrays] Use hb_array_t<> in all places with sub_array()
Behdad Esfahbod 3246a8eb 2018-11-24T21:32:00 [arrays] Merge ArrayOf's sub_array into hb_array_t's
Behdad Esfahbod bbdb6edb 2018-11-24T17:15:38 [sanitize] Remove now-unused set_object() machinery
Behdad Esfahbod 15905a2a 2018-11-24T17:14:39 [aat.kerx] Remove kerx subtable boundary enforcement Have not encountered fonts needing this, but same reasoning as for morx (see previos commit.)
Behdad Esfahbod ae8ed58a 2018-11-24T17:11:09 [aat.morx] Remove set_object() business With OS X 10.13 Apple Chancery fails to ligate if we limit each morx sub-chain to its declared length. Perhaps their newer compiler does object-sharing across sub-chains. Anyway, since that's a valid, if unspecified, way to compile tables, remove enforcement. Probably do the same with kern/kerx.
Behdad Esfahbod 20edc70d 2018-11-24T14:52:34 [morx/kerx] Fix sanitize regression Broke in 8dcc1913a1670ede7b124f7b5b775d7ab8791386 If sanitizer is left with another object, it wouldn't work. Better fix coming soon.
Behdad Esfahbod ae96c98d 2018-11-24T10:25:10 [color] Use SortedUnsizedArrayOf<>
Behdad Esfahbod 4a3b2073 2018-11-24T10:17:59 [trak] Coment
Behdad Esfahbod 918b1ee5 2018-11-24T10:09:17 [arrays] Add not_found to reference bsearch as well
Behdad Esfahbod d77a098b 2018-11-24T10:06:13 [arrays] Improve bfind() interface Much more useful now. :)
Behdad Esfahbod 8dcc1913 2018-11-24T09:47:45 [kerx/morx] Make sure object length is sanitized before accessing it
Behdad Esfahbod 70d80c90 2018-11-24T01:59:50 [arrays] Port ArrayOf.qsort() and hb_vector_t.qsort() to hb_array_t
Behdad Esfahbod 073d837a 2018-11-24T01:48:48 [arrays] Port ArrayOf.qsort() to hb_array_t's
Behdad Esfahbod ad5c871d 2018-11-24T01:47:49 [arrays] Add copy-constructor to hb_array_t and hb_sorted_array_t
Behdad Esfahbod 61de55bf 2018-11-24T01:45:58 [arrays] Port hb_vector_t.qsort() to hb_array_t's
Behdad Esfahbod e3face8e 2018-11-24T01:42:17 [arrays] Remove one flavor of hb_vector_t.qsort()
Behdad Esfahbod 7c1600dc 2018-11-24T01:37:11 [arrays] Add (unused) SortedUnsizedArrayOf<>
Behdad Esfahbod e700392f 2018-11-24T01:31:00 [arrays] Port SortedArrayOf.bsearch/bfind to hb_sorted_array_t's
Behdad Esfahbod e604306f 2018-11-24T01:24:48 [arrays] Port hb_vector_t.bsearch/bfind to (new) hb_sorted_array_t's
Behdad Esfahbod 268eca24 2018-11-24T01:11:12 [arrays] Port (unused) ArrayOf.lsearch() to hb_array_t's
Behdad Esfahbod 830856ba 2018-11-24T01:09:28 [arrays] Port hb_vector_t.lsearch() to hb_array_t's
Behdad Esfahbod 96cf0889 2018-11-24T01:07:15 [arrays] More
Behdad Esfahbod 3e26c8d2 2018-11-24T00:58:44 [arrays] Update ArrayOf.lsearch() Currently unused apparently
Behdad Esfahbod 22e1857b 2018-11-24T00:53:19 [arrays] Change argument type of cmp called by hb_vector_t.bsearch() Towards consolidating all array bsearch/...
Behdad Esfahbod 30cb45b3 2018-11-24T00:35:31 Change ArrayOf.bsearch() return semantics Towards consolidating all array bsearch/...
Behdad Esfahbod 5cd9546b 2018-11-24T00:38:36 Minor
Behdad Esfahbod fd94e729 2018-11-24T00:45:55 Whitespace
Behdad Esfahbod bb2a2065 2018-11-24T00:31:40 Assert that item-type of arrays have static size
Behdad Esfahbod 690d9eb8 2018-11-24T00:29:22 [vector] Rename
Behdad Esfahbod ba38378f 2018-11-24T00:27:57 [aat] Minor
Behdad Esfahbod 39b9d63b 2018-11-24T00:25:40 Add hb_static_size(T)
Behdad Esfahbod f99abcc3 2018-11-24T00:22:21 Add template-function convenience macros
Behdad Esfahbod ec83b222 2018-11-23T19:58:49 Add null bytes for CmapSubtableLongGroup
Behdad Esfahbod e2ffb33a 2018-11-23T16:24:28 Remove lsearch for small TableDirectorys
Behdad Esfahbod 04f7e553 2018-11-23T16:07:43 [arrays] Add as_array() to hb_vector_t<>
Behdad Esfahbod c514f651 2018-11-23T16:04:56 [arrays] Add as_array() to ArrayOf<>
Behdad Esfahbod 9552f4ef 2018-11-23T15:24:17 [kern] Don't enforce length of last subtable
David Corbett 018ba46e 2018-11-23T13:21:22 Don't canonicalize '@' to '-' in language tags Fixes #1406.
Behdad Esfahbod 74896226 2018-11-23T11:10:17 [aat] Disable mark advance zeroing if kern table has state-machines Geeza Pro for example, relies on that for fancy mark positioning. Fixes https://github.com/harfbuzz/harfbuzz/issues/1405
Behdad Esfahbod 3d2b98ef 2018-11-23T10:45:44 Minor
Behdad Esfahbod 22798e93 2018-11-22T22:47:51 [use] Minor clarification
Behdad Esfahbod a2d6c107 2018-11-22T22:40:57 Minor tweak to FLAG64
Behdad Esfahbod 8280459e 2018-11-22T22:39:12 Merge pull request #1291 from harfbuzz/use-reordering [use] Fix reordering
Behdad Esfahbod e4a4555d 2018-11-22T22:17:49 [cmap] Move code around
Behdad Esfahbod 758c9d68 2018-11-22T22:16:12 [morx/kerx] Limit range to subtable when sanitizing
Behdad Esfahbod a9fe787a 2018-11-22T22:12:36 [sanitizer] Add reset_object(), make set_object() do bounds-check Affects morx/kerx run-time only currently. Will adjust their sanitize next.
Behdad Esfahbod 2c8188bf 2018-11-22T22:02:19 [kerx] Make sure subtables are non-zero-length Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11400
Behdad Esfahbod a9e0bdc3 2018-11-22T21:30:04 [GSUB] Don't flush glyphset during recursion in closure() See comment. Supercedes https://github.com/harfbuzz/harfbuzz/pull/1401 Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11366
Behdad Esfahbod d0e81b2c 2018-11-22T21:20:39 [set] Rename
Behdad Esfahbod e8669105 2018-11-22T18:07:59 Enforce requiring null_size even if min_size is 0 This concludes null-size enforcement changes
Behdad Esfahbod 4d4fd64f 2018-11-22T18:07:36 Allow non-nullable OffsetTo<> to non-Null'able objects
Behdad Esfahbod fa9f585e 2018-11-22T17:56:51 [glyf] Don't mark structs UNBOUNDED See comments.
Behdad Esfahbod f47a60a7 2018-11-22T17:53:29 Mark UnsizedArrayOf<> as UNBOUNDED Since min_size is 0, Null() still accepts this type.
Behdad Esfahbod 199a0f7b 2018-11-22T17:31:07 [ot-shape] Simplify logic
Behdad Esfahbod 014e4980 2018-11-22T16:21:49 Move
Behdad Esfahbod 62890dee 2018-11-22T16:20:29 [aat] Zero mark advances if decided so even if there's cross-kerning Cross-kerning can only take care of positioning vertically. It doesn't adjust mark advance...
Behdad Esfahbod a201fa74 2018-11-22T15:52:29 [aat] Tweak fallback positioning logic when applying morx Such that for Indic-like scripts (eg. Khmer), we don't do any fallback mark advance-zeroing / positioning, but we do for Latin, etc. Reuses preferences of our script-specific OpenType shapers for those. Fixes regression: https://github.com/harfbuzz/harfbuzz/issues/1393 Which means, fixes again: https://github.com/harfbuzz/harfbuzz/issues/1264 While not regressing: https://github.com/harfbuzz/harfbuzz/issues/1357
Behdad Esfahbod fa0bd896 2018-11-22T14:46:39 [myanmar] Minor move
Behdad Esfahbod 7dc56198 2018-11-22T14:45:46 [myanmar] If there's no GSUB table, pick myanmar shaper Needed for morx+kern mark-zeroing interaction. All other scripts work this way.
Behdad Esfahbod 25f52f58 2018-11-22T14:41:01 [myanmar] Remove myanmar_old shaper Over time it has become the same as default shaper. So, remove.
Behdad Esfahbod eeed802b 2018-11-22T01:53:36 Fix spurious gcc warnings ../../src/hb-null.hh:53:39: warning: enum constant in boolean context [-Wint-in-bool-context]
Behdad Esfahbod b96ecb99 2018-11-22T01:49:12 More This makes more of the gcc spurious warning: ../../src/hb-null.hh:53:39: warning: enum constant in boolean context [-Wint-in-bool-context] But not going to let that defeat correct code. Type to switch to clang as my main compiler...
Behdad Esfahbod 2737aa81 2018-11-22T01:44:27 Fix up recent change Fixes https://github.com/harfbuzz/harfbuzz/issues/1300
Behdad Esfahbod fffea5af 2018-11-22T01:25:34 Minor
Behdad Esfahbod 209b58ef 2018-11-22T01:22:33 Minor
Behdad Esfahbod 3b9fd176 2018-11-22T01:18:55 Disallow taking Null() of unbounded structs Not sure I've marked all such structs. To be done as we discover. Fixes https://github.com/harfbuzz/harfbuzz/issues/1300
Behdad Esfahbod f2b91d65 2018-11-22T01:10:22 Use Type::null_size for our structs in Null(), sizeof() for other types
Behdad Esfahbod 7dd945a8 2018-11-22T01:05:02 One more time..
Behdad Esfahbod d062ad10 2018-11-22T00:39:14 Fix bots happy again, hopefully So, our fallback static_assert cannot be had more than once per line of source.
Behdad Esfahbod fb10c021 2018-11-22T00:21:49 Revert alignof() == 1 check Bots not happy with using "this" inside assertion... This reverts 2656644887e77a9d814bb12374af3c26b42fd935
Behdad Esfahbod 8d778877 2018-11-21T23:46:09 ..
Behdad Esfahbod 8cfeed99 2018-11-21T23:42:31 Minor
Behdad Esfahbod e5d954a2 2018-11-21T23:30:50 Minor
Behdad Esfahbod e987059c 2018-11-21T23:25:06 Minor
Behdad Esfahbod a2b6d308 2018-11-21T23:23:49 Remove DEFINE_SIZE_ARRAY2