[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Bug#26192: font "matching" in KMail and Konqueror [Re: kmail message body font too large]
From:       Vadim Plessky <lucy-ples () mtu-net ! ru>
Date:       2001-06-15 12:20:58
[Download RAW message or body]

On Sunday 10 June 2001 10:32, Dirk Mueller wrote:
|   On Son, 10 Jun 2001, Vadim Plessky wrote:
|   > Here (after install of KDE 2.2alpha2 and Kmail 1.2.2) is not only font
|   > in Kmail body is *bigger*, but it is *different typeface* from what I
|   > requested. Actually, I ordered Arial and get ... Arial Black.
|
|   what charset do you use ? is Arial available in this charset ?
|
|   Dirk

Hello,

While I already mentioned, that ater 4 days working with KDE 2.2alpha2 this 
problem disappeared "itself", today I have the same problem but with slightly 
different setup.

What I did:
----------
Over existing Linux-Mandrake 7.2 running: 
    XF 4.0.2 (pre-4.0.3), QT 2.3, KDE 2.1
I installed LM 8.0, which has:
*   XF 4.0.3, here is list of RPM's
XFree86-4.0.3-7mdk 
XFree86-xfs-4.0.3-7mdk 
XFree86-100dpi-fonts-4.0.3-7mdk 
XFree86-doc-4.0.3-7mdk 
XFree86-devel-4.0.3-7mdk 
XFree86-static-libs-4.0.3-7mdk 
XFree86-server-4.0.3-7mdk 
XFree86-libs-4.0.3-7mdk 
XFree86-75dpi-fonts-4.0.3-7mdk

* KDE 2.1.1
( kdelibs-2.1.1-7mdk, kdebase-2.1.1-13mdk )
  
* QT 2.3  ( libqt2-2.3.0-3mdk )

Problem description:
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
In Kmail Appearance -> Fonts dialog, I ordered Arial and get ... Arial Black.

Checking on [x] Use custom fonts and applying "Arial Narrow" font is, 
actually, brings me correct (russian) characters is mail message body.
But not "Arial"
First of all, there is no "Arial" font listed in this dialog :(
(see below details) 

But what's interesting is that I have now "abisource-arial" and 
"abisource-times new roman"

[vadim@localhost vadim]$ xlsfonts | grep abisour
-abisource-arial-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-arial-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-arial-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-arial-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-bitstream charter-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-bitstream charter-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-bitstream charter-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-bitstream charter-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-bookman-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-bookman-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-bookman-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-bookman-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-century schoolbook-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-century schoolbook-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-century schoolbook-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-century schoolbook-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-courier new-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-courier new-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-courier new-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-courier new-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-courier-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-courier-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-courier-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-courier-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-dingbats-bold-i-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-dingbats-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-dingbats-regular-i-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-dingbats-regular-r-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-goth-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-goth-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-goth-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-goth-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-helvetic-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-helvetic-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-helvetic-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-helvetic-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus mono-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus mono-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus mono-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus mono-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus roman-bold-i-normal-medium-0-0-0-0-p-0-iso8859-1
-abisource-nimbus roman-bold-r-normal-medium-0-0-0-0-p-0-iso8859-1
-abisource-nimbus roman-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus roman-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus sans condensed-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus sans condensed-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus sans condensed-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus sans condensed-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus sans-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus sans-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus sans-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-nimbus sans-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-palladio-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-palladio-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-palladio-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-palladio-regular-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-standard symbols-bold-i-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-standard symbols-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-standard symbols-regular-i-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-standard symbols-regular-r-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-symbol-bold-i-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-symbol-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-symbol-regular-i-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-symbol-regular-r-normal--0-0-0-0-p-0-adobe-fontspecific
-abisource-times new roman-bold-i-normal-medium-0-0-0-0-p-0-iso8859-1
-abisource-times new roman-bold-r-normal-medium-0-0-0-0-p-0-iso8859-1
-abisource-times new roman-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-times new roman-regular-r-normal--0-0-0-0-p-0-iso8859-1

Besides, I still have Monotype's (supplied with MS Windows) Arial in all 
possible encodings, including Unicode.

[vadim@localhost vadim]$ xlsfonts | grep arial | grep 10646
-monotype-arial black-medium-r-normal--0-0-0-0-p-0-iso10646-1
-monotype-arial narrow-bold-i-condensed--0-0-0-0-p-0-iso10646-1
-monotype-arial narrow-bold-r-condensed--0-0-0-0-p-0-iso10646-1
-monotype-arial narrow-medium-i-condensed--0-0-0-0-p-0-iso10646-1
-monotype-arial narrow-medium-r-condensed--0-0-0-0-p-0-iso10646-1
-monotype-arial-bold-i-normal--0-0-0-0-p-0-iso10646-1
-monotype-arial-bold-r-normal--0-0-0-0-p-0-iso10646-1
-monotype-arial-medium-i-normal--0-0-0-0-p-0-iso10646-1
-monotype-arial-medium-r-normal--0-0-0-0-p-0-iso10646-1

Yes, I have checked - there are now "monotype-arial" and "monotype-times new 
roman" in KMail's font dialog as well. (plus, "monotype-century schoolbook", 
"monotype-courier new")
So, original "Arial" migrated to "monotype-arial" and "abisource-arial"

Then I tried to apply "monotype-arial" for message body - and still the same 
effect (Arial Black used instead of Arial)
I changed to "monotype-times new roman" - everything is fine, Times New Roman 
used.
Besides, I can tell that Konqueror rendering is affected as well.
I have treied it with my site, which has following font definition
	H3 {  font-family: "Arial", "Helvetica", sans-serif;  }
and again, "Arial Black" used. 

So it look like to me that:
-only Arial font affected by this bug.
-it is inside "font matching"

-it may be that following happens:
 a) QT font matching mechanism finds "abisource-arial", but it dosn't have 
Unicode (or cp1251/koi8r), only iso8859-1
 b) instead of trying "monotype-arial", it fallbacks to "Arial Black"
(is this because Arial Black listed before monotype-arial?)
  As  "Arial Black" has Unicode ( and cp1251/koi8-r), QT stops searching for 
the next font. And misses "monotype-arial".
I wonder if QT respects font "weight" here - Arical Black is *bolder* than 
normal Arial. 

If it is described as above, how it can be corrected?
Should I send bug report to qt-bugs@trolltech.com ?

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
http://kde2.newmail.ru/index_rus.html  (Russian)
Do you have Arial font installed? Just test it!
http://kde2.newmail.ru/font_test_arial.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic