Closed Bug 355713 Opened 18 years ago Closed 16 years ago

When not allowing web pages to set the font, font family should still be respected.

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 79074

People

(Reporter: wiebe, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060928 Firefox/1.5.0.7 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060928 Firefox/1.5.0.7 A good webpage doesn't specify fonts, but only font families, such as "serif", "sans-serif" or "monospace". In the preferences, when you don't allow a webpage to set it's own font, font families specified by websites should still be respected. My website (www.halfgaar.net) specifies "sans-serif" font-family for screenfont, and "serif" for printing. This is not respected by Firefox (and mozilla suite). but it should. The same goes for monospace. Currently, the only way to display monospace on websites (like the [code] tag in forums), is to let the web page set the font, which I don't like. I want websites to be displayed in the font that I choose. And like, many others. Perhaps better, is to have a seperate option to allow websites to set font families (to compensate for less-than-intelligent webdesigners who specify a serif screenfont). The best would be to also have an exception list, with which you could specify which websites are not allowed to set font-family (or which are). Reproducible: Always Steps to Reproduce: 1. Set program to not allow websites to set font. 2. Don't hard set fonts. Set them to "monospace" for monospace, "serif" for serif and "sans-serif" for sans-serif. 3. Set program to display "sans-serif" by default ("default font" under "content"). 4. Go to website which specifies font-family properly (like mine, www.halfgaar.net) 5. Do a print preview. Actual Results: In step 5, fonts are sans-serif. Expected Results: Step 4 should have displayed serif, because that's what's specified in the style sheet.
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks!
Whiteboard: CLOSEME 07/14
Version: unspecified → 1.5.0.x Branch
Problem persists. Changed version to 2.0 branch, even through it's likely it's also still present in the trunk.
Version: 1.5.0.x Branch → 2.0 Branch
Is this a bug or an enhancement request? If you could test on trunk too, that'd be grand. - http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Whiteboard: CLOSEME 07/14
A bit late, but I just tested with trunk build firefox-3.0a7pre. Same problem there. And whether it's bug or feature request? Both actually. It's a bug that it doesn't respect font families, which should be possible even when not allowing a website to set the font. However, because there are probably some less than intelligent web designers who think serif is good for screen-viewing, so you want to be able to create some sort of exception or allow list, as described in my first post.
My experience on Firefox 3.0.1* is that "monospace" family is respected, but "serif" and "sans-serif" are not. I'm not familiar with this list's procedures, should I open a new bug for 3.0 Branch? Also, do you think this is a dup of bug 7904? * Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1
I'm sorry, I meant if you think these is a dup of bug 79074
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.