From bd607d2e1db3c9da60e3139ad4ab836fb5eaab9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sat, 31 Mar 2018 13:14:58 +0200 Subject: [PATCH] - more cairo fixes --- system-cairo.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/system-cairo.patch b/system-cairo.patch index 930053a..1534f2a 100644 --- a/system-cairo.patch +++ b/system-cairo.patch @@ -9,3 +9,16 @@ if (cairo_font_face_status(font) != CAIRO_STATUS_SUCCESS) { gfxWarning() << "Failed creating Cairo font face for Fontconfig pattern"; FcPatternDestroy(pattern); +--- mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/gfx/thebes/gfxFcPlatformFontList.cpp~ 2018-03-22 21:46:41.000000000 +0100 ++++ mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/gfx/thebes/gfxFcPlatformFontList.cpp 2018-03-31 13:14:40.191812247 +0200 +@@ -728,9 +728,7 @@ + } + + cairo_font_face_t *face = +- cairo_ft_font_face_create_for_pattern(aRenderPattern, +- coords.Elements(), +- coords.Length()); ++ cairo_ft_font_face_create_for_pattern(aRenderPattern); + + if (mFontData) { + // for data fonts, add the face/data pointer to the cairo font face -- 2.43.0