possible font selection/rendering problem in mozilla and konqueror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody,

This message is being sent to fontconfig@xxxxxxxxxxxxxx and 
freetype@xxxxxxxxxxxxx I hope I'm not doing something heretic. I'm not very 
familiar with mailing lists.

I wrote a simple html file to compare the font selected when specifying a 
general family name versus the result when specifying my prefered font for 
the same family. For example, I expect the the following strings to render 
identically:

  <font face='serif' size='+3'>SERIF : Default</font>
  <p>
  <font face='Nimbus Roman No9 L' size='+3'>SERIF : Nimbus Roman No9 
L</font>

I have found cases in Mozilla 1.3 and Konqueror 3.1-12 where this simple 
assumption isn't met.

My prefered fonts for each family are:
Nimbus Roman No9 L
Luxi Sans
Luxi Mono

- In Konqueror, a string rendered with 'sans' uses 'Comic Sans MS' rather 
than 'Luxi Sans'.

- In Konqueror, a string rendered with 'mono' uses 'Andale Mono' rather than 
'Luxi Mono'. 'Andale Mono' is my 3rd prefered font in the monotype family.

- In Konqueror, the aliasing is different for strings rendered with the same 
font but obtained differently. For example, the initial S in my short html 
example above receives different aliasing. xmag confirmed my eyes didn't 
play a trick on me.

- In Mozilla, a string rendered with 'monospace' has a different size than 
the same string rendered with 'Luxi Mono'. 'Luxi Mono' and 'mono' yield the 
same result.

- A quick test on aliasing in Mozilla doesn't reveal any difference.

I removed the msttcorefonts package and reloaded xfs and still obtained 
strange results.

- In Konqueror, a string rendered with 'serif' used my 'sans-serif' font.

- In Konqueror, the aliasing now seems to be the same.

- In Mozilla, the result stayed the same.

Software I'm using:
- Base distribution is a fresh RedHat9 install
- I first saw the problem with FreeType 2.1.3-6 (RH9 default). Then I 
upgraded to 2.1.4 and still had the same results (restarted X and xfs in the 
move).
- corefonts.sourceforge.net package
- Default RH9 OpenOffice, from which I am using 'Andale Mono' as the 3rd 
prefered font in the monotype family
- Mozilla 1.3 I installed to replace Mozilla 1.2.1 shipped with RedHat9.
- Default XFree in RedHat9: 4.3.0-2

Here's the html I used for this little test:

<html>
  <head>
    <title></title>
    <meta content="">
    <style></style>
  </head>
  <body>

  <font face='serif' size='+3'>SERIF : Default</font>
  <p>
  <font face='Nimbus Roman No9 L' size='+3'>SERIF : Nimbus Roman No9 
L</font>
  <p>
  <font face='sans-serif' size='+3'>SANS-SERIF : Default</font>
  <p>
  <font face='Luxi Sans' size='+3'>SANS-SERIF : Luxi Sans</font>
  <p>
  <font face='sans' size='+3'>SANS : Default</font>
  <p>
  <font face='Luxi Sans' size='+3'>SANS : Luxi Sans</font>
  <p>
  <font face='mono' size='+3'>MONO : Default</font>
  <p>
  <font face='Luxi Mono' size='+3'>MONO : Luxi Mono</font>
  <p>
  <font face='monospace' size='+3'>MONOSPACE : Default</font>
  <p>
  <font face='Luxi Mono' size='+3'>MONOSPACE : Luxi Mono</font>

  </body>
</html>


_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous !  
http://fr.ca.search.msn.com/




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux