[Bug 215602] New: IPA fonts are rendered poorly
https://bugzilla.novell.com/show_bug.cgi?id=215602 Summary: IPA fonts are rendered poorly Product: openSUSE 10.2 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: sndirsch@novell.com ReportedBy: sa2c@sa2c.net QAContact: sndirsch@novell.com IPA fonts are not rendered well with autohinter, and the fonts do not have enough bitmaps. Here is a patch to fix the problem: --- suse-hinting.conf.bak 2006-10-23 23:54:32.000000000 +0900 +++ suse-hinting.conf 2006-10-27 15:16:47.000000000 +0900 @@ -163,5 +163,24 @@ </edit> </match> +<!-- +IPA fonts are not rendered well with autohinter, +and the fonts do not have enough bitmaps. +--> + <match target="font"> + <test name="family"> + <string>IPAMincho</string> + <string>IPAGothic</string> + <string>IPAPMincho</string> + <string>IPAPGothic</string> + <string>IPAUIGothic</string> + </test> + <edit name="autohint"> + <bool>false</bool> + </edit> + <edit name="embeddedbitmap"> + <bool>false</bool> + </edit> + </match> </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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 ------- Comment #1 from sa2c@sa2c.net 2006-10-27 00:23 MST ------- Created an attachment (id=102791) --> (https://bugzilla.novell.com/attachment.cgi?id=102791&action=view) a patch to fix -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sndirsch@novell.com |mfabian@novell.com Component|X.Org |X11 Applications -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 mfabian@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 ------- Comment #2 from mfabian@novell.com 2006-10-27 07:05 MST ------- Created an attachment (id=102823) --> (https://bugzilla.novell.com/attachment.cgi?id=102823&action=view) to-autohint-or-not-to-autohint.png Comparison of rendering with and without autohinter. Fonts displayed with xfd -fa "IPAMincho:pixelsize=15" xfd -fa "MS Mincho:pixelsize=15" xfd -fa "Sazanami Mincho:pixelsize=15" The top row of the screen shot shows the fonts without autohinting, the bottom row the same fonts with autohinting. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 ------- Comment #3 from mfabian@novell.com 2006-10-27 08:29 MST ------- When looking at the screen shot attached in comment #2, I believe that all three fonts I used for testing look better with the autohinter than without. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 ------- Comment #4 from mfabian@novell.com 2006-10-27 08:35 MST ------- This is even more obvious if one makes a similar screen shot for the "Gothic" fonts instead of the "Mincho" fonts because the autohinter works even better for simpler font designes like "Gothic". -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 ------- Comment #5 from sa2c@sa2c.net 2006-10-27 09:26 MST ------- Created an attachment (id=102848) --> (https://bugzilla.novell.com/attachment.cgi?id=102848&action=view) with- / without- autohinter All numerical characters should have same width, but "8" is wider than "0" with authohinter. "8" also looks very bad with autohinter: it's not symmetrical. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 ------- Comment #6 from mfabian@novell.com 2006-10-27 09:32 MST ------- I recommend to use a good Latin font for digits and the latin alphabet. The Latin part of most CJK fonts is not very good. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 ------- Comment #7 from mfabian@novell.com 2006-10-27 09:34 MST ------- I can reproduce your screen shot in comment #5 here as well. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 ------- Comment #8 from mfabian@novell.com 2006-10-27 09:53 MST ------- The problem that the Latin glyphs are not monospace (as they should be) when the autohinter is used happense with IPAGothic, Sazanami Gothic, and Meiryo. But it doesn't happen with MS Gothic. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 ------- Comment #9 from sa2c@sa2c.net 2006-10-27 10:06 MST ------- Created an attachment (id=102858) --> (https://bugzilla.novell.com/attachment.cgi?id=102858&action=view) hiragana.png (In reply to comment #6)
I recommend to use a good Latin font for digits and the latin alphabet. The Latin part of most CJK fonts is not very good.
Okay, compare with Japanese Hiragana. ;-) The baseline of the characters are not stable with autohinter. For example, "に" (NI, 2nd character of last line) is rendered upper one pixel than other characters with autohinter. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 ------- Comment #10 from mfabian@novell.com 2006-10-27 10:19 MST ------- On the other hand, the に rendered with the autohinter is "sharper" (has less gray) because it is better aligned to the pixel grid. By aligning glyphs to the pixelgrid, one can reduce the blurredness but this comes with the cost of a slightly distorted positioning. For that reason, currently OpenOffice completely ignores the system settings concerning hinting and *always* forces no hinting at all. This has the advantage that the positioning of all glyphs is correct, especially line lengths are correct (no such effects as in the screen shot in comment #5). But the obvious disadvantage is that most glyphs are a lot more blurred. People comlain about that as well. No matter which of the the settings one chooses, somebody will complain. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 ------- Comment #11 from sa2c@sa2c.net 2006-10-27 11:35 MST ------- I agree with you that someone prefer character shape and geometry than sharpness, others prefer sharpness than character shape and geometry. (I'm the former and you are the latter I think.) Since settings in "suse-hinting.conf" can be overridden by ~/.fonts.conf, the focus is which is more suitable as default. I think autohinter should be disabled by default for IPA fonts as long as it has an obvious disadvantage as I noted in commen #5. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215602 mfabian@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #12 from mfabian@novell.com 2006-11-16 05:22 MST ------- New fonts-config submitted to STABLE: ------------------------------------------------------------------- Wed Nov 15 19:20:16 CET 2006 - mfabian@suse.de - Bugzilla #215602: don't use the embedded bitmaps in the IPA fonts because they are only available in 12, 14, and 16 pixels. - Bugzilla #215602: Don't use the autohinter for fonts where it it distorts the metrics so badly that even the digits which should be monospaced are not monospaced at all anymore. - Don't use the autohinter for good quality TrueType fonts. ------------------------------------------------------------------- You can download the new package for testing here: http://software.opensuse.org/download/M17N/SUSE_Factory/noarch/fonts-config-... /usr/sbin/fonts-config generates /etc/fonts/suse-hinting.conf and /etc/fonts/suse-bitmaps.conf which contain the new setup. The autohinter is not only switched off for the IPA fonts but for all TrueType fonts because - high quality TrueType fonts like Déjà Vu look much better when the byte code interpreter is used instead of the autohinter. - among the fonts which look better (i.e. sharper) when using the autohintern, *many* have severe problems with the distortion of the metrics. I only switched the autohinter on again for a rather small list of fonts where it really seems to help *and* where I could not find serious metrics distortion. Closing this bug as FIXED. -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com