-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsystem-cairo.patch
More file actions
24 lines (21 loc) · 1.37 KB
/
system-cairo.patch
File metadata and controls
24 lines (21 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/gfx/2d/ScaledFontFontconfig.cpp~ 2018-03-22 21:46:41.000000000 +0100
+++ mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/gfx/2d/ScaledFontFontconfig.cpp 2018-03-31 12:33:56.794222766 +0200
@@ -397,7 +397,7 @@
FcPatternAddDouble(pattern, FC_PIXEL_SIZE, aSize);
aInstanceData.SetupPattern(pattern);
- cairo_font_face_t* font = cairo_ft_font_face_create_for_pattern(pattern, nullptr, 0);
+ cairo_font_face_t* font = cairo_ft_font_face_create_for_pattern(pattern);
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