[Cairo] CairoGlyphToPathTranslator::path() shouldn't fill out the glyph path
[WebKit-https.git] / Source / WebCore / platform / graphics / cairo / FontCairo.cpp
index 87b8fb8..1f6018e 100644 (file)
@@ -253,7 +253,7 @@ Path CairoGlyphToPathTranslator::path()
     float syntheticBoldOffset = m_fontData->syntheticBoldOffset();
     if (syntheticBoldOffset) {
         cairo_translate(path.platformPath()->context(), syntheticBoldOffset, 0);
-        cairo_show_glyphs(path.platformPath()->context(), &cairoGlyph, 1);
+        cairo_glyph_path(path.platformPath()->context(), &cairoGlyph, 1);
     }
 
     path.transform(m_translation);