8b5bc141cd3a6bfcea3c91a882a630426876ceb3 |
|
24-Feb-2016 |
Behdad Esfahbod <behdad@behdad.org> |
Add get_nominal_glyph() and get_variation_glyph() instead of get_glyph() New API: - hb_font_get_nominal_glyph_func_t - hb_font_get_variation_glyph_func_t - hb_font_funcs_set_nominal_glyph_func() - hb_font_funcs_set_variation_glyph_func() - hb_font_get_nominal_glyph() - hb_font_get_variation_glyph() Deprecated API: - hb_font_get_glyph_func_t - hb_font_funcs_set_glyph_func() Clients that implement their own font-funcs are encouraged to replace their get_glyph() implementation with a get_nominal_glyph() and get_variation_glyph() pair. The variation version can assume that variation_selector argument is not zero.
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
49ef630936325b2e56a870fcef9aa8473a8f8526 |
|
05-Nov-2015 |
Behdad Esfahbod <behdad@behdad.org> |
Adjust the width of various spaces if font does not cover them See discussion here: https://github.com/behdad/harfbuzz/commit/81ef4f407d9c7bd98cf62cef951dc538b13442eb There's no way to disable this fallback, but I don't think it would be needed. Let's hope for the best! Fixes https://github.com/behdad/harfbuzz/issues/153
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
305d2fbf5a2db51447c8ed894a48a88896930673 |
|
21-Oct-2015 |
Behdad Esfahbod <behdad@behdad.org> |
Add HB_FALLTHROUGH Borrowed from https://bugzilla.mozilla.org/show_bug.cgi?id=1215411
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
9099e48e29fe5cfdf8566c8f1ba6ddc8c0799e7e |
|
07-Aug-2015 |
jfkthame <jfkthame@gmail.com> |
Don't rely on .cluster field in fallback_position Fixes tests/cluster. Fixes https://github.com/behdad/harfbuzz/pull/123
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
365576d246949f9d587e90cf0539dc0381e4d0a3 |
|
29-Jan-2015 |
Behdad Esfahbod <behdad@behdad.org> |
[layout] Allocate iters in the context Can be further optimized, but I think I didn't break anything. Saves another 3% off Roboto shaping.
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
514564f5444b8ad2f210b1e3d7d66378f7275317 |
|
29-Jan-2015 |
Behdad Esfahbod <behdad@behdad.org> |
[layout] Move skippy_iter setup from constructor into init()
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
b051be542a8945ec14b0192bbc285f3e1a78c8f1 |
|
29-Jan-2015 |
Behdad Esfahbod <behdad@behdad.org> |
[lookup] Add skippy_iter.reset() Towards reducing the cost of initializing skippy_iter()
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
696266981df5ef6c62ad0115133dad1d6c1d9acc |
|
29-Jan-2015 |
Behdad Esfahbod <behdad@behdad.org> |
[layout] Merge forward and backward iterators
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
8f3eebf7ee4005f9a8efaafcb7f4058cc0a3756e |
|
02-Aug-2014 |
Behdad Esfahbod <behdad@behdad.org> |
Make sure gsubgpos buffer vars are available during fallback_position Add buffer var allocation asserts to a few key places.
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
7cd33f230441093dbfb1fec48f8c580ee8d9ef71 |
|
17-Jul-2014 |
Behdad Esfahbod <behdad@behdad.org> |
Micro optimization
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
7627100f428ac0ec8509d961d368d2d25d8f0b6e |
|
11-Jul-2014 |
Behdad Esfahbod <behdad@behdad.org> |
Mark unsigned integer literals with the u suffix Simplifies hb_in_range() calls as the type can be inferred. The rest is obsessiveness, I admit.
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
5497a8a274a7066c0230c850baadef681785c8bb |
|
23-Dec-2013 |
Behdad Esfahbod <behdad@behdad.org> |
Cache various masks on the shape plan
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
02f909664fa24a7ccf7cf73d75d1d3426aaaae7d |
|
23-Dec-2013 |
Behdad Esfahbod <behdad@behdad.org> |
Minor correction to kern mask checking
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
6b03e3c724ec6cd255f4a323bf4aa7d8c93a056e |
|
27-Oct-2013 |
Behdad Esfahbod <behdad@behdad.org> |
Optimize fallback kerning Patch from Jonathan Kew. "These changes seem to yield a small but just-about-measurable improvement with old fonts that lack GPOS kerning."
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
0193649ce4ca78b8e2835a50bd51ee594cffe34e |
|
18-Oct-2013 |
Behdad Esfahbod <behdad@behdad.org> |
[otfallback] Don't shift down above-marks too much This seems to generate much better, almost-perfect, positioning for Arabic as well as Latin above marks.
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
dba9580237da788275b1ab5fe6be75c8a3f359b9 |
|
18-Oct-2013 |
Behdad Esfahbod <behdad@behdad.org> |
[otfallback] Never fallback-position a below-mark upwards Test with WinXP times.ttf and U+05D9,U+05B5.
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
8177da29ad07d8fa444ce07003fa65cd31a2776b |
|
18-Oct-2013 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
3ddf892b5328b74afb6e7d9da727d8771ca5d288 |
|
18-Oct-2013 |
Behdad Esfahbod <behdad@behdad.org> |
[otlayout] Renaming
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
bac1dd6a0ff4d4fae4254506d38ae662b7e9dda7 |
|
03-May-2013 |
Behdad Esfahbod <behdad@behdad.org> |
[OTLayout] Refactor a bit more
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
a8cf7b43fa795150ae3d42d64424bb6e0373d0b2 |
|
19-Mar-2013 |
Behdad Esfahbod <behdad@behdad.org> |
[Indic] Futher adjust ZWJ handling in Indic-like shapers After the Ngapi hackfest work, we were assuming that fonts won't use presentation features to choose specific forms (eg. conjuncts). As such, we were using auto-joiner behavior for such features. It proved to be troublesome as many fonts used presentation forms ('pres') for example to form conjuncts, which need to be disabled when a ZWJ is inserted. Two examples: U+0D2F,U+200D,U+0D4D,U+0D2F with kartika.ttf U+0995,U+09CD,U+200D,U+09B7 with vrinda.ttf What we do now is to never do magic to ZWJ during GSUB's main input match for Indic-style shapers. Note that backtrack/lookahead are still matched liberally, as is GPOS. This seems to be an acceptable compromise. As to the bug that initially started this work, that one needs to be fixed differently: Bug 58714 - Kannada u+0cb0 u+200d u+0ccd u+0c95 u+0cbe does not provide same results as Windows8 https://bugs.freedesktop.org/show_bug.cgi?id=58714 New numbers: BENGALI: 353689 out of 354188 tests passed. 499 failed (0.140886%) DEVANAGARI: 707305 out of 707394 tests passed. 89 failed (0.0125814%) GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) GURMUKHI: 60706 out of 60747 tests passed. 41 failed (0.067493%) KANNADA: 951030 out of 951913 tests passed. 883 failed (0.0927606%) KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) MALAYALAM: 1048102 out of 1048334 tests passed. 232 failed (0.0221304%) ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) SINHALA: 271666 out of 271847 tests passed. 181 failed (0.0665816%) TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%)
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
d46606e119b48dcca375d6313abd0f93ba5d09c3 |
|
21-Feb-2013 |
Behdad Esfahbod <behdad@behdad.org> |
Port TrueType-kerning to use skippy iterator It skips joiners and default ignorables now. Skips marks too, but only if there is proper GDEF classes for marks.
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
ba87b8fc89bf745068ccd19264a2631ea0904846 |
|
21-Feb-2013 |
Behdad Esfahbod <behdad@behdad.org> |
Move code around
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
0beb66e3a61ae8bb1fa66e54b1ff1abb2f8711e9 |
|
06-Dec-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Fix warnings
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
7e99e4f0740e47efda5882604954cb7d12700a4b |
|
14-Nov-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Reposition Lao marks Lao marks are center-aligned, unlike Thai ones.
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
c26a52fbe62e5ba4d0e1e2ba13bfb6ceb3f773dc |
|
05-Nov-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
f67917161bbe317a33d6407fbc62ebffcafe7154 |
|
06-Sep-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[OT] Do per-ligature-component fallback mark positioning With this in place, you can remove GDEF/GSUB/GPOS tables from Arabic fonts and still get per-component marks positioned on oh-yeah-fallback-formed LAM-ALEF ligatures with marks in between the LAM and ALEF. Now *that*'s pretty cool, if a bit anachronistic...
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
525c6855783a018d52867b9ece2ee90868ff1f91 |
|
06-Sep-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[OT] Make fallback mark positioning more robust ...with clusters spanning multiple base characters.
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
9433c218b4853442dd9ad53d0588a837a33dbf1e |
|
06-Sep-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[OT] Simplify fallback positioning condition
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
028a1706f898bfcee0d14acfba47ebe1de09f0c4 |
|
06-Sep-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Refactor common macro
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
1d581ec384bc1780995e32e1c44103af57596eda |
|
02-Sep-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[OT] Fallback-position ccc=0 Thai / Lao marks Not perfect, but so is fallback positioning in 2012...
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
3992b5ec4cb43d114d87ff7ee2b992bcf819c9cd |
|
02-Sep-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Move code around
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
5a7f18767a87a3f07269d0814f984a98f86ab852 |
|
31-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[OT] Better fallback-position Thai / Lao ccc!=0 marks
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
667218a5b134728863a318c73070f4e323590bbd |
|
27-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
30dd62251fcd04c2cbaa9b979d47ddbf62c6d460 |
|
27-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Only fallback-position glyphs if we have the ccc Previously, ccc=0 Thai / Lao marks were being mispositioned. Don't touch them.
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
e1ba62811a61afb046d349e578cd141363c7fb34 |
|
27-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Center unknown marks horizontally
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
daf13afb0801740dcc7900c4af190e24b80a05c0 |
|
10-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[OT] Implement fallback mark positioning for "double" combining marks
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
d345313104d9e3c8a8533ccdebd74e0648d0bee3 |
|
10-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[OT] Fix fallback mark positioning with left-to-right text Ouch!
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
56c9e7c004e802ddcb8c704346026f1d7a812f9f |
|
10-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Fill out combining class resetting for fallback shaping Thai/Lao/Tibetan
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
4c8ac4f47e95d2b266b2f64e75c55af8233b6b91 |
|
08-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Misc minor fixes
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|
9c929abdcfef44c0193a2917b20981df37ade21c |
|
08-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Minor renaming
/external/harfbuzz_ng/src/hb-ot-shape-fallback.cc
|