Log

Author Commit Date CI Message
Behdad Esfahbod 3530cc2d 2015-11-03T11:34:47 [util] Fix option-parsing leaks
Behdad Esfahbod 642135f3 2015-11-03T11:26:34 [util] In --debug mode, duplicate font data This has the effect that the font data will end up in a memory section malloc()ed exactly to its size. This gives us better valgrind detection of out-of-bounds access. Previously, the font data was placed in a mmap()ed section or GString-allocated area, which didn't have proper protections at the end when running under valgrind.
Behdad Esfahbod ed2024ef 2015-11-02T17:58:12 [perf] Micro-optimize
Behdad Esfahbod 76a5310a 2015-11-02T17:52:45 Remove irrelevant comment I tried moving the is_default_ignorable() function to an INTERNAL function. That made the binary size grow by 5k AND things got a tad bit slower!
Behdad Esfahbod 8259669f 2015-11-02T17:44:05 Minor
Behdad Esfahbod 9382c471 2015-11-02T17:36:51 Combine unicode_props0/1 into a uint16 Slightly faster. In prep for more changes.
Behdad Esfahbod 71277185 2015-11-02T17:27:48 [perf] Only call combining_class() for marks Saves some time. Also preparing for reusing the ccc byte for other stuff.
Behdad Esfahbod 5ba45040 2015-11-02T15:43:08 Make max context-length and max nesting level configurable ...at compile time.
Behdad Esfahbod 67f8821f 2015-11-02T15:37:29 [ot] Make bad-hmtx handling match FreeType Also route fuzzing-related tests through hb-ot-font, to reduce dependency on FreeType behavior for badly-broken fonts. Fixes failing test with FreeType master.
Behdad Esfahbod 672ca3b4 2015-10-26T14:05:05 Use templates for making sure expression is constant
Behdad Esfahbod 5c8174ed 2015-10-21T18:51:40 Update comments for removal of compat decompositions
Behdad Esfahbod f6799700 2015-10-21T17:20:55 Disable compatibility decomposition usage during normalization Fixes https://github.com/behdad/harfbuzz/issues/152
Behdad Esfahbod ce889189 2015-10-21T11:23:12 Fix two more -Wshadow warnings https://bugzilla.mozilla.org/show_bug.cgi?id=1215894
Behdad Esfahbod 4a6b1eed 2015-10-21T11:20:55 Fix one more -Wshadow warning https://bugzilla.mozilla.org/show_bug.cgi?id=1215894
Behdad Esfahbod 6f932bc8 2015-10-21T11:16:49 Fix a few more -Wshadow-local warnings https://bugzilla.mozilla.org/show_bug.cgi?id=1215894
Behdad Esfahbod b90cb366 2015-10-21T11:13:21 Fix one -Wshadow-compatible-local warning From https://bugzilla.mozilla.org/show_bug.cgi?id=1215894
Behdad Esfahbod 50e5750b 2015-10-21T11:10:10 Avoid unnecessary cast to 64-bit Fixes https://github.com/behdad/harfbuzz/issues/146 Or I think it should.
Behdad Esfahbod 305d2fbf 2015-10-21T11:04:28 Add HB_FALLTHROUGH Borrowed from https://bugzilla.mozilla.org/show_bug.cgi?id=1215411
Behdad Esfahbod 6486e375 2015-10-20T16:39:41 Fix typo
Behdad Esfahbod 753ea7b9 2015-10-20T15:21:18 Add BUILD.md to dist
Behdad Esfahbod 5d7a30fd 2015-10-20T15:19:41 Merge pull request #148 from ebraminio/inst Add BUILD.md based on harfbuzz.org docs
Behdad Esfahbod 904b0dc3 2015-10-19T16:59:43 Merge pull request #147 from ebraminio/dockerci [ci] change to docker infrastructure
Ebrahim Byagowi ba096bcc 2015-10-19T21:41:01 [ci] change to docker infrastructure
Ebrahim Byagowi 2fb95a0c 2015-10-19T22:02:12 Add BUILD.md based on harfbuzz.org docs
Behdad Esfahbod 86cadc2c 2015-10-15T20:25:29 1.0.6
Behdad Esfahbod ca97ea7a 2015-10-15T20:20:22 [ft] Revert change-of-behavior of hb_ft_font_create() introduced in 1.0.5 The default FreeType load flags where changed from FT_LOAD_NO_HINTING to FT_LOAD_DEFAULT in 2a9627c5641cd000e2adff0e42a0dc687b53ec70. This is crashing HarfBuzz-enabled FreeType as I suppose it causes infinite recursion between HB and FT autohinter... Revert the behavior change. Fixes https://github.com/behdad/harfbuzz/issues/143
Behdad Esfahbod 338ffec9 2015-10-15T12:55:57 Add tests for a couple of fixed issues found by libFuzzer From: https://github.com/behdad/harfbuzz/issues/139#issuecomment-147616887 https://github.com/behdad/harfbuzz/issues/139#issuecomment-148289957
Behdad Esfahbod 63ef0b41 2015-10-15T12:47:22 [ot-font] Fix hmtx wrong table length check Discovered by libFuzzer. Ouch! https://github.com/behdad/harfbuzz/issues/139#issuecomment-148289957
Behdad Esfahbod 613e6306 2015-10-13T23:33:28 Reduce max nesting level from 8 to 6 We probably should implement better system to catch cyclic lookups. But for now, this speeds up worst case behavior with broken fonts considerably without compromising legitimate usecases. https://github.com/behdad/harfbuzz/issues/139#issuecomment-147788447
Behdad Esfahbod ab170529 2015-10-13T10:55:33 1.0.5
Behdad Esfahbod ed13e2ce 2015-10-13T10:32:56 [ot-font] Fix leak https://github.com/behdad/harfbuzz/issues/139#issuecomment-147616887
Behdad Esfahbod 55db94be 2015-10-13T00:33:59 Add test for previous commit
Behdad Esfahbod f9666497 2015-10-13T00:30:50 Fix another memory access issue discovered by libFuzzer Fixes https://github.com/behdad/harfbuzz/issues/139#issuecomment-146984679
Behdad Esfahbod c1a5dc46 2015-10-12T17:39:52 [fuzz] Add fuzzing script from kcc@ https://github.com/behdad/harfbuzz/issues/139
Behdad Esfahbod cc6ea308 2015-10-12T17:21:52 Extern "C" custom-allocator declerations
Behdad Esfahbod 98c6fccc 2015-10-11T21:41:04 Add test for ee9b0b6cb5fdb08671ab064f26c299135f828260
Behdad Esfahbod 50f489a0 2015-10-11T20:59:29 Typo
Behdad Esfahbod ee9b0b6c 2015-10-09T14:23:15 Fix another sanitize bug Also discovered by "libFuzzer".
Behdad Esfahbod 34379b49 2015-10-09T12:34:02 Add test for previous fix
Behdad Esfahbod f396fbb0 2015-10-09T12:25:55 Fix return value of sanitize when subformat is not readable This is a fix on top of the previous issue fixed in c917965b9e6fe2b21ed6c51559673288fa3af4b7. This was caught by "libFuzzer" testing.
Behdad Esfahbod 77a1a2bc 2015-10-09T12:20:58 Add hb_dispatch_context_t
Behdad Esfahbod 3e905e39 2015-10-08T12:51:02 Add hb_font_set_parent() No reason to not have it. Makes life easier later. We (hb-ft, hb-ot-font, etc) can use this API to inject new parent into a font...
Behdad Esfahbod edeb3dab 2015-10-08T12:47:15 [ft] Add version for new API
Behdad Esfahbod 2a9627c5 2015-10-07T17:33:20 [ft] API: Add hb_font_[sg]et_load_flags() API This changes the default load_flags of fonts created using hb_ft_font_create() from NO_HINTING to DEFAULT. Hope that doesn't break too much client code. Code calling hb_ft_font_set_funcs() is unaffected.
Behdad Esfahbod 3224a594 2015-10-07T17:33:02 Minor
Behdad Esfahbod 52b41855 2015-10-03T13:20:55 Allow compiling with custom allocators User can define hb_malloc_impl, etc, to name of custom allocator functions that have the same signature as malloc.
Behdad Esfahbod 88da7bba 2015-10-02T14:38:20 Default font scale to face upem Makes for a better default and avoids nasty inheritance issues. See mailing list thread "Default hb_font_t scale".
Behdad Esfahbod 1866e171 2015-10-02T14:21:29 Make hb_font_create_sub_font() NOT make parent immutable We don't rely on that. However, whenever hb_font_make_immutable() is called, it makes its parenting chain immutable.
Behdad Esfahbod 980e25ca 2015-10-02T08:21:12 Fix hb-ot-shape-normalize with empty buffer Part of https://github.com/behdad/harfbuzz/issues/136
Behdad Esfahbod a5efaac4 2015-10-02T08:02:29 Replace a couple of malloc()s with calloc()
Behdad Esfahbod 26ba4d1e 2015-10-02T07:25:52 Fix segfault with empty buffer in hb_shape_plan_execute() Move the empty-buffer check from hb_shape_full() to hb_shape_plan_execute(). Reported by Simon Cozens.
Behdad Esfahbod 432ffc47 2015-09-30T22:51:16 1.0.4
Behdad Esfahbod b4715901 2015-09-29T14:57:02 Define return_trace() Not functional change (expected!).
Behdad Esfahbod c917965b 2015-09-29T14:45:35 Add missing returns Fixes possible invalid read of two bytes. Reported by Behzad Najjarpour Jabbari, Secunia Research.
Behdad Esfahbod f3159ba5 2015-09-29T14:34:56 Micro-optimize hb_language_from_string() As measured / improved by Benson Limketkai.
Sascha Brawer f2ad935e 2015-06-28T03:29:47 Handle language tags that indicate phonetic IPA transcription The BCP-47 registry defines a variant subtag "fonipa" that can be used in combination with arbitrary other language tags. For example, "rm-CH-fonipa-sursilv" indicates the Sursilvan dialect of Romansh as used in Switzerland, transcribed used the International Phonetic Alphabet. http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
Behdad Esfahbod b8811429 2015-09-03T15:53:22 Fix Since tags Fixes https://github.com/behdad/harfbuzz/issues/103
Behdad Esfahbod 5d74ff02 2015-09-03T14:55:59 Fix Since: version tags on font and face APIs A while back we marked every API as version:1.0. We should fix them all to reflect real version they were introduced. This is a start. Patch from Nikolay Sivov.
Behdad Esfahbod 7f540539 2015-09-01T17:03:50 1.0.3
Behdad Esfahbod 5828c45d 2015-09-01T16:26:35 [indic] Add comments to merge_clusters calls
Behdad Esfahbod bdc82159 2015-09-01T16:24:54 [thai] Respect cluster-level > 0
Behdad Esfahbod 5b31fe38 2015-09-01T16:24:34 [use] Merge /before/ reordering
Behdad Esfahbod 0d438f89 2015-09-01T16:24:13 [hangul] Merge /before/ reordering
Behdad Esfahbod f883de66 2015-09-01T16:23:40 [OT] Merge /before/ reordering
Behdad Esfahbod c403d632 2015-09-01T16:15:25 [myanmar] Use buffer->sort() to sort cluster This can possibly produce more granular clusters.
Behdad Esfahbod e995d33c 2015-09-01T16:13:32 [OT] Merge clusters when reordering marks for normalization Fixes https://bugzilla.gnome.org/show_bug.cgi?id=541608 and cluster test.
Behdad Esfahbod b6d7d161 2015-09-01T16:12:44 [tests] Add Hebrew test for normalization under cluster-level=1 Currently fails. https://bugzilla.gnome.org/show_bug.cgi?id=541608
Behdad Esfahbod 93099748 2015-09-01T16:11:27 Minor
Behdad Esfahbod 85846b3d 2015-09-01T15:07:52 Use insertion-sort instead of bubble-sort Needed for upcoming merge-clusters fix.
Behdad Esfahbod fad26748 2015-09-01T14:45:46 Minor
Behdad Esfahbod 23e4fac6 2015-08-31T19:41:01 Update git.mk from upstream
Behdad Esfahbod 5783e05f 2015-08-31T19:18:10 [docs] Move docs/reference/ contents into docs/
Behdad Esfahbod cd5e3a13 2015-08-31T19:16:41 [docs] Fix out-of-tree build
Behdad Esfahbod 3899795f 2015-08-31T10:46:01 Merge pull request #131 from simoncozens/docs Use gtk-doc to build user's manual as well as reference
Simon Cozens 01e16e88 2015-08-31T10:40:17 Combine user / reference information into gtk-doc generated manual.
Simon Cozens 11a07c47 2015-08-31T10:39:10 Correct tag hierarchy, to allow for table-of-contents entries.
Simon Cozens 387d6af4 2015-08-31T10:31:09 Missing tag (oops).
Behdad Esfahbod d2059652 2015-08-31T10:12:05 [docs] Fix typo
Behdad Esfahbod c424b417 2015-08-31T09:53:16 Merge pull request #129 from simoncozens/docs First two chapters. More to follow.
Behdad Esfahbod 31594b98 2015-08-30T17:33:04 [test] Fix test-object See previous commit.
Behdad Esfahbod 326b5ebf 2015-08-30T17:29:21 Poison freed objects such that double-free is detected Previously we were setting refcount of freed objects to the inert value, which was harmful because it caused further destroy()s of the freed object to NOT call free() and hence hide the bug. Indeed, after eb0bf3ae6688b7 test-object was double-free'ing objects and this was never caught on Linux. It only was caught as crashing on Mac. Now we poison refcount upon freeing and check that it's valid whenever reading it. Makes test-object fail now.
Simon Cozens 5470e744 2015-08-29T08:21:18 Current state and skeleton outline
Behdad Esfahbod 6578575c 2015-08-25T20:24:59 [GPOS] Fix cursive connection with mix of RTL and non-RTL lookups See thread "Issue with cursive attachment" started by Khaled. Turned out fixing this wasn't as bad as I had assumed. I like the new code better; we now have a theoretical model of cursive connections that is easier to reason about.
Behdad Esfahbod 7368da67 2015-08-25T20:28:39 [test] Add test for cursive-positioning with mixed directions Fails now. Fix coming. See thread "Issue with cursive attachment" started by Khaled. Test fonts were made by modifying test font from Khaled to add more anchors.
Simon Cozens f0807654 2015-08-25T19:57:15 First two chapters. More to follow.
Behdad Esfahbod 58f2a73f 2015-08-25T18:55:34 [GPOS] Rewrite cursive attachment slightly differently In anticipation for upcoming fix for bug reported by Khaled in thread "Issue with cursive attachment".
Behdad Esfahbod fdd1770e 2015-08-24T13:49:55 Add API/cmdline to show glyph extents when serializing buffer New API: HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS hb-shape now accepts --show-extents. Patch from Simon Cozens.
Behdad Esfahbod 2cee5b68 2015-08-24T13:45:12 [ot-font] Fix short-offset calculation
Behdad Esfahbod b50fcfa8 2015-08-23T14:42:20 [ot-font] Implement glyph_extents() for TrueType fonts This brings ot-fonts into almost-complete shape and mostly in par with ft font.
Behdad Esfahbod 0299b450 2015-08-21T12:44:36 Make BYTE a real type
Behdad Esfahbod ed6962c7 2015-08-20T15:39:53 [coretext] Use i32 instead of u32 as well Shouldn't cause *any* functional changes, but is more correct.
Behdad Esfahbod 163c435f 2015-08-20T15:39:06 [uniscribe] Fix negative offsets Ouch!
Behdad Esfahbod 789b89ef 2015-08-19T13:39:57 1.0.2
Behdad Esfahbod 958c268f 2015-08-19T13:22:12 [coretext] Add TODO item
Behdad Esfahbod 7c5bee09 2015-08-19T13:20:31 [uniscribe] Fix font scale handling By default shape at upem (or ppem), and scale results. Similar to work done in CoreText backend, but using upem as default.
Behdad Esfahbod 902e74a0 2015-08-18T18:55:03 Commented-out code to print buffer before each lookup To be turned into a useful HB_DEBUG_SHAPE infrastructure...
Behdad Esfahbod 75504a50 2015-08-18T18:47:02 Allow serializing buffer with output-buffer being used Ie, don't call get_positions() if positions are not requested for serialization.
Behdad Esfahbod e47b772a 2015-08-18T18:42:47 [ot] Change buffer content type right after we map to glyphs Needed for upcoming debug output changes.
Behdad Esfahbod d104415e 2015-08-18T17:33:34 [Android.mk] Update for SEA removal and USE addition
Behdad Esfahbod ddd6bf12 2015-08-18T15:55:09 Don't declare dependency on freetype in harfbuzz.pc See comments.