Fontconfig and Helvetica
I never seem to get caught up enough to get onto the SuSE factory program. I see a what I consider a bug in 10.0 that isn't in 9.3 and wonder if anyone else can tell me if it is known about and/or fixed for 10.1. On this work in progress http://mrmazda.no-ip.com/auth/Font/font-helvetica.html if you look in the 2nd table where I've mixed several other fonts in with Helvetica in pt sizes for comparison, in 9.3 both Konqueror and Firefox 1.5.0.1 render the font Nimbus Sans L when Helvetica is requested, as directed by the alias in /etc/fonts/fonts.conf. In 10.0 in Konqueror, the first sans-serif listed in the fonts.conf file's "Sans-serif faces" section is substituted instead, while that same substitution only happens in Firefox only when something other than the generic "sans-serif" is selected as a Firefox sans-serif preference. 9.2 behavior is more like 10.0 than 9.3. I've looked also at several other distros, and only 9.3 seems to be correctly behaving according to what fonts.conf seems to be prescribing. -- "Blessed are they whose ways are blameless, who walk according to the law of the Lord." Psalm 119:11 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/auth/auth
Am Freitag, 17. März 2006 02:08 schrieb Felix Miata:
I've looked also at several other distros, and only 9.3 seems to be correctly behaving according to what fonts.conf seems to be prescribing.
I'm not sure I follow you. What is the bug exactly? fc-match -v "helvetica" gives Nimbus Sans L as described on both 10.0 and 10.1 Greetings, Stephan
On 06/03/17 04:52 Stephan Kulow apparently typed:
Am Freitag, 17. März 2006 02:08 schrieb Felix Miata:
I've looked also at several other distros, and only 9.3 seems to be correctly behaving according to what fonts.conf seems to be prescribing.
I'm not sure I follow you. What is the bug exactly? fc-match -v "helvetica" gives Nimbus Sans L as described on both 10.0 and 10.1
I now have an edited version of that page for the purpose of the following screenshots at: http://mrmazda.no-ip.com/auth/Font/font-helvetica-suse.html Konqueror ignores that Nimbus Sans L alias in both 9.3 http://mrmazda.no-ip.com/SS/fonts-helv-suse093-096-16-konq.png and 10.0 http://mrmazda.no-ip.com/SS/fonts-helv-suse100-096-16-konq.png IOW, in Konq in both 9.3 & 10.0 you always get Helvetica when Helvetica is requested (if Helvetica is installed). Firefox 1.0.7 & 1.5.0.1 in 9.3 obey the alias regardless of the firefox pref setting for sans-serif: http://mrmazda.no-ip.com/SS/fonts-helv-suse093-096-16-ff.png but in 10.0 both ignore it if the firefox pref for sans-serif is set to anything other than "sans-serif" http://mrmazda.no-ip.com/SS/fonts-helv-suse100-096-16-ff.png IOW, in FF, in 10.0, you get Nimbus Sans L when Helvetica is requested only if the FF pref is set to "sans-serif". The bug (assuming the browsers aren't working as intended) is that Nimbus Sans L is ever not displayed by the browsers when Helvetica is requested. Whether the bug(s) is/are in the browsers or fontconfig or something else I wouldn't have any idea. There's a separate bug with the alias>sans-serif>prefer list. In that 10.0 (and 9.3) list, Vera Sans is first, and Verdana second. When the browser sans-serif pref is set to "sans-serif", both browsers use Verdana (if installed) instead of the #1 entry Vera Sans. BTW, if it hasn't been already, Vera Sans should be replaced by DejaVu Sans for 10.1. -- "Blessed are they whose ways are blameless, who walk according to the law of the Lord." Psalm 119:11 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/auth/auth
participants (2)
-
Felix Miata
-
Stephan Kulow