[Bug 781631] New: Verdana font rendering turned bad
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c0 Summary: Verdana font rendering turned bad Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: jengelh@inai.de QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: Beta-Customer Blocker: --- When updating from 12.1 -> 12.2, font rendering changed for Verdana for the worse. Please revert this. --- fonts-12.1/suse-hinting.conf 2011-05-15 15:33:15.000000000 +0200 +++ fonts-12.2/conf.d/11-suse-hinting.conf 2012-08-15 13:20:49.000000000 +0200 @@ -121,14 +106,15 @@ --> <match target="font"> <test name="fontformat"> <string>TrueType</string> </test> <test name="family"> + <string>Verdana</string> <string>MS Gothic</string> <string>MS PGothic</string> <string>MS UI Gothic</string> <string>MS Mincho</string> <string>MS PMincho</string> <string>HGPSoeiKakupoptai</string> <string>HGSGothicE</string> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c1 --- Comment #1 from Jan Engelhardt <jengelh@inai.de> 2012-09-22 07:36:24 CEST --- Created an attachment (id=506651) --> (http://bugzilla.novell.com/attachment.cgi?id=506651) screenshot Left side shows a 12.1 instance of a certain webpage using Verdana font in firefox in a VNC box, right side is local 12.2 firefox. The 12.2 one has signifcantly less clarity. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-xorg-bugs@forge.pr |pgajdos@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c2 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jengelh@inai.de --- Comment #2 from Stefan Dirsch <sndirsch@suse.com> 2012-09-24 10:12:59 UTC --- Please attach the output of "fc-match -v Verdana" before *and* after your change *seperately*. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c3 --- Comment #3 from Jan Engelhardt <jengelh@inai.de> 2012-09-24 12:31:36 CEST --- Created an attachment (id=506735) --> (http://bugzilla.novell.com/attachment.cgi?id=506735) fc-match -v Verdana, in the 12.1 style -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c4 --- Comment #4 from Jan Engelhardt <jengelh@inai.de> 2012-09-24 12:32:14 CEST --- Created an attachment (id=506736) --> (http://bugzilla.novell.com/attachment.cgi?id=506736) fc-match -v Verdana, in the unfixed 12.2 style -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c5 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jengelh@inai.de | --- Comment #5 from Jan Engelhardt <jengelh@inai.de> 2012-09-24 12:32:41 CEST --- Summary. --- verdana-ok.txt 2012-09-24 12:28:54.718681011 +0200 +++ verdana-bad.txt 2012-09-24 12:29:15.638419478 +0200 @@ -12,10 +12,10 @@ Pattern has 30 elts (size 32) pixelsize: 12.5(f)(s) foundry: "microsoft"(s) antialias: FcTrue(s) - hintstyle: 3(i)(w) + hintstyle: 1(i)(w) hinting: FcTrue(s) verticallayout: FcFalse(s) - autohint: FcFalse(w) + autohint: FcTrue(w) globaladvance: FcTrue(s) file: "/usr/share/fonts/truetype/verdana.ttf"(s) index: 0(i)(s) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c6 --- Comment #6 from Jan Engelhardt <jengelh@inai.de> 2012-09-24 12:39:57 CEST --- I have also tried the following two configurations: #ok hintstyle: 3(i)(w) hinting: FcTrue(s) autohint: FcFalse(w) #bad hintstyle: 3(i)(w) hinting: FcTrue(s) autohint: FcTrue(w) and came to the conclusion that "hintstyle" is completely ignored when autohint=true. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c7 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@suse.com --- Comment #7 from Stefan Dirsch <sndirsch@suse.com> 2012-09-24 10:47:26 UTC --- Thanks. hintstyle with autohinter is set from hintfull (BCI) to hintslight due to the general rule in 16-suse-hintstyle.conf. Not sure why Peter switched from BCI to autohinter for Verdana. Maybe we can get better results with BCI/hintstyle=hintslight or autohinter/hintstyle=hintfull (unlikely). You can give it a try. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c8 --- Comment #8 from Stefan Dirsch <sndirsch@suse.com> 2012-09-24 10:56:12 UTC --- Seems this has already been discussed in bnc#737215. Too bad, that this bugnumber hasn't been mentioned in the RPM changelog. :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c9 --- Comment #9 from Petr Gajdos <pgajdos@suse.com> 2012-09-24 11:02:43 UTC --- It depends not only on matter of taste, but also on monitor, fontsize, etc. Looking on your screenshots, I agree that e. g. some parts of 'n' or 'u' are blurred with hintslight ("bad" for you). Nevertheless, oblique parts of 'k' is rendered too thin for hintfull and may lead to no black pixel for smaller sizes. Also, "US-Wahlkampf" heading is looking much better with hitslight. Nevertheless, because 3 (Jan Matejek, Jan Engelhardt, Wolfgang) > 1 (Gordon), I have reverted the change for Verdana (see bug 737215) in M17N/fontconfig. Note that this holds fontconfig 2.10.0. Is maintenance update needed? (In reply to comment #6)
I have also tried the following two configurations:
#ok hintstyle: 3(i)(w) hinting: FcTrue(s) autohint: FcFalse(w)
#bad hintstyle: 3(i)(w) hinting: FcTrue(s) autohint: FcTrue(w)
and came to the conclusion that "hintstyle" is completely ignored when autohint=true.
Why? autohint and BCI are completely different algorithms. hintstyle is degree of thoroughness of the algorithm as far as I know. To my understanding, it can or it can not have visible impact on rendered font. It depends, again of many inputs (font, monitor, etc.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c10 --- Comment #10 from Petr Gajdos <pgajdos@suse.com> 2012-09-24 11:03:46 UTC --- (In reply to comment #8)
bugnumber hasn't been mentioned in the RPM changelog. :-(
Yes, it is really bad, sorry for that. I have missed it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c11 --- Comment #11 from Jan Engelhardt <jengelh@inai.de> 2012-09-24 13:33:07 CEST --- Do we have some sort of GUI application to showcase fonts, and how they look in different hint/alias/etc. styles next to one another? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c12 --- Comment #12 from Petr Gajdos <pgajdos@suse.com> 2012-09-24 12:02:15 UTC --- (In reply to comment #11)
Do we have some sort of GUI application to showcase fonts, and how they look in different hint/alias/etc. styles next to one another?
https://bugzilla.novell.com/show_bug.cgi?id=737215#c29 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c13 --- Comment #13 from Stefan Dirsch <sndirsch@suse.com> 2012-09-24 12:17:30 UTC --- (In reply to comment #11)
Do we have some sort of GUI application to showcase fonts, and how they look in different hint/alias/etc. styles next to one another?
gucharmap/kcharselect are quite nice to display font characters. You can't change hinting/aliasing on-the-fly though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c14 --- Comment #14 from Petr Gajdos <pgajdos@suse.com> 2012-09-24 12:28:44 UTC --- (In reply to comment #13)
(In reply to comment #11)
Do we have some sort of GUI application to showcase fonts, and how they look in different hint/alias/etc. styles next to one another?
gucharmap/kcharselect are quite nice to display font characters. You can't change hinting/aliasing on-the-fly though.
You should use the font for a week or two or so to be sure the change you have made have some drawbacks. For example, for some font I do not remember, configuration looked ok until I tried to display 'č', 'ř', etc. Ideally, you should try several monitors. At the end, some users will not agree with you anyway. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c15 --- Comment #15 from Stefan Dirsch <sndirsch@suse.com> 2012-09-24 12:34:58 UTC --- ftview is much better for testing, since there you actually *can* switch between BCI and autohinter. Unfortunately it's purely documented. Use ftview 30 /usr/share/fonts/truetype/verdana.ttf Press F1 for help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c16 --- Comment #16 from Jan Engelhardt <jengelh@inai.de> 2012-09-24 14:58:00 CEST ---
it's purely documented.
"Pure Documentation! No Code!" :) The utility, while not a beauty, is sufficiently documented (through F1 while running). It's a great fit. The only error I spot is that it says "at N points" while it should be saying "at N pixels" Hinting is supposed to make the letters get higher contrast by aligning strokes that are on a pixel boundary and which would be smothered across two pixels by AA, with the actual pixel row/column so that there are less gray parts. Forced autohinting (F key in ftview) on Verdana just blows that away; the embedded hints are much preferable, and they will also give a clear picture on small font sizes, while the autohint thing seems to simply scale it down, which you will notice when using ftview with antialias=off, autohint=true, and the 'x' glyph. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c17 --- Comment #17 from Petr Gajdos <pgajdos@suse.com> 2012-09-24 13:46:09 UTC --- Hm, ftview looks good. But what's actually is 'outline hinting' in it's terminology? Using BCI? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c18 --- Comment #18 from Stefan Dirsch <sndirsch@suse.com> 2012-09-24 13:57:21 UTC --- (In reply to comment #17)
Hm, ftview looks good. But what's actually is 'outline hinting' in it's terminology? Using BCI?
That's it, yes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c19 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #19 from Petr Gajdos <pgajdos@suse.com> 2012-09-26 11:04:33 UTC --- Ok, as I wrote, this bug is fixed in M17N, so will be in factory soon. Are you guys requesting update or not? It would remove line marked with + in patch in comment 0. Setting needinfo for maintenance. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c20 --- Comment #20 from Jan Engelhardt <jengelh@inai.de> 2012-09-26 13:19:47 CEST --- An update would be welcomed as that would mean I don't have to go edit the file manually for the desktops I have. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c21 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |meissner@suse.com InfoProvider|maintenance@opensuse.org | --- Comment #21 from Marcus Meissner <meissner@suse.com> 2012-09-26 11:24:12 UTC --- if you feel this needs an update (i assume so), please do. it looks sensible to me at least. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c22 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #22 from Petr Gajdos <pgajdos@suse.com> 2012-09-26 11:59:03 UTC --- You can find it under mr#136076. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c24 --- Comment #24 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-09-27 14:00:17 CEST --- This is an autogenerated message for OBS integration: This bug (781631) was mentioned in https://build.opensuse.org/request/show/136212 Factory / fontconfig -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c25 --- Comment #25 from Jan Engelhardt <jengelh@inai.de> 2012-09-28 13:26:29 CEST --- Just for the record, one can also use Xfce-settings > Appearance > Fonts to switch between hinting styles and subpixel order and see the difference. It's actually simpler to use than ftview. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c26 --- Comment #26 from Petr Gajdos <pgajdos@suse.com> 2012-10-01 06:35:13 UTC --- (In reply to comment #25)
Just for the record, one can also use Xfce-settings > Appearance > Fonts to switch between hinting styles and subpixel order and see the difference. It's actually simpler to use than ftview.
Jan, thanks for the pointer; I'll look at it and will probably add it to SDB: article about reporting font issues. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c27 --- Comment #27 from Swamp Workflow Management <swamp@suse.de> 2012-10-06 13:08:59 UTC --- openSUSE-RU-2012:1296-1: An update that has one recommended fix can now be installed. Category: recommended (low) Bug References: 781631 CVE References: Sources used: openSUSE 12.2 (src): fontconfig-2.9.0-3.9.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=781631 https://bugzilla.novell.com/show_bug.cgi?id=781631#c Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com