Contents of /trunk/cairo/patches/cairo-1.17.8-respect-fontconfig.patch
Parent Directory | Revision Log
Revision 3773 -
(show annotations)
(download)
Mon Sep 4 13:26:34 2023 UTC (9 months ago) by niro
File size: 538 byte(s)
Mon Sep 4 13:26:34 2023 UTC (9 months ago) by niro
File size: 538 byte(s)
-some fixes
1 | --- cairo-1.7.6-orig/src/cairo-ft-font.c 2008-09-29 21:43:13.000000000 +0100 |
2 | +++ cairo-1.7.6/src/cairo-ft-font.c 2008-09-29 21:52:19.000000000 +0100 |
3 | @@ -1705,7 +1705,9 @@ |
4 | options->base.subpixel_order = other->base.subpixel_order; |
5 | } |
6 | |
7 | - if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT) |
8 | + options->base.hint_style = CAIRO_HINT_STYLE_DEFAULT; |
9 | + |
10 | + if (other->base.hint_style != CAIRO_HINT_STYLE_DEFAULT) |
11 | options->base.hint_style = other->base.hint_style; |
12 | |
13 | if (other->base.hint_style == CAIRO_HINT_STYLE_NONE) |