Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-12 Thread Mike Hommey
On Sat, Feb 11, 2006 at 10:43:03PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-11 22:00:36 +0100, Mike Hommey wrote: If there was such thing as an appropriate font for all characters that exist is all languages, I'd agree. Unfortunately, this is not the case, and you can't

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-12 Thread Vincent Lefevre
On 2006-02-12 08:49:39 +0100, Mike Hommey wrote: On Sat, Feb 11, 2006 at 10:43:03PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: No, I mean that Firefox should select the font based on the characters that really appears in the document, since this is what the user sees. Then you can't

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-12 Thread Mike Hommey
On Sun, Feb 12, 2006 at 10:54:53AM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-12 08:49:39 +0100, Mike Hommey wrote: On Sat, Feb 11, 2006 at 10:43:03PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: No, I mean that Firefox should select the font based on the characters

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-12 Thread Vincent Lefevre
On 2006-02-12 11:56:56 +0100, Mike Hommey wrote: With the wonderful Han unification, a same unicode character has different representations in different fonts, because these character simply don't write the same way in chinese, in japanese or in korean. Such characters are sometimes so

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-12 Thread Mike Hommey
On Sun, Feb 12, 2006 at 04:34:14PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-12 11:56:56 +0100, Mike Hommey wrote: With the wonderful Han unification, a same unicode character has different representations in different fonts, because these character simply don't write the

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-12 Thread Vincent Lefevre
On 2006-02-12 18:38:28 +0100, Mike Hommey wrote: So, your wish would be that if a page has only ascii, it is treated as ascii, even if the specified encoding or language (attribute lang) is something else ? Yes (after parsing, of course), and ditto with characters from iso-8859-1 and things

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-11 Thread Mike Hommey
On Fri, Feb 10, 2006 at 11:53:08PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-10 21:05:04 +0100, Mike Hommey wrote: On Fri, Feb 10, 2006 at 07:24:00PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-10 14:40:35 +0100, Mike Hommey wrote: Could you send the

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-11 Thread Vincent Lefevre
On 2006-02-11 08:38:03 +0100, Mike Hommey wrote: Could you send your /etc/fonts/fonts.conf and ${HOME}/.fonts.conf if there's one ? /etc/fonts/fonts.conf is attached; I have neither ${HOME}/.fonts.conf nor /etc/fonts/local.conf. -- Vincent Lefèvre [EMAIL PROTECTED] - Web:

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-11 Thread Mike Hommey
On Sat, Feb 11, 2006 at 11:16:33AM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-11 08:38:03 +0100, Mike Hommey wrote: Could you send your /etc/fonts/fonts.conf and ${HOME}/.fonts.conf if there's one ? /etc/fonts/fonts.conf is attached; I have neither ${HOME}/.fonts.conf nor

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-11 Thread Vincent Lefevre
On 2006-02-11 11:22:12 +0100, Mike Hommey wrote: Er let's try again with LC_ALL=zh_CN fc-match sans-serif LC_ALL=ja_JP fc-match sans-serif dixsept:~ LC_ALL=zh_CN fc-match sans-serif 18x18ja.pcf.gz: Fixed ja dixsept:~ LC_ALL=ja_JP fc-match sans-serif 12x13ja.pcf.gz: Fixed ja -- Vincent

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-11 Thread Mike Hommey
On Sat, Feb 11, 2006 at 11:38:25AM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-11 11:22:12 +0100, Mike Hommey wrote: Er let's try again with LC_ALL=zh_CN fc-match sans-serif LC_ALL=ja_JP fc-match sans-serif dixsept:~ LC_ALL=zh_CN fc-match sans-serif 18x18ja.pcf.gz:

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-11 Thread Vincent Lefevre
On 2006-02-11 11:58:17 +0100, Mike Hommey wrote: On Sat, Feb 11, 2006 at 11:38:25AM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: dixsept:~ LC_ALL=zh_CN fc-match sans-serif 18x18ja.pcf.gz: Fixed ja dixsept:~ LC_ALL=ja_JP fc-match sans-serif 12x13ja.pcf.gz: Fixed ja I'm troubled.

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-11 Thread Mike Hommey
On Sat, Feb 11, 2006 at 02:34:05PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-11 11:58:17 +0100, Mike Hommey wrote: On Sat, Feb 11, 2006 at 11:38:25AM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: dixsept:~ LC_ALL=zh_CN fc-match sans-serif 18x18ja.pcf.gz: Fixed ja

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-11 Thread Vincent Lefevre
On 2006-02-11 15:08:08 +0100, Mike Hommey wrote: You should file a bug against fontconfig about that particular font selection problem. I've just reported a bug. For the firefox one, i'm afraid to say it's probably a wontfix. Even though there's a problem with fontconfig, I don't think a

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-11 Thread Mike Hommey
On Sat, Feb 11, 2006 at 05:29:55PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-11 15:08:08 +0100, Mike Hommey wrote: You should file a bug against fontconfig about that particular font selection problem. I've just reported a bug. For the firefox one, i'm afraid to say

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-11 Thread Vincent Lefevre
On 2006-02-11 22:00:36 +0100, Mike Hommey wrote: If there was such thing as an appropriate font for all characters that exist is all languages, I'd agree. Unfortunately, this is not the case, and you can't base your rendering on one font for everything. Thus the firefox parameters. No, I mean

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-10 Thread Mike Hommey
On Thu, Feb 09, 2006 at 01:57:46PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-09 12:55:48 +0100, Mike Hommey wrote: Can you extensively list all the fonts you have installed ? I've attached the output of fc-list. Waw, that's a lot of them. Could you send the output for

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-10 Thread Vincent Lefevre
On 2006-02-10 14:40:35 +0100, Mike Hommey wrote: Could you send the output for these commands : LANG=zh_CN fc-match sans LANG=ja_JP fc-match sans Vera.ttf: Bitstream Vera Sans Roman for both commands. -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-10 Thread Mike Hommey
On Fri, Feb 10, 2006 at 07:24:00PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-10 14:40:35 +0100, Mike Hommey wrote: Could you send the output for these commands : LANG=zh_CN fc-match sans LANG=ja_JP fc-match sans Vera.ttf: Bitstream Vera Sans Roman for both commands.

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-10 Thread Vincent Lefevre
On 2006-02-10 21:05:04 +0100, Mike Hommey wrote: On Fri, Feb 10, 2006 at 07:24:00PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-10 14:40:35 +0100, Mike Hommey wrote: Could you send the output for these commands : LANG=zh_CN fc-match sans LANG=ja_JP fc-match sans

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-09 Thread Vincent Lefevre
On 2006-02-08 20:12:35 +0100, Mike Hommey wrote: I noticed some changes in font selection with pango. Since it has been enabled by default in latest release, can you check if it helps your case ? In fact, this is worse. Pages on which there was no problem (e.g. Google) are now also rendered

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-09 Thread Mike Hommey
On Thu, Feb 09, 2006 at 11:25:59AM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-08 20:12:35 +0100, Mike Hommey wrote: I noticed some changes in font selection with pango. Since it has been enabled by default in latest release, can you check if it helps your case ? In fact,

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-09 Thread Vincent Lefevre
On 2006-02-09 12:55:48 +0100, Mike Hommey wrote: Can you extensively list all the fonts you have installed ? I've attached the output of fc-list. -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-08 Thread Mike Hommey
I noticed some changes in font selection with pango. Since it has been enabled by default in latest release, can you check if it helps your case ? Mike On Sat, Feb 04, 2006 at 05:21:05PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2006-02-04 15:19:40 +0100, Mike Hommey wrote: Yes,

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-04 Thread Vincent Lefevre
On 2006-02-04 06:30:27 +0100, Mike Hommey wrote: Actually, it's the contrary. You must have a font that provides latin character set and chinese characters. I think I have one (a bitmap font, for xterm). This would explain the problem. The way it works is pretty simple, based on the character

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-04 Thread Mike Hommey
On Sat, Feb 04, 2006 at 12:37:53PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: (...) In both cases, the encoding is Unicode. I wonder why Firefox doesn't use a Unicode font for everything! The only unicode font covering all the unicode character set is Arial Unicode MS, and it's limited to

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-04 Thread Vincent Lefevre
On 2006-02-04 15:19:40 +0100, Mike Hommey wrote: Yes, that sucks, but that's not a firefox problem, it's a fontconfig one. Firefox can only hint fontconfig about what it believes the text is written in, making assumptions from what the server and the page gives him. Do you mean that this is

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-03 Thread Vincent Lefevre
Package: firefox Version: 1.5.dfsg-4 Severity: normal With pages using a non-western encoding (e.g. ISO-2022-JP or GB2312), such as http://hannah.ipc.miyakyo-u.ac.jp/kim/Linux/AthlonGCC.html http://std.dkuug.dk/JTC1/SC22/WG14/www/docs/n1013.htm the fonts look ugly. This bug seems to be

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-03 Thread Mike Hommey
Try installing ttf-unfonts or some other font packages. On Fri, Feb 03, 2006 at 04:53:32PM +0100, Vincent Lefevre [EMAIL PROTECTED] wrote: Package: firefox Version: 1.5.dfsg-4 Severity: normal With pages using a non-western encoding (e.g. ISO-2022-JP or GB2312), such as

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-03 Thread Vincent Lefevre
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

Bug#351259: firefox: Large and ugly fonts with pages using non-western encoding

2006-02-03 Thread Mike Hommey
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