6e74c64211b6aaac48bae8c87f9420d8dc03fd93 |
|
11-Feb-2013 |
Behdad Esfahbod <behdad@behdad.org> |
Improve normalization heuristic Before, for most scripts, we were not trying to recompose two characters if the second one had ccc=0. That fails for Myanmar where U+1026 decomposes to U+1025,U+102E, both of which have ccc=0. However, we do want to try to recompose those. We now check whether the second is a mark, using general category instead. At the same time, remove optimization that was conflicting with this. [Let the Ngapi hackfest begin!]
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
eba312c8d1b2bbe8cb9b6414e843e78d2c521aa4 |
|
16-Nov-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Plumbing to get shape plan and font into complex decompose function So we can handle Sinhala split matras smartly... Coming soon.
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
0736915b8ed789a209205fec762997af3a8af89c |
|
13-Nov-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[Indic] Decompose Sinhala split matras the way old HarfBuzz / Pango did Had to do some refactoring to make this happen... Under uniscribe bug compatibility mode, we still plit them Uniscrie-style, but Jonathan and I convinced ourselves that there is no harm doing this the Unicode way. This change makes that happen, and unbreaks free Sinhala fonts.
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
028a1706f898bfcee0d14acfba47ebe1de09f0c4 |
|
06-Sep-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Refactor common macro
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
b85800f9de8976a7418ef9df467d3080c6ab0199 |
|
01-Sep-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[Indic] Implement dotted-circle insertion for broken clusters No panic, we reeally insert dotted circle when it's absolutely broken. Fixes most of the dotted-circle cases against Uniscribe. (for Devanagari fixes 80% of them, for Khmer 70%; the rest look like Uniscribe being really bogus...) I had to make a decision. Apparently Uniscribe adds one dotted circle to each broken character. I tried that, but that goes wrong easily with split matras. So I made it add only one dotted circle to an entire broken syllable tail. As in: "if there was a dotted circle here, this would have formed a correct cluster." That works better for split stuff, and I like it more.
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
f4cb4762986a28634fa7de9b706f9d37859b881e |
|
10-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[OT] Slightly adjust normalizer The change is very subtle. If we have a single-char cluster that decomposes to three or more characters, then try recomposition, in case the farther mark may compose with the base.
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
07d682806349aee81f53114778ce0beb23909ed7 |
|
10-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
b00321ea78793d9b3592b5173a9800e6322424fe |
|
10-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[OT] Avoid calling get_glyph() twice Essentially move the glyph mapping to normalization process. The effect on Devanagari is small (but observable). Should be more observable in simple text, like ASCII.
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
8d1eef3f32fb539de2a72804fa3834acc18daab5 |
|
10-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
0f8881d6bbf6cd59938315eeff9b71cfc736aa4e |
|
07-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
More refactoring
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
428dfcab6634ff264570a0a5d715efb8048c3db5 |
|
07-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Minor refactoring
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
8fbfda920e0b3bb4ab7afb732826026964b79be9 |
|
02-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Inline font getters
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
208f70f0553d73d2908b21b9552298029482a8b9 |
|
01-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Inline Unicode callbacks internally
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
84186a64004e5dcd2ce98b564d0e0a09aa5d68b2 |
|
01-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Add commentary on the compatibility decomposition in the normalizer
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
378d279bbf692195c4654e312dae854ab3be04cf |
|
01-Aug-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Implement Unicode compatibility decompositions Based on patch from Philip Withnall. https://bugs.freedesktop.org/show_bug.cgi?id=41095
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
bc8357ea7b4c0d7c715aae353176434fb9460205 |
|
09-Jun-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Merge clusters during normalization
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
0594a2448440208efa0acac9a5d8d52d43108289 |
|
06-Jun-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Cleanup TRUE/FALSE vs true/false
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
9f377ed3210fe7d9f15e0c4f82020556f9a8f6f0 |
|
13-May-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Fix more unused-var warnings
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
99c2695759a6af855d565f4994bbdf220570bb48 |
|
13-May-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Add accessort to buffer for current info, current pos, and prev info
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
d1deaa2f5bd028e8076265cba92cffa4fa2834ac |
|
09-May-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Replace zerowidth invisible chars with a zero-advance space glyph Like Uniscribe does.
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
29a7e306e30e894f7a38daf73eca9fc772c58158 |
|
24-Apr-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
683b503f30bba29d57a93d7e8ac7138c2e7f49f1 |
|
15-Apr-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
968318455304804dc53045e8ba0cd4d76800c02d |
|
07-Apr-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Implement normalization mode HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_FULL In this mode we try composing CCC=0 with CCC=0 characters. Useful for Hangul.
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
bec2ac4fde1ba0dd6dba02adbb836ce569a5cf6f |
|
07-Apr-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Bring normalization algorithm closer to the spec No logical difference so far.
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
e02d9257863b49e33ab5942971266349d3c548f6 |
|
07-Apr-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Flip logic around
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
11138ccff71f442da1fcf64faa0e1d22e083e775 |
|
05-Apr-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Add normalize mode In preparation for Hangul shaper.
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
6769f21d579a354e32577ec57348e97d2cb1b438 |
|
05-Apr-2012 |
Behdad Esfahbod <behdad@behdad.org> |
More moving code around
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
e3b2e077f549b04779c08a9fedb1f35b9f11075c |
|
07-Mar-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Typo
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
c346671b6b9b05fa51b95c16212eb29ac69510fa |
|
07-Mar-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Minor doc fixes
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
af913c5788e600e36d29f44fe4e77db84cf8c442 |
|
17-Oct-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Fix infinite loop in normalization code with variation selectors Reported by Jonathan Kew.
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
55deff7595ef357d000fef83559c74c9f8acad00 |
|
28-Sep-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Add comments
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
947c9a778c0d4b428b58806f98c34ede59b7439c |
|
16-Sep-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
36b10f58cc70ce9570d17b30616f9cb27423e03b |
|
15-Sep-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
c605bbbb6d4b2a98b1f40ca818760088d991f7d1 |
|
05-Aug-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Remove C++ guards from source files Where causing issues for people with MSVC.
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
45d6f29f15f1d2323bcaa2498aed23ff0c8a1567 |
|
30-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
[Indic] Reorder matras Number of failing shape-complex tests goes from 125 down to 94. Next: Add Ra handling and it's fair to say we kinda support Indic :).
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
c311d852080b50ffc85e80168de62abb05a6be59 |
|
24-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Keep Unicode props updated as we go so we avoid a scan later
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
5389ff4dbc46c76c9483e3c95f22524b60e21166 |
|
23-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Implement the Unicode Canonical Composition algorithm Fallback normalization is complete and working now!
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
dcdc51cdc0ba9d9fb75f84dd5fa7a49aa0b24ea0 |
|
22-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Handle singleton decompositions
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
34c22f816808d061a980cffca12de03beb437fa0 |
|
22-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Implement Unicode Canonical Reordering Algorithm
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
4ff0d2d9dfc4f7e4880a4e964ca9872624508ea0 |
|
22-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Decomposition works now!
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
468e9cb25c9bc14781b7013e447d763f93bf76a3 |
|
22-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Move buffer methods into the object
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
45412523dc295cb5ee12e096bfacb282cc925843 |
|
22-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
More normalization kick
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
5d90a342e319068716429bf7af76c3896b61a0e5 |
|
21-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Document normalization design
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
d6b9c6d20041b4f4fa11befc179aee757c41904d |
|
21-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
More kicking
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
192445aef2e50087049243ce54ce7059ec441ffa |
|
21-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Remove intermittent_glyph() Lets not worry about performance for now...
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
5c6f5982d78e2d7fadc2fbb8b4f3a4be9420c59a |
|
21-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Towards normalization
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|
655586fe5e1fadf2a2ef7826e61ee9a445ffa37a |
|
21-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Towards normalization
/external/harfbuzz_ng/src/hb-ot-shape-normalize.cc
|