W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2005

Sans and sans serif fonts mixed on Linux?

From: Leon Stringer <leon.stringer@ntlworld.com>
Date: Sat, 01 Jan 2005 15:14:25 +0000
To: www-amaya@w3.org
Message-Id: <1104592538.5619.10.camel@localhost.localdomain>




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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:43 UTC