Sans and sans serif fonts mixed on Linux?

Hi,

Are the serif and sans serif fonts rendered the wrong way round on
GNU/Linux? If I choose a sans serif font I get a serif font and vice
versa.

Below is the source of a test document and here's a screenshot of how it
renders for me (Fedora Core 3):
http://homepage.ntlworld.com/leon.stringer/amaya/amaya-9.0-pre-
fonts1.png

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
  <title>No title</title>
  <meta name="generator" content="amaya 9.0, see
http://www.w3.org/Amaya/" />
</head>

<body>
<p style="font-family: times">The quick brown fox (should be serif).</p>

<p style="font-family: helvetica">The quick brown fox (should be
sans).</p>
</body>
</html>

Is this a bug?

Leon...
P.S. I agree with the previous poster who suggested using generic font
names, i.e. "serif", "sans-serif" and "monospace". Generic names are
even more appropriate for cross-platform application such as Amaya.

Received on Monday, 3 January 2005 10:21:52 UTC