src


Log

Author Commit Date CI Message
Behdad Esfahbod 1e39833b 2018-10-20T16:56:06 [docs] Minor
Behdad Esfahbod a5ad8c65 2018-10-20T16:52:55 [docs] More fixes
Behdad Esfahbod 314b1af7 2018-10-20T16:49:16 [docs] Fix warning Fixes https://github.com/harfbuzz/harfbuzz/issues/1260
Behdad Esfahbod b713c139 2018-10-20T14:56:28 [kerx] Implement tuple-kerning in Format0
Behdad Esfahbod 0a3b7a0f 2018-10-20T13:14:07 2.0.2
Behdad Esfahbod 68b70507 2018-10-20T12:09:41 [kerx] Fix sanitize of KerxSubtableFormat2::array read Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11033
Behdad Esfahbod 00fdbca4 2018-10-20T12:04:51 [aat] Fix LookupFormat10 sanitize Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11060
Ebrahim Byagowi 1e55e21d 2018-10-20T07:45:46 Merge pull request #1283 from khaledhosny/cygwin Cygwin fixes and CI build
Behdad Esfahbod 7c2c8ac3 2018-10-19T19:37:46 2.0.1
Bruce Mitchener 5a24ea15 2018-10-20T08:09:52 Make more 'coords' params const.
Behdad Esfahbod 08b71729 2018-10-19T19:12:33 [font] Fix parallel funcs passing to eachover in infinite-loop Fixes test just added.
Behdad Esfahbod 29d87751 2018-10-19T16:06:54 [kerx] Implement variation-kerning tables (without the variation part) SFSNDisplay uses these. We just apply the default kern without variations right now. But at least makes the default kern work.
Behdad Esfahbod f7c0b431 2018-10-19T15:23:49 [aat] Implement LookupFormat10
Khaled Hosny 30cbe615 2018-10-19T22:04:56 Use O_BINARY instead of _O_BINARY Cygwin does not seem to have the later
Behdad Esfahbod 79b63561 2018-10-19T11:00:20 [trak] Fix extrapolation at end side
Behdad Esfahbod 2352cc35 2018-10-19T09:58:45 [kerx] Whitespace
Ebrahim Byagowi 114f66dd 2018-10-19T12:05:26 Fix hb_map_is_empty logic This needs reviewing
Ebrahim Byagowi 9df2fb16 2018-10-19T12:04:47 Add API tests for hb_map_t
Ebrahim Byagowi c6eb5e85 2018-10-19T10:14:25 Don't report deprecated symbols as unused symbols
Bruce Mitchener 4594730f 2018-10-19T22:12:25 Remove redundant return at end of void-returning function.
Bruce Mitchener 8d1e479d 2018-10-18T22:18:42 Use bool literals instead of 0/1.
Bruce Mitchener 257d0e5a 2018-10-19T22:49:21 Fix typos.
Behdad Esfahbod 3d9a0306 2018-10-18T05:58:17 2.0.0
Ebrahim Byagowi 03e14413 2018-10-18T11:06:37 [ubsan] Use unsigned int instead enum where needed (#1270) Actually the check is right, On -myanmar.hh, on that particular switch, OT_C is indic_category_t but OT_D is myanmar_category_t so we are mixing the types in one variable. And on -arabic.cc, step can goes one number higher than step_t enum in the loop so we are actually using it as an unsinged int.
Behdad Esfahbod f1ced9be 2018-10-17T23:06:53 More warning fix Okay, let's see if the gods are happy now...
Behdad Esfahbod 40606abd 2018-10-17T23:06:37 Fix build
Behdad Esfahbod c406aca1 2018-10-17T22:58:43 Fix warning
Behdad Esfahbod 270a37c3 2018-10-17T22:42:47 Kick bots
Behdad Esfahbod 6da8ef3f 2018-10-17T22:37:34 Fix some wierdness...
Behdad Esfahbod 83780308 2018-10-17T22:34:16 [aat] Fix sanitize slowdown Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11034
Behdad Esfahbod 9e8a9b84 2018-10-17T21:41:25 [aat] Another try at fixing Lookup null objects... Ugly as hell, and don't even understand why some bits are needed. But the logic is sound.
Behdad Esfahbod 9d42d702 2018-10-17T17:55:47 [trak] Fix calc We were getting the first track record always. Ie. this line: if (trackTable[i].get_track_value () == 0.f) { - trackTableEntry = &trackTable[0]; + trackTableEntry = &trackTable[i]; break; } The rest is cleanup. Fixes https://github.com/harfbuzz/harfbuzz/issues/1263 for the most part.
Behdad Esfahbod 2e7c7165 2018-10-16T18:35:03 [buffer] Add an assert See if it helps debugging https://bugs.chromium.org/p/chromium/issues/detail?id=895117
Behdad Esfahbod 25fe7e7e 2018-10-16T18:22:54 [aat] Comment
HinTak 26092bb3 2018-10-17T00:54:39 "allow-none" annotation for "out" parameters Fixes the following warnings: hb-ot-tag.cc:330: Warning: HarfBuzz: invalid "allow-none" annotation: only valid for pointer types and out parameters hb-ot-tag.cc:334: Warning: HarfBuzz: invalid "allow-none" annotation: only valid for pointer types and out parameters
HinTak 49bdb544 2018-10-17T00:36:04 typo in gobject annotation - "in/out" should be "inout" "in/out" should be "inout"
Behdad Esfahbod 36f38ea7 2018-10-16T16:24:03 [gpos] Protect mark attachment against out-of-bounds Not sure how can happen, but does...
Behdad Esfahbod 12cbe195 2018-10-16T16:13:53 [aat] Another non-null offset
Behdad Esfahbod 87205ef9 2018-10-16T15:40:44 [aat] Make sure Lookup offset is never nulled It has unbounded size... Fixes https://oss-fuzz.com/v2/testcase-detail/5718889451749376
Behdad Esfahbod 2137582c 2018-10-16T14:46:07 [morx] Reword ligation Still fails MORX-41. Am talking to Sascha to better understand what CoreText is doing.
Behdad Esfahbod c53a25c6 2018-10-16T13:57:35 [morx] Comment
Behdad Esfahbod 5eb7e7f6 2018-10-16T13:32:52 Revert "[vector] Simplify Sort" and "More of the same" This reverts commit de0b9a466490c2c13d6ec6f59d5122b0a87d3180. This reverts commit 921f0e6ec722940a1e37660e1291aa69f9f39db8. Annnnd, revert. MSVC doesn't like it.
Behdad Esfahbod 661340c4 2018-10-16T13:24:29 [kern] Scale kern pairs before applying Fixes https://github.com/harfbuzz/harfbuzz/issues/1255 Fixes https://github.com/harfbuzz/harfbuzz/issues/1252
Behdad Esfahbod de0b9a46 2018-10-15T22:20:26 [vector] More of the same
Behdad Esfahbod 921f0e6e 2018-10-15T22:19:17 [vector] Simplify sort Hopefully this fits fine with SFINAE with all our compilers.
Ebrahim Byagowi 42b75dc3 2018-10-16T10:58:09 [kerx] Minor, remove debug bit
Behdad Esfahbod 11703afc 2018-10-15T21:16:58 [kerx] Fix Format6 sanitize Fixes https://oss-fuzz.com/v2/testcase-detail/5650286710882304
Behdad Esfahbod 4c27da76 2018-10-15T19:46:45 [CBDT] Fix more offsetting Fixes https://oss-fuzz.com/v2/testcase-detail/5750379279548416
Behdad Esfahbod 0f85edb7 2018-10-15T11:15:54 [morx] Another end-of-text corner case Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10990
Behdad Esfahbod 55d5ea66 2018-10-15T11:04:49 [kerx] Merge clusters in Ligature
Behdad Esfahbod bb35725c 2018-10-15T10:20:39 [kerx/morx] More end-of-text protection
Ebrahim Byagowi 8f3048a1 2018-10-15T12:16:47 [dump-emoji] minor
Ebrahim Byagowi 27e095a6 2018-10-15T12:04:14 [dump-emoji] better explaination of the usage
Behdad Esfahbod 8dc62968 2018-10-15T01:09:05 [ot-font] Implement TrueType v_origin Fixes https://github.com/harfbuzz/harfbuzz/issues/537
Behdad Esfahbod 6e07076f 2018-10-14T22:22:45 [blob] Fix UBSan error
Behdad Esfahbod fc812faa 2018-10-14T21:32:09 [CBDT] Fix more offsetting issues Fixes https://github.com/harfbuzz/harfbuzz/issues/960 dump-emoji still segfaults. Needs debugging.
Behdad Esfahbod 6aee3bb8 2018-10-14T21:08:42 [CBDT] Fix offset handling Fixes https://github.com/harfbuzz/harfbuzz/issues/960
Behdad Esfahbod da744c6b 2018-10-14T20:49:21 [CBDT] More UnsizedArrayOf cleanup
Behdad Esfahbod 2995b446 2018-10-14T20:37:57 [CBDT] Simplify sanitize
Behdad Esfahbod 1c76c8f6 2018-10-14T19:39:31 [morx] Handle end-of-text conditions in Insertion Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10955
Behdad Esfahbod 60c13976 2018-10-14T19:36:46 [buffer] Fix output_glyph at end of buffer Part of https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10955
Behdad Esfahbod 7efa3825 2018-10-14T19:30:44 [aat] More protection against buffer fail
Behdad Esfahbod e1add2a2 2018-10-14T16:26:03 [hmtx] Whitespace
Behdad Esfahbod 62376a7d 2018-10-14T15:20:50 Ignore signed-integer-overflow while kerning Fixes https://github.com/harfbuzz/harfbuzz/issues/1247
Behdad Esfahbod 40f2b935 2018-10-14T14:56:32 [kerx] Fix Format1 sanitize Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10948
Behdad Esfahbod 44af1f93 2018-10-14T14:52:17 [aat] Whitespace
Behdad Esfahbod 56b8dd17 2018-10-13T19:03:33 [aat] Finish off massaging table
Behdad Esfahbod e0c5e0d9 2018-10-13T18:37:14 [aat] WIP remove feature mapping here from hb-coretext Need to map enum values to numerics since we don't have CoreText headers.
Behdad Esfahbod cb057749 2018-10-13T17:03:32 [coretext] Prepare AAT feature mapping to be moved
Behdad Esfahbod de6e414c 2018-10-13T13:48:22 [kerx] Sanitize more
Behdad Esfahbod 71f76f2f 2018-10-13T13:36:27 [kerx] Fix-up previous commit A "&" was missing. Go back to using pointers that are less error-prone.
Behdad Esfahbod 6d4b0542 2018-10-13T12:20:33 [kerx] Use sanitizer instead of handcoded runtime sanitization
Behdad Esfahbod 57331136 2018-10-13T12:16:12 [kerx] Wire up context down to get_kerning
Behdad Esfahbod c4502833 2018-10-13T11:48:49 [kerx] Use sanitizer.get_num_glyphs() instead of face->get_num_glyphs()
Behdad Esfahbod fc45e698 2018-10-13T11:39:12 [kerx] Protext against overflows
Behdad Esfahbod ed2ee781 2018-10-13T09:47:51 [hangul] Fix use-after-free issue out_info might have moved since we copied it's position into local info var. Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=894937
Ebrahim Byagowi 63109432 2018-10-13T14:00:05 Cosmetic and minor changes
Behdad Esfahbod 1a6b5ac6 2018-10-11T21:22:49 Add HB_DEPRECATED_FOR and mark relevant symbols
Behdad Esfahbod c9413d7b 2018-10-11T21:19:39 [graphite] Add HB_DEPRECATED annotation
Behdad Esfahbod 68c86af1 2018-10-11T21:18:20 Always compile deprecated symbols We haven't been keeping this updated. So, while we don't expose the symbols in the headers if HB_DISABLE_DEPRECATED is defined, we still always build them.
Behdad Esfahbod c0a6814b 2018-10-12T16:05:56 Touch up new API New API: +hb_ot_layout_feature_get_name_ids() +hb_ot_layout_feature_get_characters()
Behdad Esfahbod 477bc9aa 2018-10-12T15:52:31 Add hb-ot-name.h Actual name-fetching API to come later. New API: hb_name_id_t HB_NAME_ID_INVALID
Ebrahim Byagowi dc49bd8d 2018-10-12T03:00:59 Add two APIs for getting stylistic set labels * hb_ot_layout_feature_get_characters * hb_ot_layout_feature_get_name_ids However HarfBuzz currently doesn't expose an API for retrieving the actual information associated with NameId from the `name` table and that should be done separately.
Behdad Esfahbod e9f9c0d8 2018-10-11T21:37:45 [sanitize] Reorder condition to silence bogus gcc warning Was givin a dozen of: ../../src/hb-machinery.hh: In member function ‘bool AAT::ankr::sanitize(hb_sanitize_context_t*) const’: ../../src/hb-machinery.hh:307:23: warning: missed loop optimization, the loop counter may overflow [-Wunsafe-loop-optimizations] bool ok = --this->max_ops > 0 && ~~~~~~~~~~~~~~~~~~~~~~ this->start <= p && ~~~~~~~~~~~~~~~~~~~ p <= this->end && ~~~~~~~~~~~~~~~^~ (unsigned int) (this->end - p) >= len; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I believe those are bogus, but this silences them and does not introduce logic issues I believe.
David Corbett c5510000 2018-10-11T22:08:14 Add missing colons to GObject annotations
David Corbett 1e816d62 2018-10-11T20:37:49 Fix Indic script tags in Graphite
Behdad Esfahbod bf8469be 2018-10-11T20:45:00 Attach CursivePositioning backwards, not forward This is how Uniscribe does it. So, adjust. This is only relevant to fonts that apply cursive positioning from a contextual lookup. Fixes https://github.com/harfbuzz/harfbuzz/issues/1181
Behdad Esfahbod bdb53ca2 2018-10-11T20:20:00 [myanmar] Implement Zawgyi shaper Enabled if script tag 'Qaag' is passed to HarfBuzz. Disables mark advance-zeroing and fallback mark-positioning. Fixes https://github.com/harfbuzz/harfbuzz/issues/1162
Behdad Esfahbod 00c5c4a7 2018-10-11T20:15:31 [myanmar] Shuffle
Behdad Esfahbod ec8f493b 2018-10-11T20:15:00 [graphite] Remove assert
Behdad Esfahbod 5646dcbd 2018-10-11T19:39:07 Minor
Behdad Esfahbod 654365dc 2018-10-11T17:51:21 Pass indic3 tags to USE shaper Fixes https://github.com/harfbuzz/harfbuzz/issues/539
David Corbett 28d091d0 2018-10-11T17:15:22 Parse Indic3 tags
Behdad Esfahbod 2c824d36 2018-10-11T16:41:01 [aat] Fix two wrongs that made a right before! Unfortunately our static asserts (DEFINE_SIZE_STATIC) don't actually fail when used in templates, thanks to SFINAE. Le sighs. Probably fixes https://oss-fuzz.com/v2/testcase-detail/5740171484463104
Behdad Esfahbod e940530c 2018-10-11T15:56:17 [aat] Fix mul overflow Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10897
Behdad Esfahbod 0744a02c 2018-10-11T15:14:18 [arabic] Update to latest UTR#53 From Lorna Evans: "That was a new character added to Unicode 11.0"
Behdad Esfahbod 4f9e36e8 2018-10-11T14:32:59 [graphite] Remove deprecated symbol use
Behdad Esfahbod da591f2a 2018-10-11T14:30:15 Whitespace
Behdad Esfahbod 4d205f04 2018-10-11T14:25:48 [graphite] Fix deva/dev2 resolution See https://github.com/harfbuzz/harfbuzz/pull/730#issuecomment-428277800
Behdad Esfahbod 8061664a 2018-10-11T14:16:55 Add doc stubs for recently added API Thanks to David Corbett who revamped our script and language processing and implemented full BCP 47 support. https://github.com/harfbuzz/harfbuzz/pull/730 New API: +hb_ot_layout_table_select_script() +hb_ot_layout_script_select_language() +HB_OT_MAX_TAGS_PER_SCRIPT +HB_OT_MAX_TAGS_PER_LANGUAGE +hb_ot_tags_from_script_and_language() +hb_ot_tags_to_script_and_language() Deprecated API: -hb_ot_layout_table_choose_script() -hb_ot_layout_script_find_language() -hb_ot_tags_from_script() -hb_ot_tag_from_language()