[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 60556] New: Konqueror doesn't parse font-style CSS correctly
From: Jason <jglane () btopenworld ! com>
Date: 2003-06-30 20:57:36
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=60556
Summary: Konqueror doesn't parse font-style CSS correctly if
first font doesn't exist
Product: konqueror
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: khtml
AssignedTo: konq-bugs@kde.org
ReportedBy: jglane@btopenworld.com
Version: (using KDE KDE 3.1.2)
Installed from: Compiled From Sources
Compiler: GCC 3.3 SuSE RPMs
OS: Linux
If the first font in a font-style css declaration isn't available on the system, then \
subsequent fonts are not parsed - the default Konqueror font is selected itself.
Test case:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" \
"http://www.w3.org/TR/html4/loose.dtd"> <html>
<head>
<title>Testing</title>
<style type="text/css">
p {
font-size:20px;
font-family: "non existent font", "Times New Roman", times, serif;
color:black;
background-color:white;
}
</style>
</head>
<body>
<p>Hello world.</p>
</body>
</html>
The web page above should display the text in Times (new roman) or a serif font. But, \
on my system, the default Konqueror font is a sans-serif font, and "Hello world" is \
displayed in this font, not the correct serifed font.
In kcmkonqueror the sans-serif font is set to Bitsteam Vera Sans, the serif font to \
Bitstream Vera Serif, but I also have Times New Roman installed.
This also affects external stylesheets, as well as inline ones. The above example \
works fine in Mozilla.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic