Log

Author Commit Date CI Message
Qunxin Liu 1db2c1d0 2020-01-07T11:10:40 fix for cmap4 and OS_2 subsetting: maximum character code allowed is 0xFFFF
Ebrahim Byagowi 8ed46c36 2020-01-07T23:43:53 [fuzz] minor, add another already fixed case https://crbug.com/oss-fuzz/19907
Ebrahim Byagowi 341407f7 2020-01-07T09:10:24 [fuzz] minor, upload another fixed case https://crbug.com/oss-fuzz/19878
Ebrahim Byagowi 7950beec 2020-01-06T21:25:00 [subset] Fix null pointer dereference in hvar/vvar subset (#2085) Rest of the code assumes there is at least one subtable, lets return here if not. * https://crbug.com/oss-fuzz/19827 * https://crbug.com/oss-fuzz/19847
Ebrahim Byagowi 8ed27757 2020-01-06T19:01:13 Remove _POSIX_C_SOURCE definition from the project Added fpr suncc support but apparently is causing more issues even on suncc so let's see if we can go without it. Fixes #2084
Ebrahim Byagowi e7d1aeb6 2020-01-06T12:48:22 [hvar] minor, fix unlikely statement
Ebrahim Byagowi 57b15341 2020-01-06T12:46:50 [glyf] minor, fix unlikely statements
Ebrahim Byagowi 9e48c6e9 2019-12-31T15:57:39 minor, use private API of hb_set_t where possible
Ebrahim Byagowi ce114d6b 2019-12-31T15:53:02 minor, tweak spaces
Ebrahim Byagowi 33c3d63a 2019-12-31T13:52:50 Merge pull request #1594 from harfbuzz/var-subset Issue 1558: [subset] TrueType/CFF2 variable font
Khaled Hosny 68c1798a 2019-12-18T15:57:14 [coretext] Use kCTFontOpenTypeFeatureTag Instead of trying to map OpenType features to AAT feature selectors which only works for a small subset of OpenType features, use the simpler kCTFontOpenTypeFeatureTag with OpenType feature tags directly. With this change, features like cvXX can be enabled in coretext shaper, while they were previously ignored due to missing mapping. This seems to work even with AAT fonts that don’t have OpenType layout tables, which suggests that CoreText is doing the mapping itself in this case. kCTFontOpenTypeFeatureTag seems to have been introduced in macOS 10.10 and iOS 8.0, though, so its use is conditional on version check for now. Not sure how to check iOS version, so I left this out.
Marcel Fabian Krüger b28c2825 2019-12-17T02:58:51 Check to avoid overflows
Marcel Fabian Krüger d70afb1e 2019-12-17T02:29:28 Clamp max_ops to upper bound in hb-sanitize.hh
Behdad Esfahbod aa43e183 2019-12-15T16:04:00 [perf Add texts/en-words.txt $ cat docs/usermanual-*.xml src/hb*.cc src/hb*.{h,hh,cc} | sed 's/[^a-zA-Z ]/ /g' | tr ' ' '\n' | sort | uniq | grep . > perf/texts/en-words.txt
Ebrahim Byagowi 80762cc4 2019-12-15T23:21:10 [ci] Speedup tsan bot We don't expect fails thus expecting readable failure backtrace so let's speed it up instead
Evgeniy Reizner b79ceac3 2019-12-15T16:50:01 Prefer UINT_MAX instead of uint overflow. Also, prefer HB_FEATURE_GLOBAL_START and HB_FEATURE_GLOBAL_END.
Evgeniy Reizner b618e0ae 2019-12-15T16:26:50 Remove non-breaking spaces from comments. `0xC2A0` was used, for some reasons. It's not really a problem, but Qt Creator constatly trying to replace them with regular spaces, so I have to edit those files separately.
Evgeniy Reizner 780d640c 2019-12-15T16:11:37 Remove unnecessary check in hb_buffer_t::set_masks. Bounds are already checked by the caller. Closes #2073
Evgeniy Reizner 34ed8e72 2019-12-13T07:25:34 Prefer _hb_glyph_info_is_unicode_mark where possible.
Ebrahim Byagowi 3e1a2632 2019-12-12T15:48:27 [unscribe] fix leak issue with no user_data provided, `free` will be called with `(0)` thus silently having a leak
Ebrahim Byagowi e75d785b 2019-12-12T15:42:37 [doc] fix hb_blob_create call example otherwise free(0) will be called that silently makes a leak
Daeren 4ef597e1 2019-12-11T13:44:05 Fix unary minus operator applied to unsigned int Applying unary minus operator to unsigned int causes the following error on MSVS: error C4146 This patch fixes the error.
Daeren 1770493c 2019-12-11T13:44:15 Fix unary minus operator applied to unsigned int Applying unary minus operator to unsigned int causes the following error on MSVS: error C4146 This patch fixes the error.
Behdad Esfahbod a061e47f 2019-12-10T13:31:50 Change a few HB_INTERNAL static methods to static inline
Behdad Esfahbod dd3972a3 2019-12-10T13:21:26 [GSUB] Simplify Extension is_reverse() We don't allow extension lookups to chain to another extension lookup. Simplify code for that.
Behdad Esfahbod 858b6279 2019-12-10T13:18:32 [machinery] Remove CastR<>()
Behdad Esfahbod b84ceb2f 2019-12-10T13:02:48 [machinery] Remove CastP
Behdad Esfahbod 85574ec2 2019-12-10T12:52:32 [machinery] Minor
Behdad Esfahbod e101a672 2019-12-10T12:46:14 [perf] Add texts/fa-thelittleprince.txt
Behdad Esfahbod 2c781a67 2019-12-10T12:43:42 [perf] More rename
Behdad Esfahbod d703392a 2019-12-10T12:42:29 [perf] Adjust text/fa-monologue.txt
Behdad Esfahbod 19d1b9d4 2019-12-10T12:39:01 [perf] Renames
Behdad Esfahbod 6a60ca11 2019-12-10T12:32:37 [algs] Fold last other bsearch() in Now truly have only one bsearch implementation.
Ebrahim Byagowi 53dc8d94 2019-12-10T21:53:30 Add initial shaping performance test and profiler
Behdad Esfahbod 39afe608 2019-12-10T12:04:44 [algs] Fold one more custom bsearch() in One more to go.
Behdad Esfahbod b1dc676e 2019-12-10T11:41:24 [algs] Reduce one more bsearch() impl Ouch, there were three more left. Down one. Two to go.
Ebrahim Byagowi 6f76c325 2019-12-10T21:43:11 [test] Update 10.15 results Turned out only SFNS, which wasn't available in 10.14 anyway, needed an update See https://crbug.com/1005969#c37 also
Ebrahim Byagowi 2241a676 2019-12-10T19:50:34 [test] Add macOS 10.15 related fonts breaks the test and 10.15 bot, will add the fix in next commit, also adds a broken test for f47cbade1
Ebrahim Byagowi f3de3b6d 2019-12-10T16:37:48 [ci] fix macOS 10.15 bot Xcode 11.3.0 image is supposed to work per https://circleci.com/docs/2.0/testing-ios/ but isn't https://circleci.com/gh/harfbuzz/harfbuzz/118693 AFAICS Let's try Xcode 11.2.1 image
Ebrahim Byagowi 49434bdd 2019-12-10T16:28:04 [ci] Add a macOS 10.15 bot Should update macos.tests with the fonts, for now
Behdad Esfahbod f47cbade 2019-12-09T18:10:34 [aat] Adjust fallback positioning logic Fixes https://github.com/harfbuzz/harfbuzz/issues/1528 Wish could add a test... $ ./hb-view --font-file Thonburi.ttc --unicodes U+0E17,U+0E35,U+0E48,U+0E4A --shaper ot ▃ ▂▃▃▄▃▂▁▊ ▃ ▃ ▎ ▗ ▅▆▆▅ ▌ ▆▆▅▆▙ ▌▗ ▗ ▙ ▂ ▎▗ ▟ ▅▆▆▆▇▇▇▇▇▇▇▆▆▅▄ ▇▅▅▅ ▙▆▇ ▁▁▂▁ ▁▁ ▖ ▖ ▂▂ ▉ ▁ ▆▆ ▌ ▆ ▙▄ ▁▁ ▙ ▉ ▃▖ ▟ ▊ ▉ ▅▟ ▗▄ ▊ ▉ ▗ ▏ ▇▆ ▊ ▟ ▉ ▆ ▖ ▊ ▉ ▌ ▂ ▊ ▏ ▉ ▌ ▗ ▄▟ ▊ ▆
Behdad Esfahbod fa7edf87 2019-12-07T22:01:13 [bsearch] Massage API some more
Behdad Esfahbod 70aa5071 2019-12-07T22:35:34 [algs] Adjust return value of hb_ctz(0) to be 32 instead of 0
Behdad Esfahbod eefb78f6 2019-12-08T21:07:00 Minor
Behdad Esfahbod 9fb03058 2019-12-07T19:45:08 Rename start/end to first/last in RangeRecord Because that's what they are.
Evgeniy Reizner 8ac4ba14 2019-12-09T18:58:28 Fix typo in TESTING.md (#2066)
Ebrahim Byagowi 9b1d5c4a 2019-12-09T12:29:28 [number] fix where strtod_l not available
Ebrahim Byagowi 5c8f9602 2019-12-09T10:48:43 [number] minor, include the renamed header
Behdad Esfahbod 48eef272 2019-12-06T05:04:11 [algs/array] Consolidate the last two bsearch implementations! Yay! Seems to work.
Behdad Esfahbod ed35dea8 2019-12-06T04:37:11 Fourth try... sighs
Behdad Esfahbod 9168310b 2019-12-06T04:28:06 Fix build, third times...
Behdad Esfahbod 34f5cc2c 2019-12-06T04:09:33 Second try at fixing build
Behdad Esfahbod 14ce5ab0 2019-12-06T03:54:46 First try at fixing build errors
Behdad Esfahbod 2274270c 2019-12-06T03:42:21 [algs] Streamline bsearch some more
Behdad Esfahbod bd55d4b4 2019-12-06T03:35:24 [algs] Streamline bsearch() API more towards hb_array_t::bsearch_impl() Preparing to merge the two finally!
Behdad Esfahbod fd6df520 2019-12-06T03:00:23 [array] Isolate bsearch implementation more
Behdad Esfahbod 06d3c201 2019-12-06T02:52:54 [array] Simplify bfind() positioning I had copied the old scheme from fontconfig's fccharset.c. I just convinced myself that this change is correct and produces exact same results. But I also am skeptical. Anyone else feel like convincing themselves as well please?
Ebrahim Byagowi d67ba649 2019-12-05T13:15:21 Rename hb_array_t::in_range to hb_array_t::check_range
Ebrahim Byagowi 72d83a02 2019-12-05T13:09:48 Make hb_array_t::in_range similar to hb_sanitize_context_t::check_range
Behdad Esfahbod b1167d19 2019-12-05T15:46:58 Fix!
Behdad Esfahbod 5ff410b4 2019-12-05T15:37:56 Add files, oops
Behdad Esfahbod 2dc20e63 2019-12-05T15:28:42 Implement fallback vertical shaping from Firefox Fixes https://github.com/harfbuzz/harfbuzz/issues/355
Behdad Esfahbod b6d0f152 2019-12-05T12:19:52 [indic] Fix old-spec base-finding logic w vatu feature Fixes https://github.com/harfbuzz/harfbuzz/issues/1587
Behdad Esfahbod 0414341a 2019-12-05T11:26:39 Prefer AAT shaping over OT if both available Fixes https://github.com/harfbuzz/harfbuzz/issues/1529
blueshade7 82545c5e 2019-11-26T10:24:32 more coding style fixes
blueshade7 2e7c1239 2019-11-26T09:57:53 minor: coding style
blueshade7 ed94e410 2019-11-20T10:42:50 fixed api test test-ot-glyphname
blueshade7 7a4745ba 2019-11-20T10:15:41 added api test test-ot-glyphname
blueshade7 ab525ac6 2019-11-19T20:36:56 fix HB_TINY buid
blueshade7 ff64652c 2019-11-19T18:50:57 fix shape-fuzzer failure
blueshade7 a333b0f7 2019-11-19T18:01:53 add hb-ot-cff1-std-str.hh to Makefile.sources
blueshade7 61707266 2019-11-19T17:09:12 fix get_sid crash
blueshade7 4c4e08a1 2019-11-19T16:50:28 add cff1::accelerator_t::fini
blueshade7 ff87465b 2019-11-19T16:18:33 add get_glyph_from_name & test. use hb_string_array
blueshade7 51e77285 2019-11-17T02:25:39 minor
blueshade7 6d9eb9c0 2019-11-17T02:20:22 fixed failure with language-tags.tests
blueshade7 59fe3797 2019-11-16T19:47:31 fixed hb-shape-fuzzer failures in get_sid
blueshade7 e26df436 2019-11-16T19:12:34 fix test-ot-face crash
blueshade7 7b49042e 2019-11-16T18:20:16 add cff1::get_glyph_name
blueshade7 ea8fdfa0 2019-11-22T15:59:09 Merge branch 'master' into var-subset
Behdad Esfahbod d5338ba1 2019-11-22T16:22:27 [ft] Add locking FT_Face API Now that we mutex our internal FT_Face, share it with clients. New API: - hb_ft_font_lock_face() - hb_ft_font_unlock_face()
Behdad Esfahbod e5c7ee9f 2019-11-20T14:22:01 [set] Fix undefined-behavior shift in _previous() harfbuzz/src/hb-set.hh:138:43: runtime error: shift exponent 64 is too large for 64-bit type 'hb_set_t::page_t::elt_t' (aka 'unsigned long long')
Behdad Esfahbod 5fddc5f1 2019-11-20T13:07:26 Use foreach_cluster
Behdad Esfahbod e4a101ed 2019-11-19T20:04:00 [ft] Fix for HB_NO_VAR build
David Corbett 76c27462 2019-11-19T16:51:33 Don’t modify a ccc to 6 ccc=6 will be used in Unicode 13.0.
Michiharu Ariza 8fdafee2 2019-11-18T16:44:25 undef HB_STRING_ARRAY_LENG_NAME
blueshade7 5e9863f3 2019-11-18T15:40:43 ARRAY_LENGTH fails with -Wglobal-constructors
blueshade7 a7598369 2019-11-18T15:09:24 calculate hb_string_array length automatically
Khaled Hosny 57da16bc 2019-11-17T21:32:12 [cff] Check rcurveline and rlinecurve arguments Make sure the number of arguments is not too many or too few, otherwise skip the command.
Khaled Hosny 9f1524ce 2019-11-17T16:17:20 [cff] Fix a typo in processing rlinecurve We want to process all pairs of arguments except the last 6 as lines, so should have been subtracting 6 here, otherwise if the number of arguments happens to be multiples of 6 they will be all treated as curves. See https://github.com/harfbuzz/harfbuzz/pull/2016#issuecomment-554640098
Behdad Esfahbod 78d5eca8 2019-11-18T13:09:29 [set] Fix range-based-loop condition Alternative to https://github.com/harfbuzz/harfbuzz/pull/2046
Hal Canary 4dae7cee 2019-11-13T10:08:35 [minor] Fix common typos: substition, the the. s/substition/substitution/ s/the the/the/
David Corbett e6351d9b 2019-11-11T17:39:55 Add ms-use/IndicShapingInvalidCluster.txt
David Corbett b372c3e9 2019-11-08T20:59:48 Insert a dotted circle within <U+0B85, U+0BC2>
Ebrahim Byagowi 64a45be5 2019-11-09T12:25:33 [ubsan] Don't decrease pointer if match_glyph_data is null (#2048) Similar to fix on https://github.com/harfbuzz/harfbuzz/pull/2022 Fixes https://crbug.com/1023070
Don 878e3588 2019-11-05T15:26:01 [cmake] Add harfbuzz-icu library
Ebrahim Byagowi 84b86a12 2019-11-06T09:22:34 [fuzz] Remove just added case It didn't fail locally but on bots causing timeout, let remove for now.
Ebrahim Byagowi a8f049c9 2019-11-05T22:26:36 [fuzz] Upload testcase of https://crbug.com/oss-fuzz/18529 Apparently false alarm per last comment and was ok locally also but lets have it here also
Ebrahim Byagowi 7cde68f1 2019-11-02T19:04:14 [ci] install pip in fedora bot
Ebrahim Byagowi 46178c03 2019-11-02T14:36:30 [ci] fix fedora bot