On Sat, Feb 04, 2006 at 03:29:44AM +0100, Vincent Lefevre <[EMAIL PROTECTED]> wrote: > On 2006-02-03 19:43:03 +0100, Mike Hommey wrote: > > Try installing ttf-unfonts or some other font packages. > > ttf-unfonts takes 32.6 MB, and one of my machine doesn't have enough > disk space (otherwise I'd have to remove useful packages...). Such a > huge package shouldn't be needed just to display *English* text.
Actually, it's the contrary. You must have a font that provides latin character set and chinese characters. The way it works is pretty simple, based on the character set from the page (GB2312), it chooses the chinese simplified font set in firefox preference, which, by default, uses the generic serif, sans-seric and monotype fonts. When displaying, it says to fontconfig that the text is to display with the serif, sans-serif or monotone font, and the chinese language. Then, fontconfig, knowing it's chinese, tries to find the fittest font for the generic name, which means it will look first at chinese fonts, and will pick the first one it finds that contain the latin character set, which they are, for most of them, providing. Anyways, it's not firefox's fault if the author of the web page is dumb and said the page is in GB2312 charset while it is basic ASCII and if CJK fonts usually include ugly latin characters. You have several options to work around this : - say firefox the page is in a latin language (view -> encoding menu), which will be fine, since the charset is ASCII, - find the chinese font you have on your system that provides those characters you don't want to see and uninstall it. - change the chinese font settings in the preferences to use a given font instead of the generic ones. Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]