[Cairo] CairoGlyphToPathTranslator::path() shouldn't fill out the glyph path
[WebKit-https.git] / Source / WebCore / ChangeLog
index d8f88aa..f1a55f7 100644 (file)
@@ -1,3 +1,20 @@
+2017-11-06  Zan Dobersek  <zdobersek@igalia.com>
+
+        [Cairo] CairoGlyphToPathTranslator::path() shouldn't fill out the glyph path
+        https://bugs.webkit.org/show_bug.cgi?id=179159
+
+        Reviewed by Michael Catanzaro.
+
+        In case of non-zero synthetic bold offset in CairoGlyphToPathTranslator::path(),
+        cairo_glyph_path() should be called just like in the generic case.
+        cairo_show_glyphs() performs the actual rasterization of the glyph, but we're
+        only interested in the generated path operations.
+
+        No new tests -- covered by existing tests.
+
+        * platform/graphics/cairo/FontCairo.cpp:
+        (WebCore::CairoGlyphToPathTranslator::path):
+
 2017-11-05  Fujii Hironori  <Hironori.Fujii@sony.com>
 
         [WinCairo] Fix build after r224463