src


Log

Author Commit Date CI Message
Behdad Esfahbod 8bb5deba 2012-08-02T10:07:58 [OT] Pipe shape_plan down to pause_callbacks
Behdad Esfahbod 3e38c0f2 2012-08-02T09:44:18 More massaging
Behdad Esfahbod 16c6a27b 2012-08-02T09:38:28 [OT] Port complex_shaper to planner/plan
Behdad Esfahbod 5393e3a6 2012-08-02T09:24:35 [OT] Minor refactoring
Behdad Esfahbod 24eacf17 2012-08-02T08:42:11 [Indic] Move consonant-position-setting into initial_reordering()
Behdad Esfahbod afbcc24b 2012-08-02T08:36:40 [GSUB] Wire the font, not just the face, down to substitute() We need the font for glyph lookup during GSUB pauses in Indic shaper. Could perhaps be avoided, but at this point, we don't mean to support separate substitute()/position() entry points (anymore), so there is no point in not providing the font to GSUB.
Behdad Esfahbod b0e6a26a 2012-08-02T08:11:14 [OT] Hide some API It was impossible to meaningfully use them from the outside these days.
Behdad Esfahbod 30524674 2012-08-02T08:08:04 Minor
Behdad Esfahbod 8ef3d532 2012-08-02T07:53:18 [Indic] More refactoring of consonant position peeking in the font To be moved to initial_reordering next...
Behdad Esfahbod 3eb6f81f 2012-08-02T07:37:46 [Indic] Refactor Move all the logic that needs to eventually move into the indic table into hb-ot-shape-complex-indic-private.hh.
Behdad Esfahbod 3614ba24 2012-08-02T07:13:55 [Indic] Rename
Behdad Esfahbod 610e5e8f 2012-08-02T05:27:46 [Indic] Streamline feature would_apply() Comes with some 10% speedup for Devanagari even!
Behdad Esfahbod 1d002048 2012-08-02T05:01:11 [Indic] Minor
Behdad Esfahbod 6f761137 2012-08-02T04:00:31 [GSUB/GPOS] Check array size before accessing digests
Behdad Esfahbod 22148b8c 2012-08-02T03:51:51 Use Coverage digests in would_apply
Behdad Esfahbod 6c459c8f 2012-08-02T03:45:53 Minor
Behdad Esfahbod e2b8d75f 2012-08-01T22:17:48 Use wider set digests on 64-bit archs
Behdad Esfahbod 0120ce96 2012-08-01T21:56:35 [GSUB/GPOS] Remove unused get_coverage() methods
Behdad Esfahbod 1336ecdf 2012-08-01T21:46:36 [GSUB/GPOS] Use Coverage digests as gatekeeper Gives me a good 10% speedup for the Devanagari test case. Less so for less lookup-intensive tests. For the Devanagari test case, the false positive rate of the GSUB digest is 4%.
Behdad Esfahbod a878c58a 2012-08-01T21:18:54 [GSUB/GPOS] Add add_coverage()
Behdad Esfahbod 60a3035a 2012-08-01T21:06:27 Add hb_set_digest_t Implement two set digests, and one that combines the two.
Behdad Esfahbod c8accf1d 2012-08-01T21:05:57 [OT] Templatize Coverage::add_coverage()
Behdad Esfahbod 8fbfda92 2012-08-01T19:03:46 Inline font getters
Behdad Esfahbod 6adf417b 2012-08-01T18:07:42 Use a lookup table for modified_combining_class
Behdad Esfahbod 208f70f0 2012-08-01T17:13:10 Inline Unicode callbacks internally
Behdad Esfahbod 7470315a 2012-08-01T17:01:59 Move unicode accessors around
Behdad Esfahbod 21fdcee0 2012-08-01T16:23:44 Add hb_unicode_combining_class_t
Behdad Esfahbod 84186a64 2012-08-01T13:32:39 Add commentary on the compatibility decomposition in the normalizer
Behdad Esfahbod 0834d952 2012-08-01T00:21:09 [hb-old] Adjust mark positioning parameters Fallback mark positioning works now... With hb-ft and hb-view / hb-shape at least.
Behdad Esfahbod 4ca743df 2012-08-01T00:03:41 [old] Implement fontMetrics
Behdad Esfahbod 1e7d8606 2012-07-31T23:41:06 [GPOS] Adjust mark advance-width zeroing logic If there is no GPOS, zero mark advances. If there *is* GPOS and the shaper requests so, zero mark advances for attached marks. Fixes regression with Tibetan, where the font has GPOS, and marks a glyph as mark where it shouldn't get zero advance.
Behdad Esfahbod a8842e4a 2012-07-31T23:10:11 Remove some TODO items
Behdad Esfahbod 2bc3b9a6 2012-07-31T23:08:25 [OT] Zero mark advances if the shaper desires so Enabled for all shapers except for Indic.
Behdad Esfahbod 5fecd8b0 2012-07-31T22:48:38 [OT] Synthesize glyph classes
Behdad Esfahbod 03b09214 2012-07-31T22:43:58 [GSUB] Minor
Behdad Esfahbod f0fc1df8 2012-07-31T22:43:32 [hb-old] Implement getGlyphMetrics() Still working on it.
Behdad Esfahbod 378d279b 2012-07-31T21:36:16 Implement Unicode compatibility decompositions Based on patch from Philip Withnall. https://bugs.freedesktop.org/show_bug.cgi?id=41095
Behdad Esfahbod 321ec29c 2012-07-31T21:10:16 Remove unused function
Behdad Esfahbod 69cc492d 2012-07-31T14:51:36 [buffer] Minor
Behdad Esfahbod 693918ef 2012-07-30T21:08:51 [OT] Streamline complex shaper enumeration Add a shaper class struct.
Behdad Esfahbod c2e42c3d 2012-07-30T19:54:50 Minor
Behdad Esfahbod 03f67bc0 2012-07-30T19:47:53 More refactoring glyph class access
Behdad Esfahbod 300c7307 2012-07-30T19:37:44 [OT] Don't crash if no GDEF available
Behdad Esfahbod 3dcbdc21 2012-07-30T19:31:17 Minor
Behdad Esfahbod 05bd1b63 2012-07-30T19:30:01 [GSUB/GPOS] Move glyph props matching around
Behdad Esfahbod 2fca1426 2012-07-30T18:46:41 [GSUB] Don't erase glyph classes if GDEF does not have glyph classes
Behdad Esfahbod fd42257f 2012-07-30T18:40:27 Minor
Behdad Esfahbod 7fbbf86e 2012-07-30T18:36:42 [GSUB] Minor
Behdad Esfahbod 713914d3 2012-07-30T17:54:38 [Uniscribe] Clean up a bit
Behdad Esfahbod 301168da 2012-07-30T17:48:04 [CoreText] Port to shape_plan infrastructure
Behdad Esfahbod 6cdfd14b 2012-07-30T17:22:17 Fix build on Mac
Behdad Esfahbod 7e34601d 2012-07-30T14:53:41 Unbreak Hangul jamo composition When we removed the separate Hangul shaper, the specific normalization preference of Hangul was lost. Fix that. Also, the Thai shaper was copied from Hangul, so had the fully-composed normalization behavior, which was unnecessary. So, fix that too.
Behdad Esfahbod 7afb1440 2012-07-30T13:54:46 [Indic] Recategorize Telugu length marks Fixes 8 more Telugu tests. Failures at 15 (0.00154548%).
Behdad Esfahbod f2377155 2012-07-30T10:50:57 [hb-old] Fix misc leaks Backport (forward-port?!) from upstream: commit 3ab7b37bdebf0f8773493a1fee910b151c4de30f Author: Behdad Esfahbod <behdad@behdad.org> Date: Mon Jul 30 10:50:22 2012 -0400 Fix misc leaks https://bugs.freedesktop.org/show_bug.cgi?id=31992 https://bugs.freedesktop.org/show_bug.cgi?id=31993 https://bugs.freedesktop.org/show_bug.cgi?id=31994 https://bugs.freedesktop.org/show_bug.cgi?id=31995
Behdad Esfahbod 3f4764bb 2012-07-30T10:06:42 Don't lock user_data set during destruction if empty
Behdad Esfahbod 4ba647ee 2012-07-30T09:53:06 Fix leak
Behdad Esfahbod f8603664 2012-07-30T02:38:39 [OT] Gain back some lost speed
Behdad Esfahbod 11f4c87d 2012-07-30T02:36:46 [OT] Remove hb_ot_layout_ensure() I didn't like it from the beginning.
Behdad Esfahbod 578e4218 2012-07-30T02:35:07 Minor
Behdad Esfahbod a973b5ce 2012-07-30T01:46:34 [GSUB] Further adjustments to mark-attachment vs ligation interaction The d1d69ec52e75a78575b620a1c456d528b6078170 change broke Kannada badly, since it was ligating consonants, pushing matra out, and then ligating with the matra. Adjust for that. See comments.
Behdad Esfahbod 0aef425e 2012-07-30T00:55:15 [GSUB] Minor
Behdad Esfahbod d1d69ec5 2012-07-30T00:51:47 [GSUB] Don't ligate glyphs attached to different components of ligatures This concludes the mark-attachment vs ligating interaction fixes (for now).
Behdad Esfahbod 4751dec8 2012-07-30T00:42:07 Minor
Behdad Esfahbod f24bcfbe 2012-07-30T00:39:00 Minor
Behdad Esfahbod fe20c0f8 2012-07-30T00:00:59 [GSUB] Fix mark component stuff when ligatures form ligatures! See comments. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=437633
Behdad Esfahbod 2ec3ba46 2012-07-29T22:02:24 [GSUB/GPOS] Minor Start squeezing more out of lig_id/lig_comp.
Behdad Esfahbod ef6e9cec 2012-07-29T21:35:22 Fixup bb0e4ba3e9c5a407fc5d73c914e429d24d336380
Behdad Esfahbod cb3d3406 2012-07-29T20:37:38 [GSUB] Don't set new lig_id on mark ligatures If two marks form a ligature, retain their previous lig_id, such that the mark ligature can attach to ligature components... Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676343 In fact, I noticed that we should not let ligatures form between glyphs coming from different components of a previous ligature. For example, if the sequence is: LAM,SHADDA,LAM,FATHA,HEH, the LAM,LAM,HEH form a ligature, putting SHADDA and FATHA next to eachother. However, it would be wrong to ligate them. Uniscribe has this bug also.
Behdad Esfahbod a15b70a8 2012-07-29T20:09:22 [hb-old] Fix cluster formation in RTL Unlike Uniscribe, hb-old returns glyphs in logical order, so the logic does not need to duplicated for RTL.
Behdad Esfahbod 8a7e70ef 2012-07-29T19:56:54 [Minor]
Behdad Esfahbod bb0e4ba3 2012-07-29T17:34:14 Minor
Behdad Esfahbod a00ad60b 2012-07-28T21:16:08 [Uniscribe] Remove hb_uniscribe_font_ensure() Wasn't a huge fan of putting the burden on the user. Just remove it and do what we've got to do transparently.
Behdad Esfahbod 5d874d56 2012-07-28T21:05:25 [GPOS] Fix mark-to-mark positioning when one of the marks is a ligature This commit: a3313e54008167e415b72c780ca7b9cda958d07e broke MarkMarkPos when one of the marks itself is a ligature. That regressed 26 Tibetan tests (up from zero!). Fix that. Tibetan back to zero.
Behdad Esfahbod 338fe662 2012-07-28T18:53:01 [GSUB] Minor
Behdad Esfahbod e6f7479f 2012-07-28T18:34:58 [GSUB] Simplify would-apply
Behdad Esfahbod dadede01 2012-07-28T18:03:20 Minor
Behdad Esfahbod 0b99429e 2012-07-28T17:31:01 [GSUB/GPOS] Add get_coverage() and use it to speed up main loop And use it to speed up the hotspot by checking coverage directly in the main loop, not 10 functions deep in. Gives me a solid 20% boost with Indic test suite. Less so for less lookup-intensive scenarios. Remove the "fast_path" hack from before.
Behdad Esfahbod 30ec9002 2012-07-28T17:25:20 Reject lookups with no subTable
Behdad Esfahbod 0981068b 2012-07-28T17:01:59 [GSUB/GPOS] Reject Context/ChainContext lookups with zero input
Behdad Esfahbod 2f87cebe 2012-07-27T04:02:38 Implement shape_plan caching Should give us some performance boost.
Behdad Esfahbod e9eb9503 2012-07-27T03:16:22 Add default_shaper_list to shape_plan
Behdad Esfahbod 3b7c4e27 2012-07-27T03:12:23 Don't fail choosing shaper on planning failure Shapers have a chance to reject a font in face shaper_data creation. No need to allow failing during planning.
Behdad Esfahbod cfe98826 2012-07-27T03:06:30 Add hb_ot_layout_ensure() and hb_uniscribe_font_ensure()
Behdad Esfahbod c5b668fb 2012-07-27T02:49:39 Choose one shaper per plan
Behdad Esfahbod e82061e8 2012-07-27T02:29:32 Move ot shaper completely to shape_plan
Behdad Esfahbod ea278d38 2012-07-27T02:12:28 Partially switch ot shaper to shape_plan
Behdad Esfahbod b6b7ba13 2012-07-27T01:26:11 Switch old and uniscribe backends to shape_plan
Behdad Esfahbod c32c096a 2012-07-27T01:13:53 Switch to shape_plan Not optimized yet. Eats babies. And no shaper uses the shape_plan.
Behdad Esfahbod 5b95c148 2012-07-26T23:46:53 Start implementing shape_plan
Behdad Esfahbod bd26b4d2 2012-07-26T22:05:39 Minor
Behdad Esfahbod 027857d0 2012-07-26T17:34:25 Start adding a unified shaper access infrastructure Add global shape_plan. Unused so far.
Behdad Esfahbod fa2dfcd5 2012-07-26T16:06:16 Fix visibility warnings with MinGW32
Jonathan Kew ac2085d4 2012-07-26T15:58:45 [CoreText] Ensure cluster indices in output buffer are non-decreasing. Does not provide Uniscribe-compatible results, but should at least avoid breaking hb-view due to out-of-order cluster values. For RTL runs, ensure cluster values are non-increasing (instead of non-decreasing).
Behdad Esfahbod 441d3bb7 2012-07-26T12:01:12 Minor
Behdad Esfahbod 2e7f2230 2012-07-25T19:30:15 [hb-old] Fix Arabic cursive positioning Backporting from upstream: commit b847f24ce855d24f6822bcd9c0006905e81b94d8 Author: Behdad Esfahbod <behdad@behdad.org> Date: Wed Jul 25 19:29:16 2012 -0400 [arabic] Fix Arabic cursive positioning This was clearly broken in testing. Who knows... Fixes for me. Test with a Nastaleeq font, or with Arabic Typesetting. Backporting from Chromium.
Behdad Esfahbod 9550a8c4 2012-07-25T19:22:57 [hb-old] Fixup not-enough-space handling
Behdad Esfahbod 91e721ea 2012-07-25T19:20:34 [hb-old] Fix clusters Unlike its "documentation", hb-old's log_clusters are, well, indeed logical, not visual. Fixup. Adapted / copied from hb-uniscribe.
Behdad Esfahbod a3313e54 2012-07-25T18:37:51 [GPOS] Fix MarkMarkPos applied to results of MultipleSubst This was broken as a result of 7b84c536c10ab90ed96a033d88e9ad232d46c5b8. As Khaled reported, MarkMark positioning was broken with glyphs resulting from a MultipleSubst. Fixed. Test with the ALLAH character in Amiri.
Behdad Esfahbod 35bdab3c 2012-07-25T11:59:52 Minor
Behdad Esfahbod 8fe4c740 2012-07-24T21:05:12 [hb-old] Add HarfBuzz.old shaper Choose using shaper name "old".