Changeset 259533 in webkit
- Timestamp:
- Apr 4, 2020, 11:38:24 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/FontCascade.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r259532 r259533 1 2020-04-04 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Ahom text is busted 4 https://bugs.webkit.org/show_bug.cgi?id=209898 5 <rdar://problem/60571257> 6 7 Reviewed by Tim Horton. 8 9 https://en.wikipedia.org/wiki/Ahom_language 10 11 The Ahom language, U+11700 - U+1173F, requires the complex text codepath. 12 This patch also makes some languages adjacent in codepoint-space (Dogra, 13 Dives Akuru, Nandinagari, Zanabazar Square, Soyombo, Warang Citi, and 14 Pau Cin Hau) use the complex path too. 15 16 At some point, we really need to make the fast text codepath opt-in instead 17 of opt-out. This patch is a simple band-aid fix until we can do that. 18 19 No new tests because I can't find an appropriately licenced font. 20 There is Noto Serif Ahom, but that's licenced under SIL OFL, and I'm 21 not sure if that's an acceptable license to be committed to WebKit. 22 https://github.com/googlefonts/noto-fonts/tree/master/hinted/NotoSerifAhom 23 24 * platform/graphics/FontCascade.cpp: 25 (WebCore::FontCascade::characterRangeCodePath): 26 1 27 2020-04-04 Antti Koivisto <antti@apple.com> 2 28 -
trunk/Source/WebCore/platform/graphics/FontCascade.cpp
r256037 r259533 823 823 if (supplementaryCharacter < 0x116D0) // Takri 824 824 return Complex; 825 if (supplementaryCharacter < 0x11C00) 826 continue; 825 if (supplementaryCharacter < 0x11740) 826 continue; 827 if (supplementaryCharacter < 0x11C00) // Ahom, Dogra, Dives Akuru, Nandinagari, Zanabazar Square, Soyombo, Warang Citi, Pau Cin Hau 828 return Complex; 827 829 if (supplementaryCharacter < 0x11C70) // Bhaiksuki 828 830 return Complex;
Note:
See TracChangeset
for help on using the changeset viewer.