Closed
Bug 325168
Opened 19 years ago
Closed 19 years ago
RFE: distinguish between use_document_fonts and "allow general font-family"
Categories
(Firefox :: Settings UI, enhancement)
Tracking
()
People
(Reporter: mike+bugzilla, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
The existing user preference, use_document_fonts, causes the browser to ignore all css font-family specifications. For example, with use_document_fonts=1, this html produces three identical paragraphs:
<html>
<head>
</head>
<body>
<p style="font-size: 24; font-family: serif">hello world</p>
<p style="font-size: 24; font-family: sans-serif">hello world</p>
<p style="font-size: 24; font-family: monospace">hello world</p>
</body>
</html>
I'd like to give page authors the freedom to specify a "general font-family" (one of: serif, sans-serif, monospace, fantasy, cursive (per http://blooberry.com/indexdot/css/properties/font/fontfamily.htm)) without allowing them to specify a specific font (Arial, Courier, Garamond, etc).
If possibly, a page that specified Courier would, when specific font selection is disabled, fall back to the correct general font family. However, the browser will not always have enough information to make this choice.
This RFE could be implemented as a new preference, perhaps "use_document_font_families", or as a new integer value for use_document_fonts.
Reproducible: Always
*** This bug has been marked as a duplicate of 79074 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•