Closed Bug 294448 Opened 20 years ago Closed 19 years ago

"Always use my fonts" is overridden by CSS.

Categories

(Core :: CSS Parsing and Computation, defect)

1.7 Branch
x86
FreeBSD
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 159440

People

(Reporter: darrien.l, Assigned: dbaron)

Details

(Keywords: access)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050513 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050513 Firefox/1.0.4 I have set Firefox to use a large font and have checked the "Always use my fonts" check box. However, any site that uses CSS to specify a font size overrides this and the page will display with whatever font size is specified in the CSS file. Reproducible: Always Steps to Reproduce: 1. Edit -> Preferences -> General -> Fonts & Colors ... 2. Set font size to 20 & minimum font size to 16. 3. Visit any webpage that has CSS specify a font size. Actual Results: Font size is displayed much smaller than it should be. Expected Results: Font size should be displayed at specified size. Increasing the minimum font size does increase it, but not to the same degree as non-CSS formatted webpages. If I set the minimum font size high enough to comfortably read CSS formatted webpages, non-CSS formatted webpages are displayed with too large a font.
I notice also that the monospace font is not correctly used in docbook-generated pages that have a <programlisting> style. It's as if the CSS + "always use my fonts" = broken <pre> style - where it uses proportional instead of monospace fonts. Very annoying, since I want it to always use my nice XfT fonts but I miss having monospace fonts in my docbook programlistings.
an example html file which renders properly until you say "always use my fonts".
this can be broken down into a much smaller example (i'm using Gecko/20050925 Firefox/1.0.4 to reproduce this): <html><body> <br><span style="font-family:monospace"> (1) Monospace in span tag.</span> <br><code> (2) Monospace by using code tag.</code> <br><code style="font-family:monospace"> (3) Monospace in code tag.</code> </body> without "always use my fonts", (1), (2) and (3) render in monospace as expected. after turning "always use my fonts" on, only (2) renders in monospace still, (1) and (3) are now incorrectly rendered in sans.
Assignee: nobody → dbaron
Component: Disability Access → Style System (CSS)
Product: Firefox → Core
QA Contact: disability.access → ian
Version: unspecified → 1.7 Branch
*** This bug has been marked as a duplicate of 79074 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
*** This bug has been marked as a duplicate of 159440 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: