Title: [239768] trunk/Source/WebCore
Revision
239768
Author
[email protected]
Date
2019-01-09 04:39:25 -0800 (Wed, 09 Jan 2019)

Log Message

REGRESSION(r239156): [FreeType] fixed width, and synthetic bold/italic not correctly applied since r239156
https://bugs.webkit.org/show_bug.cgi?id=193276

Reviewed by Žan Doberšek.

FontCache::createFontPlatformData() is calling getFontPropertiesFromPattern() with the configure pattern instead
of the result one after the match.

* platform/graphics/freetype/FontCacheFreeType.cpp:
(WebCore::FontCache::createFontPlatformData):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (239767 => 239768)


--- trunk/Source/WebCore/ChangeLog	2019-01-09 10:59:45 UTC (rev 239767)
+++ trunk/Source/WebCore/ChangeLog	2019-01-09 12:39:25 UTC (rev 239768)
@@ -1,3 +1,16 @@
+2019-01-09  Carlos Garcia Campos  <[email protected]>
+
+        REGRESSION(r239156): [FreeType] fixed width, and synthetic bold/italic not correctly applied since r239156
+        https://bugs.webkit.org/show_bug.cgi?id=193276
+
+        Reviewed by Žan Doberšek.
+
+        FontCache::createFontPlatformData() is calling getFontPropertiesFromPattern() with the configure pattern instead
+        of the result one after the match.
+
+        * platform/graphics/freetype/FontCacheFreeType.cpp:
+        (WebCore::FontCache::createFontPlatformData):
+
 2019-01-08  Dean Jackson  <[email protected]>
 
         Blob references for System Previews don't get a correct file extension

Modified: trunk/Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp (239767 => 239768)


--- trunk/Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp	2019-01-09 10:59:45 UTC (rev 239767)
+++ trunk/Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp	2019-01-09 12:39:25 UTC (rev 239768)
@@ -429,7 +429,7 @@
         return nullptr;
 
     bool fixedWidth, syntheticBold, syntheticOblique;
-    getFontPropertiesFromPattern(pattern.get(), fontDescription, fixedWidth, syntheticBold, syntheticOblique);
+    getFontPropertiesFromPattern(resultPattern.get(), fontDescription, fixedWidth, syntheticBold, syntheticOblique);
 
     RefPtr<cairo_font_face_t> fontFace = adoptRef(cairo_ft_font_face_create_for_pattern(resultPattern.get()));
 #if ENABLE(VARIATION_FONTS)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to