Bugzilla – Attachment 23125 Details for
Bug 11838
hintstyle specified in fontconfig is ignored while rgba is respected sometimes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for cairo-ft-font.c
hintstyle.patch (text/plain), 994 bytes, created by
ZHANG Yi
on 2009-02-20 00:54:57 UTC
(
hide
)
Description:
patch for cairo-ft-font.c
Filename:
MIME Type:
Creator:
ZHANG Yi
Created:
2009-02-20 00:54:57 UTC
Size:
994 bytes
patch
obsolete
>diff -Nur cairo-1.8.6.orig/src/cairo-ft-font.c cairo-1.8.6/src/cairo-ft-font.c >--- cairo-1.8.6.orig/src/cairo-ft-font.c 2008-12-12 20:48:04.000000000 +0800 >+++ cairo-1.8.6/src/cairo-ft-font.c 2009-02-20 14:56:57.000000000 +0800 >@@ -1448,8 +1448,15 @@ > if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT) > options->base.hint_style = other->base.hint_style; > >- if (other->base.hint_style == CAIRO_HINT_STYLE_NONE) >- options->base.hint_style = CAIRO_HINT_STYLE_NONE; >+ //if (other->base.hint_style == CAIRO_HINT_STYLE_NONE) >+ //options->base.hint_style = CAIRO_HINT_STYLE_NONE; >+ >+ if (other->base.hint_style == CAIRO_HINT_STYLE_NONE || >+ other->base.hint_style == CAIRO_HINT_STYLE_SLIGHT || >+ other->base.hint_style == CAIRO_HINT_STYLE_MEDIUM || >+ other->base.hint_style == CAIRO_HINT_STYLE_FULL) { >+ options->base.hint_style = other->base.hint_style; >+ } > > if (options->base.antialias == CAIRO_ANTIALIAS_NONE) { > if (options->base.hint_style == CAIRO_HINT_STYLE_NONE)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
|
Splinter Review
Attachments on
bug 11838
: 23125 |
34511
|
37489
|
42713
|
42714
|
109191
|
111193
Use of freedesktop.org services, including Bugzilla, is subject to our
Code of Conduct
.