Changeset 215366 in webkit
- Timestamp:
- Apr 14, 2017 10:57:26 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PerformanceTests/ChangeLog
r214828 r215366 1 2017-04-14 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Add performance test for asking the platform for a font for U+2060 WORD JOINER 4 https://bugs.webkit.org/show_bug.cgi?id=170842 5 6 Reviewed by Tim Horton. 7 8 * Layout/word-joiner.html: Added. 9 1 10 2017-04-03 Saam Barati <sbarati@apple.com> 2 11 -
trunk/Source/WTF/ChangeLog
r215359 r215366 1 2017-04-14 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Add performance test for asking the platform for a font for U+2060 WORD JOINER 4 https://bugs.webkit.org/show_bug.cgi?id=170842 5 6 Reviewed by Tim Horton. 7 8 * wtf/unicode/CharacterNames.h: 9 1 10 2017-04-13 Yusuke Suzuki <utatane.tea@gmail.com> 2 11 -
trunk/Source/WTF/wtf/unicode/CharacterNames.h
r205826 r215366 93 93 const UChar whiteSesameDot = 0xFE46; 94 94 const UChar whiteUpPointingTriangle = 0x25B3; 95 const UChar wordJoiner = 0x2060; 95 96 const UChar yenSign = 0x00A5; 96 97 const UChar zeroWidthJoiner = 0x200D; … … 155 156 using WTF::Unicode::whiteSesameDot; 156 157 using WTF::Unicode::whiteUpPointingTriangle; 158 using WTF::Unicode::wordJoiner; 157 159 using WTF::Unicode::yenSign; 158 160 using WTF::Unicode::zeroWidthJoiner; -
trunk/Source/WebCore/ChangeLog
r215364 r215366 1 2017-04-14 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Add performance test for asking the platform for a font for U+2060 WORD JOINER 4 https://bugs.webkit.org/show_bug.cgi?id=170842 5 6 Reviewed by Tim Horton. 7 8 No new tests because there is no behavior change. 9 10 * platform/graphics/WidthCache.h: 11 (WebCore::WidthCache::add): 12 (WebCore::WidthCache::addSlowCase): 13 1 14 2017-04-14 Ryan Haddad <ryanhaddad@apple.com> 2 15 -
trunk/Source/WebCore/platform/graphics/WidthCache.h
r213214 r215366 141 141 // The width cache is not really profitable unless we're doing expensive glyph transformations. 142 142 if (!hasKerningOrLigatures) 143 return 0;143 return nullptr; 144 144 // Word spacing and letter spacing can change the width of a word. 145 145 if (hasWordSpacingOrLetterSpacing) 146 return 0;146 return nullptr; 147 147 // Since this is just a width cache, we don't have enough information to satisfy glyph queries. 148 148 if (glyphOverflow) 149 return 0;149 return nullptr; 150 150 // If we allow tabs and a tab occurs inside a word, the width of the word varies based on its position on the line. 151 151 if (run.allowTabs()) 152 return 0;152 return nullptr; 153 153 if (static_cast<unsigned>(run.length()) > SmallStringKey::capacity()) 154 return 0;154 return nullptr; 155 155 156 156 if (m_countdown > 0) { 157 157 --m_countdown; 158 return 0;158 return nullptr; 159 159 } 160 160 … … 208 208 m_singleCharMap.clear(); 209 209 m_map.clear(); 210 return 0;210 return nullptr; 211 211 } 212 212
Note: See TracChangeset
for help on using the changeset viewer.