Red Hat Bugzilla – Bug 179229
Font size error affecting Gecko browsers etc.
Last modified: 2007-11-30 17:11:22 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050717
Description of problem:
A style of the form
font: 12px Arial, Helvetica, sans-serif;
produces rendering in fixed-tiny-size font.
The fault is in the 12px, but any ??px produces the same thing, regardless of
the face. Styles like this are widespread. The bug occurs with Mozilla builds that work fine on FC3 (fontconfig-2.2.3-5). That is why I conclude it is fontconfig, but it possibly might be some other aspect of the font/X system.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use FC4 standard distribution with, e.g. firefox
2. Go to http://silas.psfc.mit.edu/fontsizebug.html
3. Enjoy! (NOT)
I have tracked this bug down. It was caused by a font helvR.9.pcf in my
directory /home/usr/share/fonts/Math which was being defaulted to when the 12px
was encountered. I don't know where that file came from. It did not seem to be
owned by rpm packages. I'd guess it just bit me because the fc-cache program was
rerun on this directory when FC4 was installed.
I conclude that this was not a fontconfig error, but an error in my font setup
Sorry to be a nuisance. Thanks for all the fish
*** Bug 179226 has been marked as a duplicate of this bug. ***