src


Log

Author Commit Date CI Message
Behdad Esfahbod d03f11f2 2017-09-04T20:14:13 Fix buffer_diff for empty buffers If buffers are empty, content type should be ignored. This fixes last of the failing tests: fuzzed.tests. Green again!
Behdad Esfahbod 7cc34804 2017-09-04T20:04:59 [unsafe-to-break] Fix unsafe-to-break for cluster-level=1 Fixes tests/shaping/tests/cluster.tests
Behdad Esfahbod 06cb162c 2017-09-01T10:34:21 [indic] Treat Consonant_With_Stacker as consonant Fixes https://github.com/behdad/harfbuzz/issues/528 "Kannada JIHVAMULIYA and UPADHMANIYA insert dotted circles"
Behdad Esfahbod c449d2d8 2017-08-30T17:28:22 [unsafe-to-break] Mark during fraction-slash formation Fixes tests/automatic-fractions.tests
Behdad Esfahbod 099472e0 2017-08-30T16:45:06 hb_buffer_diff() tweak I like to have a mode where CONTAINS_NOTDEF and CONTAINS_DOTTEDCIRCLE are not returned. Abused a value of -1 for that. hb-shape now uses it. Fixes two of the six tests failing with --verify in test/shaping/run-tests.sh.
Behdad Esfahbod 224d20e4 2017-08-23T14:41:48 [docs] Minor
Behdad Esfahbod b2dd0c1c 2017-08-23T13:12:54 Add hb_glyph_info_get_glyph_flags() New API.
Behdad Esfahbod 3e8f4f14 2017-08-22T17:56:25 Rename HB_BUFFER_DIFF_FLAG_MASK_MISMATCH to HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH
Behdad Esfahbod 8820ba29 2017-08-15T17:12:21 Fix warning about "may be used uninitialized"
Emil A Eklund (eae) 91770e1c 2017-08-15T16:25:18 Fix signed/unsigned warning (#522) Change hb_buffer_diff to explicitly cast result of abs to unsigned when comparing with position_fuzz to avoid unsafe signed/unsigned comparions warnings on windows.
Behdad Esfahbod 587f15ec 2017-08-14T15:23:10 Minor
Behdad Esfahbod 338e61ad 2017-08-14T12:36:38 Fix typo
Jonathan Kew 331d66c7 2014-07-19T23:09:09 Add function to compare two buffers Based on patch from Jonathan Kew. Needs more cleaning up and documentation. New API: hb_buffer_diff_flags_t hb_buffer_diff()
Behdad Esfahbod 219af509 2017-08-13T15:10:26 [graphite2] Fix warning
Behdad Esfahbod 239119a6 2017-08-13T15:08:34 [unsafe-to-break] Mark all positions as unsafe in alternative shapers
Behdad Esfahbod 05fabbd0 2017-08-11T19:51:06 [unsafe-to-break] Towards verifying unsafe-to-break in --verify We break and shape fragments and reconstruct shape result from them. Remains to compare to original buffer. Going to add some buffer comparison API and use here, instead of open-coding.
Behdad Esfahbod 6ce25f57 2017-08-11T19:31:05 Fix hb_buffer_append() Ouch!
Behdad Esfahbod 1c17c2bd 2017-08-11T19:06:07 [unsafe-to-break] Copy flag to all glyphs in a cluster Makes consumption easier.
Behdad Esfahbod ec104e59 2017-08-11T18:24:27 [unsafe-to-break] Mark unsafe is cluster merging is disabled We were relying on cluster merges not requiring unsafe flagging because they get merged. If cluster level requests no merging, then we flag unsafe when merge would have happened.
Behdad Esfahbod 39a97494 2017-08-11T15:52:06 New API: hb_buffer_append()
Behdad Esfahbod 14a639ea 2017-08-11T11:30:39 [unsafe-to-break] Fix Use-of-uninitialized-value in unsafe_to_break_set_mask Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3011
Behdad Esfahbod e43aad55 2017-08-10T20:54:15 [unsafe-to-break] Flag in Thai PUA shaping
Behdad Esfahbod eae00960 2017-08-10T20:50:48 [unsafe-to-break] Flag in Hangul shaper
Behdad Esfahbod b65aa1cd 2017-08-10T20:32:02 [unsafe-to-break] Flag during mark attachment
Behdad Esfahbod 882ebdad 2017-08-10T20:23:17 [unsafe-to-break] Flag during cursive positioning
Behdad Esfahbod 2d158ca3 2017-08-10T20:19:15 [unsafe-to-break] Flag during kerning
Behdad Esfahbod a7c4972c 2017-08-10T20:16:15 [unsafe-to-break] Flag during fallback positioning
Behdad Esfahbod e2a2b5b2 2017-08-10T20:10:12 [unsafe-to-break] Be careful with flag propagation when merging clusters
Behdad Esfahbod f2868c20 2017-08-10T19:58:05 Set mask to 0, instead of 1, by default This shouldn't matter.
Behdad Esfahbod 9e005c5d 2017-08-10T18:45:33 [unsafe-to-break] Mark Indic-like clusters as unsafe-to-break
Behdad Esfahbod 5287ccc9 2017-08-10T14:25:53 [unsafe-to-break] Allocate public bits from 0
Behdad Esfahbod 91ce0c45 2016-05-05T16:13:03 [safe-to-break] Fix logic when there is no out-buffer
Behdad Esfahbod a043c99f 2016-05-04T19:51:22 [unsafe-to-break] Simplify logic Always use the algorithm for non-monotone case. It's more robust.
Behdad Esfahbod 40bd7e9a 2016-05-02T14:47:45 [unsafe-to-break] Add UNSAFE_TO_BREAK flag Not all shapers code is updated to set this properly. GSUB and Arabic shaper are updated. GPOS and other shapers are NOT. Fixes https://github.com/behdad/harfbuzz/issues/224
Behdad Esfahbod ac8c4e56 2017-08-09T22:05:08 [ft] Fix theoretical leak
Behdad Esfahbod 5a330575 2017-08-09T17:23:28 Treat HAMZA ABOVE similar to SHADD for sorting purposes Part of https://github.com/behdad/harfbuzz/issues/509
Behdad Esfahbod 68af14d5 2017-08-09T17:09:21 Protect against div-by-zero in CBDT extent code Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1452#c5 CC https://github.com/behdad/harfbuzz/issues/139
Behdad Esfahbod 5dc30451 2017-08-07T21:37:07 Two fixes to avar mapping 1. Handle segment with two entries correctly, 2. Fix rounding math. Ouch! Fixes https://github.com/behdad/harfbuzz/issues/521
Behdad Esfahbod dc2c418e 2017-08-03T12:34:15 [check-defs/symbols.sh] Drop empty-symbol lines Fixes https://github.com/behdad/harfbuzz/issues/510
Ebrahim Byagowi 65f64d14 2017-07-19T02:42:53 Unbreak arm-none-eabi build again (#514)
Behdad Esfahbod c1432bce 2017-07-14T17:34:47 [arabic] Adjust feature order again Fixes https://github.com/behdad/harfbuzz/issues/505
Cosimo Lupo 9813be3d 2017-07-14T17:11:46 [coretext] Allow to disable kern (#508) * Minor * [coretext] Fix leak * [coretext] Do not reset num_features * [coretext] allow to disable kern; re-enabling doesn't seem to be working
Behdad Esfahbod 9dd29c68 2017-07-14T17:01:27 [use] Allow up to two medial-below letters Fixes https://github.com/behdad/harfbuzz/issues/376
Behdad Esfahbod 216b003c 2017-07-14T16:38:51 [use] Fix shaping of U+AA29 CHAM VOWEL SIGN AA Part of https://github.com/behdad/harfbuzz/issues/376 Also see https://github.com/roozbehp/unicode-data/issues/6 Test added, using NotoSansCham built from Noto Phase III sources.
Behdad Esfahbod f1cd7ca8 2017-07-14T15:59:40 [indic] Add github URL
Behdad Esfahbod 3cc84f45 2017-07-14T15:50:22 [indic] Fix https://github.com/behdad/harfbuzz/issues/478
Behdad Esfahbod e359a4b8 2017-07-14T14:14:35 [indic] Disable automatic ZWNJ handling for Indic features Fixes https://github.com/behdad/harfbuzz/issues/294 Also fixes a bunch of other Indic issues. Test results after: BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) GUJARATI: 366355 out of 366457 tests passed. 102 failed (0.0278341%) GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) KANNADA: 951201 out of 951913 tests passed. 712 failed (0.0747968%) KHMER: 299071 out of 299124 tests passed. 53 failed (0.0177184%) MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%) ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%) TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) Before: BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) KANNADA: 951190 out of 951913 tests passed. 723 failed (0.0759523%) KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%) ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%)
Behdad Esfahbod cdf1fd06 2017-07-14T12:43:34 [indic] Add infrastructure to disable ZWNJ-skipping in context-matching Not used yet.
Dominik Schlösser 4e21ec54 2017-07-14T13:14:23 Fix for reordering of Tibetan vowel u (#443) * Undone change for Tibetan vowel u * removed comment on reordering that became invalid with roll-back * Support for Dzongkha contractions with multiple vowel-signs * Removed non-functional and unnecessary defines for HB_MODIFIED_COMBINING_CLASS_CCC138,140
Ebrahim Byagowi 3b0e47ca 2017-06-19T14:47:09 Fix arm-none-eabi build (fixes #451) (#496)
Ebrahim Byagowi 76c4873e 2017-06-02T21:53:10 Support branch prediction helpers on clang compiles (#491)
Behdad Esfahbod 7dba3063 2017-06-01T11:44:42 Handle allocation failure in hb-language code
Sebastian Rasmussen 92e2c4ba 2017-05-29T12:53:30 Avoid using strdup inside library. (#488) If an application provides a malloc replacement through hb_malloc_impl() it is important that it is used to allocate everything, but the use of strdup() circumvents this and causes system malloc() to be called instead. This pairs badly with the custom hb_free_impl() being called later.
Khaled Hosny 06cfe3f7 2017-05-17T21:32:47 Do not skip TAG characters in glyph substitution (#487) Hide them like Mongolian Free Variation Selectors instead. Fixes https://github.com/behdad/harfbuzz/issues/463
Behdad Esfahbod 18172216 2017-05-16T14:26:28 Minor
mhosken 74b99ef2 2017-04-20T19:13:22 Fix graphite2 rtl conversion (#475)
Chris Peterson aacca375 2017-04-17T23:25:24 Fix clang -Wcomma warnings (#471) (#472) clang's new -Wcomma compiler option warns about possible misuse of the comma operator such as between two statements. hb-common.cc:190:9 [-Wcomma] possible misuse of comma operator here hb-ot-layout-gsubgpos-private.hh:345:30 [-Wcomma] possible misuse of comma operator here hb-shape-plan.cc:438:26 [-Wcomma] possible misuse of comma operator here
William Hua 5ecf96e3 2017-04-17T01:33:42 Use absolute paths of ragel generated headers (#467) https://github.com/behdad/harfbuzz/issues/455
jfkthame c04c1fe8 2017-04-11T22:29:13 Blacklist GDEF table in additional Tahoma versions. (#459) There are more broken versions of Tahoma out there on various Windows releases, so we need to add them to our blacklist to avoid broken rendering. See https://bugzilla.mozilla.org/show_bug.cgi?id=1279925 for details.
ebraminio adfd4ae1 2017-04-11T23:18:18 [cmake] Improve third party libraries support (#461)
Behdad Esfahbod a4471d0c 2017-04-05T15:42:11 Move list of ragel sources to Makefile.sources as well
ebraminio d2acaf6d 2017-04-05T02:21:23 Split ragel generated files lists and remove hardcoded rl files lists (#453)
jfkthame 740fdbcd 2017-04-03T12:22:39 avoid UBSan warning in get_stage_lookups (#450) See https://bugzilla.mozilla.org/show_bug.cgi?id=1336600
Behdad Esfahbod edcf6344 2017-03-24T10:24:52 Blacklist more versions of Padauk Patch from Phil Race.
Khaled Hosny 91570a1e 2017-03-22T23:07:15 Just always use strtod here
Chun-wei Fan 539571c1 2017-02-24T17:58:25 src/hb-common.cc: Fix build on older Visual Studio Visual Studio only supported strtof() from Visual Studio 2013 onwards, so use strtod() instead to do the operation, which should do the same thing, sans going to a double, not a float.
Behdad Esfahbod 47e7a180 2017-03-10T13:23:02 Revert "Fix Context lookup application when moving back after a glyph delete" This reverts commit b9b005f3a44ccf78a45b212b126287b69b9f4b40. This introduced invalid access cases. Revert until I fix correctly.
Behdad Esfahbod 3c080a7a 2017-03-07T18:13:28 Fix buffer serialize of empty buffer Ouch!
Behdad Esfahbod 9ac9af72 2017-03-05T13:51:01 Add TODO item
Behdad Esfahbod 5aec2fb8 2017-03-02T11:46:33 Remove TODO item that is not going to happen
Behdad Esfahbod b9b005f3 2017-03-01T14:27:23 Fix Context lookup application when moving back after a glyph delete This was broken forever, since days that we did not allow moving tape backwards. Works now. Reported by Doug Felt.
Behdad Esfahbod 85630996 2017-02-25T13:30:38 Fix buffer-overrun with Bengali reph positioning code This has no security implications whatsoever since we always keep and extra element at the end of buffer, just in case. Discovered by oss-fuzz CC https://github.com/behdad/harfbuzz/issues/139 Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=660
Dominik Röttsches a657f23c 2017-02-20T21:52:07 Blacklist another instance of Padauk (#419) In https://crbug.com/681813 another instance of Padauk was identified triggering collapsed glyphs. Blacklist this version by patching hb-ot-layout.cc to print out gdef, gsub, and gpos table length, then adding those to the list of blacklisted versions.
jfkthame 44f7d6ec 2017-02-17T03:03:24 Guard against underflow when adjusting length (#421) * Guard against underflow when adjusting length With the fuzz-testcase in mozilla bug 1295299, we end up with a recursed lookup that removes 3 items, when `match_positions[idx]` is 0, which results in (unsigned) `end` wrapping to a huge value. Making `end` a signed int is probably the simplest route to a fix. Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1295299. * Add testcase for #421.
jfkthame 45766b67 2017-02-16T17:40:21 [indic] Add support for Grantha marks that may be used in Tamil to th… (#401) * [indic] Add support for Grantha marks that may be used in Tamil to the Indic table. See https://bugzilla.mozilla.org/show_bug.cgi?id=1331339. Testcase: U+0BA4,U+0BC6,U+1133c,U+0BAA,U+1133c,U+0BC6,U+1133c * [indic] Add test for Grantha nukta that is allowed in Tamil by ScriptExtensions.txt
Behdad Esfahbod d4bb52b9 2017-02-09T14:13:25 Unbreak hb-coretext build
Behdad Esfahbod c8dfed8e 2017-02-08T14:36:18 Merge pull request #357 from khaledhosny/graphite-scale [graphite] Fix shaping with varying font sizes
Behdad Esfahbod 7c47474f 2017-02-08T14:33:28 Set LC_ALL instead of LANG when creating harfbuzz.def Hopefully fixes Travis faliure? https://github.com/behdad/harfbuzz/pull/413#issuecomment-278481882 https://travis-ci.org/khaledhosny/harfbuzz/jobs/199785332#L1065
Philip Withnall ffde3c9f 2017-02-08T21:56:57 hb-font: Fix a potentially undefined use of memcmp() (#413) While it’s fine to call memcmp(x, 0, 0) in practice, the C99 standard explicitly says that this is not allowed: even if the length is zero, the pointer arguments must be valid. http://stackoverflow.com/a/16363034 Coverity ID: 141178 Signed-off-by: Philip Withnall <withnall@endlessm.com>
Behdad Esfahbod 73c6dcbb 2017-02-07T16:53:21 Silence Coverity warning Fixes https://github.com/behdad/harfbuzz/issues/408
Behdad Esfahbod 466b3e58 2017-02-03T16:43:25 Shuffle things around a bit
Behdad Esfahbod fc8189b6 2017-02-03T16:17:08 Minor
Behdad Esfahbod d3d36918 2017-02-03T15:42:03 Add dirty-state tracking to hb_face_t
Behdad Esfahbod 2171f48b 2017-02-03T10:58:09 Add dirty-state tracking to hb_font_t
Behdad Esfahbod 95808bad 2017-02-03T10:39:40 Add new API hb_font_set_face() For completeness.
jfkthame 4ec19319 2017-02-02T18:48:23 Add Win10 Anniversary Update version of Tahoma to GDEF blacklist. (#412)
Behdad Esfahbod 1dd630a7 2017-02-01T11:57:21 Minor Fixes https://github.com/behdad/harfbuzz/issues/411
Behdad Esfahbod e888f642 2017-01-26T14:50:14 Route Adlam through Arabic shaper Fixes joined Adlam rendering. Fixes https://github.com/googlei18n/noto-fonts/issues/828
jfkthame 72c75487 2017-01-26T22:35:41 Add Win7 version of himalaya.ttf to the GDEF table blacklist. (#407)
Behdad Esfahbod 22af28a3 2017-01-23T23:42:53 [var] Implement MVAR table Unhooked. Untested.
Behdad Esfahbod 67a19116 2017-01-23T23:21:30 [var] Whitespace
Behdad Esfahbod 79e8e27f 2017-01-23T17:55:31 [var] Hook up advance variations to hb-ot-font Yay, works!
Behdad Esfahbod 60743403 2017-01-23T17:55:16 [var] Fix bug in HVAR/VVAR impl
Behdad Esfahbod bd3b11d9 2017-01-23T17:34:44 [var] Prepare for hooking up advance variations to hb-ot-font
Behdad Esfahbod a4fca9f0 2017-01-23T11:56:08 [var] Implement DeltaSetIndexMap and advance delta fetching Not hooked up to hb-ot-font yet.
Behdad Esfahbod 7b399f73 2017-01-23T11:41:43 [var] Start adding HVAR/VVAR
Behdad Esfahbod b732c53e 2017-01-22T20:31:53 Add LArrayOf<>
Behdad Esfahbod 5e156fa5 2017-01-22T20:28:56 Add LOffsetTo<>
Behdad Esfahbod d6bdbbca 2017-01-22T20:16:51 [var] Remove HB_OT_TAG_fvar/avar We're not going to define public macros for tags for tables. There's little use to those and they are implementation detail.
Behdad Esfahbod a11d9a04 2017-01-22T20:09:47 Minor