Closed Bug 539911 Opened 16 years ago Closed 16 years ago

unchecking "allow pages to choose their own fonts" may result in pages rendered with the wrong font

Categories

(Core :: CSS Parsing and Computation, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mciobanu, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6 GTB6 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6 GTB6 Most sites are rendered as expected when "allow pages to choose their own fonts" is unchecked, by using whatever font I chose rather than what the site wants. However, port.ro is rendered in a serif font in this case, even if my "override" fonts are both sans-serif, as is the font that the page wants (Tahoma). While this report is for Linux, the same happens on Windows 7. Reproducible: Always Steps to Reproduce: 1. Open "Preferences" dialog 2. Go to Content / Fonts & Colors; click on "Advanced" 3. Select some sans-serif (e.g. Arial) or monospace (e.g. Courier) fonts in the "Serif", "Sans-serif", and "Monospace" comboboxes 4. Uncheck "Allow pages to choose their own fonts" 5. Press OK twice to close the dialogs 6. Go to port.ro Actual Results: The page is rendered in some serif font that has nothing to do with either the fonts that were chosen in step 3 or the fonts that the page requested. Expected Results: The page should be rendered using the fonts that were selected in step 3 I use the default theme.
Component: Layout: Text → Style System (CSS)
QA Contact: layout.fonts-and-text → style-system
The font preferences are separate for different regions of the world; I'm guessing you changed your font preferences for "Western" but not for "Central European" in step (3) above; it's the ones for Central European that affect this page.
Sorry, David; you're right. I didn't realize that my changes only affected "Western" encoded pages. Now that I changed "Central European" as well, the page looks OK, so this should be closed.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.