"Allow documents to use other fonts" bug

Discussion of bugs in Seamonkey
Locked
User avatar
Pim
Posts: 2215
Joined: May 17th, 2004, 2:04 pm
Location: Netherlands

"Allow documents to use other fonts" bug

Post by Pim »

Before I report this as a bug, could anybody please confirm that this is a real bug, not just my misunderstanding about how it's supposed to work?
This concerns the "Allow documents to use other fonts" checkbox.
First of all, to me this phrase sounds like the documents, with the checkbox unchecked, can still use the fonts you submitted here; the serif, sans-serif, fantasy and cursive ones, while in reality, that's not the case. Commands that change fonts stop working altogether, and there is no more way a document can request, e.g. a cursive font. Oh well, that could be just me.

However, there is a notable exception to the font commands not working, and that is inside of HTML tags that normally use a monospaced font: TT, PRE, TEXTAREA etc.
If, with "Allow documents to use other fonts" unchecked, a document tries to set the font for one of these tags, the actual displayed font changes from monospaced to the standard proportional.
Example:

Code: Select all

<html>
<head><title>bug example</title>
<body>
<pre>This is monospaced, like normal</pre>
<pre style="font-family:Georgia">This is supposed to be Georgia</pre>
<pre style="font-family:Courier">This is supposed to be Courier</pre>

So if your default font is Arial and your mono font is Courier, the first line will be displayed in Courier, while the second and third lines display in Arial.
That's not how it should go, is it? With "Allow documents to use other fonts" off, the second line should look the same as the first line, right?
If this has been discussed before, could anybody point me to the thread it's in? I did search for it and couldn't find it.
This behaviour is not unique to SeaMonkey, it occurs across all Gecko browsers (Firefox, Netscape etc), but there is no "Generic Gecko bugs" forum here...
Groetjes, Pim
User avatar
James
Moderator
Posts: 28002
Joined: June 18th, 2003, 3:07 pm
Location: Made in Canada

Re: "Allow documents to use other fonts" bug

Post by James »

Holy Old Thread Batman!

You could have started a new thread linking to this one.

Splitted your post off as a new thread at http://forums.mozillazine.org/viewtopic ... &t=3104425
Locked