[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
** Changed in: cairo Status: Confirmed => Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/161058 Title: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) To manage notifications about this bug go to: https://bugs.launchpad.net/cairo/+bug/161058/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
Launchpad has imported 24 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=11838. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2007-08-03T17:44:33+00:00 B. Lin wrote: cairo behaves inconsistently on hintstyle and rgba settings. If specified in fonts.conf something like this: rgb hintfull cairo would respond to rgba but not to hintstyle; hintstyle can only be set via gtk( through gnome-settings-daemon). Although i don't know how to code, but after looking at the code (several times), i commented this out in cairo-ft-font.c (in function _cairo_ft_options_merge): if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT) and everything goes fine. Is this the right solution? Reply at: https://bugs.launchpad.net/cairo/+bug/161058/comments/0 On 2008-07-18T05:45:31+00:00 B. Lin wrote: Recently I've found a better fix. Set default hintstyle to "CAIRO_HINT_STYLE_DEFAULT"(which is new), and in the function _cairo_ft_options_merge, change if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT) options->base.hint_style = other->base.hint_style; to if (other->base.hint_style != CAIRO_HINT_STYLE_DEFAULT) options->base.hint_style = other->base.hint_style; This should give fair result, i.e., only if hintstyle is specified with fontconfig would the value configured with gnome-settings-daemon be overriden. Reply at: https://bugs.launchpad.net/cairo/+bug/161058/comments/6 On 2008-09-07T16:36:49+00:00 Bugs-freedesktop wrote: The rgba behavior is actually more complicated: With "echo Xft.rgba: rgb | xrdb -merge" and none, "pango-view -t 'fcgray antialias' --backend=cairo" renders with rgb subpixel antialiasing. "--backend=ft2" and "--backend=xft" render with gray antialiasing as expected. _cairo_ft_options_merge has some complex logic to decide which options on the scaled_font or on the cairo_ft_font_face (from the FcPattern) take priority in the way the font behaves. Assuming that surface options have already been set on the FcPattern with cairo_ft_font_options_substitute, it is not clear to me why options on the scaled_font should ever take priority over those from the pattern. If fontconfig has changed any options on the pattern then that is what the user (or distribution) wants. Is the logic in _cairo_ft_options_merge meant to protect against broken fontconfig settings? Some surfaces may be pretty keen to have CAIRO_HINT_STYLE_NONE. Also, maybe surfaces with depth 1 would like CAIRO_ANTIALIAS_NONE and gray surfaces don't need rgba antialiasing, but maybe changing the load flags based on the color support of the surface would produce some surprises with glyph outline changes. I wouldn't really see a problem with fontconfig settings always having the last say (bug 4792 comment 5). fontconfig settings should be able to achieve their goals without unconditionally setting hinting to true (as true is the default). Even if there are some special cases where surface options should take priority, I can't think why the surface should care what hintstyle is used once hinting is on. Similarly, I can't think why a color surface should care if the user asks for gray antialiasing on a font that doesn't hint well to reduce color fringing. I wonder whether a cairo_ft_scaled_font_create_for_pattern or cairo_font_options_merge_from_pattern API might be good so that the scaled_font can be created with the font_options that will be used, which would be useful in _cairo_scaled_font_keys_equal. But merely modifying _cairo_ft_options_merge could enable fontconfig settings even with the existing API. Reply at: https://bugs.launchpad.net/cairo/+bug/161058/comments/7 On 2008-09-15T15:35:19+00:00 Freedesktop wrote: I know I've been surprised by the logic in _cairo_ft_options_merge() before, but decided not to change it without fully understanding it. I'll look into this after 1.8. Feel free to ping. Reply at: https://bugs.launchpad.net/cairo/+bug/161058/comments/8 On 2008-10-10T14:55:53+00:00 Chris Wilson wrote: *** Bug 13335 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/cairo/+bug/161058/comments/11 On 2008-10-10T15:20:01+00:00 Chris Wilson wrote: *** Bug 4792 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/cairo/+bug/161058/comments/12 ---
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
** Package changed: fontconfig (Ubuntu) => cairo ** Changed in: cairo Status: Invalid => New ** Package changed: libcairo (Ubuntu) => cairo (Ubuntu) ** Bug watch added: freedesktop.org Bugzilla #11838 https://bugs.freedesktop.org/show_bug.cgi?id=11838 ** Changed in: cairo Importance: Medium => Unknown ** Changed in: cairo Status: New => Unknown ** Changed in: cairo Remote watch: None => freedesktop.org Bugzilla #11838 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/161058 Title: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) To manage notifications about this bug go to: https://bugs.launchpad.net/cairo/+bug/161058/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
** Changed in: fontconfig (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/161058 Title: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/161058/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
So should we close the fontconfig task? Please tell us! Thank you! ** Changed in: libcairo (Ubuntu) Status: New => Confirmed ** Changed in: fontconfig (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/161058 Title: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/161058/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
This is not a problem of FontConfig. Cairo (still in 10.04) just decides to ignore the hintstyle returned by FontConfig if desktop provides any other value. Rebuild of Cairo solves this problem. -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
Same problem in 9.10. Will this ever be fixed? ** Also affects: libcairo (Ubuntu) Importance: Undecided Status: New -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
I observe the same problem im 9.04. I mainly use kde which respects the per font setting of hintstyle in .fonts.conf . However any gnome app (e.g. gvim, gnome-terminal) ignores it. -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
** Changed in: fontconfig (Ubuntu) Sourcepackagename: xorg => fontconfig -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
** Description changed: I didn't fill out the package field, since this seems to be an interaction between multiple packages (gnome-setting-daemon, libgtk, libcairo, pango/cairo). In the 'Appearance' control app, under the font settings, I like to use 'Subpixel' and 'Full' hinting by default, since this looks good for most bundled fonts. However, there is occasionally a font (especially in the msttcorefonts package) that doesn't look good with these settings. So I want to override their rendering settings using .fonts.conf. My main tactic is to usually turn on the autohinter in 'hintslight' mode for certain fonts. Lets take Times new Roman as an example.. the .fonts.conf incantation to do this would be: Times New Roman true true hintslight The odd thing about this is that the 'autohint' and 'hinting' edits seem to work, but the 'hintstyle' edit is always overridden by the control applet's settings. I can verify this by launching gedit each time after tweaking these settings. "fc-match -v 'Times New Roman'" does return the right settings, so its something in the chain of gtk libraries that is messing it up. Interstingly, it's not all possible edit settings that are ignored. It seems to only be hintstyle. For example if I were to say: Times New Roman false - Then this works correctly. Only Times New Roman will be non-antialiased - even in gedit. Even setting "hinting" to "false" works.. its only the - hintstyle setting that doesn't work. + Then this works correctly. Only Times New Roman will be non-antialiased even in gedit. Even setting "hinting" to "false" works.. its only the hintstyle setting that doesn't work. + [lspci] + 00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 01) + Subsystem: VMware Inc Device [15ad:1976] + 00:0f.0 VGA compatible controller [0300]: VMware Inc Abstract SVGA II Adapter [15ad:0405] + Subsystem: VMware Inc Abstract SVGA II Adapter [15ad:0405] -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
I can also confirm this. The following snippet doesn't set the hinting to hintslight Consolas rgb false true true hintslight -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
I can also confirm this. The following snippet doesn't set the hinting to hintslight Consolas rgb false true true hintslight -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
Thanks puntium. ** Changed in: xorg (Ubuntu) Importance: Undecided => Medium Status: New => Confirmed -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
Just confirmed on 8.10 as well. It seems things have gotten slightly better. I wrote a simple ~/.fonts.conf: DejaVu Sans Mono hintfull fc-match -v "DejaVu Sans Mono" will always return me a result that is consistent with my fonts.conf. In Intrepid, the above setting *seems* to work as long as you never actually run the gnome appearance panel and manually change the hint settings. Once you do that, then all the settings get overridden again (even if I restart apps [i've been testing with gedit]) -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
reopening with requested output ** Changed in: xorg (Ubuntu) Status: Invalid => New -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
** Attachment added: "xorg log file" http://launchpadlibrarian.net/19106537/xorg.log -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
I'm running in a vm, so I doubt you'll see anything interesting. ** Attachment added: "lspci output" http://launchpadlibrarian.net/19106533/lspcioutput.txt -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help. ** Changed in: xorg (Ubuntu) Status: Incomplete => Invalid -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
Hi puntium, Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well. ** Changed in: xorg (Ubuntu) Status: New => Incomplete -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
** Changed in: xorg (Ubuntu) Sourcepackagename: None => xorg -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
Yes it's still there in 8.04. -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance. -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
puntium, I remove .fonts.conf, and it gets the setting in gnome-appearance- properties. -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
Tobias, what do you mean by cross checking with KDE? Qt's interaction with fontconfig and freetype is entirely different, and I don't really really think relevant to this discussion. I don't use KDE. Mingming, thanks for the interesting comment. If you apply this change, and you _don't_ specify a setting for a font in .fonts.conf, then does it get the setting in gnome-appearance-properties? The behaviour should be that gnome-appearance-properties specifies the default, and then users can use .fonts.conf to override this setting for particular fonts. -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
I have reported a same bug in libcairo Bug #209256, but no response. I'd like to render my fonts in different hintstyles. To be precise, I have chinese font and western language fonts. For the chinese font, I'd like it to be rendered in hintfull, but for other fonts, I'd prefer hintslight. Ok, I configured in the fontconfig file, but it didn't make any change. All the fonts are in the same hintstyle, depending on the configuration in gnome-appearance-properties. I googled for quite a long time and finally I got one solution. In the file cairo-ft-font.c, in function _cairo_ft_options_merge, just comment the following line: // if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT) and recompile, now everything works fine. The fonts are rendered according to the hintstyles configured in fontconfig. I don't know if this is really a bug of libcairo. If I'm wrong, please accept my apology. -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 161058] Re: some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style)
How about cross-checking with KDE or something similar? -- some ~/.fonts.conf settings do no override desktop-wide gnome settings (hinting style) https://bugs.launchpad.net/bugs/161058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs