]> git.pld-linux.org Git - packages/firefox.git/blame - system-cairo.patch
- do not redefine double_t from glibc math.h
[packages/firefox.git] / system-cairo.patch
CommitLineData
7e66b98e
JR
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);
bd607d2e
JR
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.0288 seconds and 4 git commands to generate.