Changeset 239539 in webkit
- Timestamp:
- Dec 22, 2018 4:33:52 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r239535 r239539 1 2018-12-22 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [HarfBuzz] Width not correctly reported as 0 for zero font size 4 https://bugs.webkit.org/show_bug.cgi?id=192986 5 6 Reviewed by Michael Catanzaro. 7 8 Fixes test fast/text/font-size-zero.html 9 10 * platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp: 11 (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun): Use empty advances for glyphs when the font 12 size is zero. 13 1 14 2018-12-20 Yusuke Suzuki <yusukesuzuki@slowstart.org> 2 15 -
trunk/Source/WebCore/platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp
r239427 r239539 157 157 158 158 uint16_t glyph = glyphInfos[i].codepoint; 159 if (m_font.isZeroWidthSpaceGlyph(glyph) ) {159 if (m_font.isZeroWidthSpaceGlyph(glyph) || !m_font.platformData().size()) { 160 160 m_glyphs[i] = glyph; 161 161 m_baseAdvances[i] = { };
Note: See TracChangeset
for help on using the changeset viewer.