- more cairo fixes
[packages/firefox.git] / system-cairo.patch
1 --- mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/gfx/2d/ScaledFontFontconfig.cpp~   2018-03-22 21:46:41.000000000 +0100
2 +++ mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/gfx/2d/ScaledFontFontconfig.cpp    2018-03-31 12:33:56.794222766 +0200
3 @@ -397,7 +397,7 @@
4    FcPatternAddDouble(pattern, FC_PIXEL_SIZE, aSize);
5    aInstanceData.SetupPattern(pattern);
6  
7 -  cairo_font_face_t* font = cairo_ft_font_face_create_for_pattern(pattern, nullptr, 0);
8 +  cairo_font_face_t* font = cairo_ft_font_face_create_for_pattern(pattern);
9    if (cairo_font_face_status(font) != CAIRO_STATUS_SUCCESS) {
10      gfxWarning() << "Failed creating Cairo font face for Fontconfig pattern";
11      FcPatternDestroy(pattern);
12 --- mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/gfx/thebes/gfxFcPlatformFontList.cpp~      2018-03-22 21:46:41.000000000 +0100
13 +++ mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/gfx/thebes/gfxFcPlatformFontList.cpp       2018-03-31 13:14:40.191812247 +0200
14 @@ -728,9 +728,7 @@
15      }
16  
17      cairo_font_face_t *face =
18 -        cairo_ft_font_face_create_for_pattern(aRenderPattern,
19 -                                              coords.Elements(),
20 -                                              coords.Length());
21 +        cairo_ft_font_face_create_for_pattern(aRenderPattern);
22  
23      if (mFontData) {
24          // for data fonts, add the face/data pointer to the cairo font face
This page took 0.037227 seconds and 4 git commands to generate.