Title: [241012] trunk/Source/WebCore
Revision
241012
Author
[email protected]
Date
2019-02-05 23:54:43 -0800 (Tue, 05 Feb 2019)

Log Message

[FreeType] Build fix for Debian stable

Unreviewed build fix.

Debian stable currently has a version of fontconfig that doesn't
yet have FC_COLOR. #ifdef its use to fix the build.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (241011 => 241012)


--- trunk/Source/WebCore/ChangeLog	2019-02-06 06:54:43 UTC (rev 241011)
+++ trunk/Source/WebCore/ChangeLog	2019-02-06 07:54:43 UTC (rev 241012)
@@ -1,3 +1,15 @@
+2019-02-05  Claudio Saavedra  <[email protected]>
+
+        [FreeType] Build fix for Debian stable
+
+        Unreviewed build fix.
+
+        Debian stable currently has a version of fontconfig that doesn't
+        yet have FC_COLOR. #ifdef its use to fix the build.
+
+        * platform/graphics/freetype/FontCacheFreeType.cpp:
+        (WebCore::FontCache::systemFallbackForCharacters):
+
 2019-02-05  Alex Christensen  <[email protected]>
 
         Stop using blobRegistry in NetworkProcess

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


--- trunk/Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp	2019-02-06 06:54:43 UTC (rev 241011)
+++ trunk/Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp	2019-02-06 07:54:43 UTC (rev 241012)
@@ -132,8 +132,10 @@
     FcPatternAddCharSet(pattern.get(), FC_CHARSET, fontConfigCharSet.get());
 
     FcPatternAddBool(pattern.get(), FC_SCALABLE, FcTrue);
+#ifdef FC_COLOR
     if (preferColoredFont == PreferColoredFont::Yes)
         FcPatternAddBool(pattern.get(), FC_COLOR, FcTrue);
+#endif
 
     if (!configurePatternForFontDescription(pattern.get(), description))
         return nullptr;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to