Sign in to add a comment
|
Use fontconfig to work around sites like news.google.com and ubuntu forums that specify only non-free fonts | |||||||||||||||||||||||||
| Reported by stefan.k...@web.de, Dec 29 2009 | Back to list | |||||||||||||||||||||||||
Chromeium Version : 4.0.284.0 (Developer Build 35300) Ubuntu OS + version : ubuntu 9.10 CPU architecture: 32-bit window manager : GNOME URLs (if applicable) : http://news.google.com/news?hl=en&source=hp&q=test&um=1&ie=UTF-8&sa=N&tab=wn What steps will reproduce the problem? 1. you shouldn't have installed the ttf-mscorefonts-installer-PACKAGE 2. configure your chromium like the screenshot (you can do it with the Nimbus aquivalent fonts, too -- or install the ttf-liberation-PACKAGE) 3. open the URL above 3.1 BUG: the chromium uses a serif font 3.2 install the ttf-mscorefonts-installer-PACKAGE 3.3 OK: chromium uses now a sans-serif-font but ( BUG2 ) even the liberation-fonts are setted. 4. If you do not change the font settings in chrome, the URL will show the site with sans-serif-Fonts...
Comment 1
by
jacobm...@gmail.com,
Dec 30 2009
,
Jan 4 2010
From the source of the Ubuntu forums page: font: 12px Verdana, Arial, Tahoma; So I guess it doesn't support free fonts at all, heh. They must be relying on fontconfig to know how to fallback Arial into some other font.
,
Jan 4 2010
Yes, I have tested it with a new firefox profile. firefox uses a serif font, too. At www.ubuntuforums.org and on google.com -> News See at screenshot, you must set as standart a sans font (in screenshot you see a serif font by default) Perhaps it's no bug in chromium. I can set chromium analog to screenshot 2. Is it possible to set chromeium like screenshot 1??? NOTE: If you don't change chromiums font default, ubuntuforums(screenshot 3) uses a sans font, and google.com -> News also uses a sans font (screenshot 4) Font defaults: screenshot 5 Now, setting other font defaults. (screenshot 6) Now both (ubuntuforums.org ang Google.com News) uses serif font's (screenshot 7 and 8) If I install Arial, ... it workts correct (I think because the most websites use Arial, ...), If you don't change the font defaults (screenshot 5), chromium uses perhaps sans or Dejavu sans . I'm not happy with this font, although it's a sans font
,
Jan 4 2010
Still, however, I don't believe we should be seeing serif fonts: $ fc-match Veranda DejaVuSans.ttf: "DejaVu Sans" "Book" $ fc-match Arial LiberationSans-Regular.ttf: "Liberation Sans" "Regular" $ fc-match Tahoma DejaVuSans.ttf: "DejaVu Sans" "Book"
,
Jan 5 2010
I get this: stefan@PC-30-SK-OG-3:~$ fc-match Verdana DejaVuSans.ttf: "DejaVu Sans" "Book" stefan@PC-30-SK-OG-3:~$ fc-match Arial n019003l.pfb: "Nimbus Sans L" "Regular" stefan@PC-30-SK-OG-3:~$ fc-match Tahoma DejaVuSans.ttf: "DejaVu Sans" "Book" stefan@PC-30-SK-OG-3:~$ NOTE: I have not installed Liberation at the moment But why should chromium looks at fontconfig, when the fons are setted in the chromium settings????????????????
,
Jan 15 2010
Stefan.Koch90: you have quickly found the crux of the matter; half the users demand we use fontconfig, while the other half are surprised that we do!
,
Jan 15 2010
It's okay to use fontconfig if the user makes no different configuration in chrome, but if the user make a different configuration in chrome chrome should follow these font settings. But something does not work correct, when chromium use a sans font while the settings in the original state and if you change the settings, chromium uses then a serif font...
,
Feb 22 2010
,
Mar 22 2010
Just to confirm: news.google.com apparently also hardcodes Arial with no other option. The Chrome settings are the settings to use when a site doesn't specify a font, so they're not used in cases like news.google.com and the ubuntu forums, which do specify fonts. We should probably just fall back on fontconfig as a last option in those cases.
,
Apr 22 2010
Issue 40179 has been merged into this issue.
,
Sep 20 2011
I'm not going to get to this bug before my leave. As it is a font bug, I'll CC bashi in case he is interested.
,
Mar 10 2013
,
Aug 26 2015
This bug is really old. Still an issue?
,
Jul 14 2016
,
Jul 14 2016
,
Aug 22 2016
|
||||||||||||||||||||||||||
| ► Sign in to add a comment | ||||||||||||||||||||||||||