Closed Bug 131367 Opened 23 years ago Closed 23 years ago

Incorrect font attributes when Anti-Aliasing turned on

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 130661

People

(Reporter: troyt, Assigned: attinasi)

Details

Attachments

(3 files)

When I set mozilla up to enable AA text, Mozilla does display anti-aliased fonts (and in the proper fonts). My .mozilla/.mozilla/fonts/catalog/TrueType.something.ndb does show that it scanned all the fonts (ie. the times.ttf, timesi.ttf, timesbd.ttf, timesbi.ttf) BUILD ID: 2002031508 However, Mozilla does not use the correct font attribute (italic, bold, bold+italic). It simply chooses one and sticks with it. So, on Slashot, for example, I set the font to "Agfa Monotype-times new roman-iso8859-1" (This is what mozilla sees; X sees it as "monotype-times-iso8859-1". Mozilla then displays Times New Roman bold-italic everywhere (that the serif font is used). The font attribute is typically a collection of italic and non-italic text, that is NOT bold. After this, I went to 'Composer' to see what was happening. Sure enough, in spite of the fact that I had a small page written with 4 lines, each containing a different attribute (regular, bold, italic, bold-italic), ALL of the lines were identical, and all were bold-italic. I've attatched the generated HTML, and correlating screenshots.
Attached file Raw HTML used for my font test. (deleted) —
This is the HTML I used to create the attatched screenshots.
Attached image Snapshot of (un)formatted AA text. (deleted) —
Attached image Formatted text (With tags shown) (deleted) —
I did forget to note : All fonts are set up according to mozilla.org's documentation on how to enable AA text. The fonts used are: "Agfa Monotype-Times New Roman-iso8859-1" "Agfa Monotype-Arial-iso8859-1" "Agfa Monotype-Courier New-iso8859-1" All are the fonts by the same name included in Microsoft Windows. And, upon close examination, it seems that while the 'helvetica/arial' lines do have proper text-formatting, they are not AA.
Duplicate of "TrueType font rendering prefers bold/italic inappropriately" *** This bug has been marked as a duplicate of 130661 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 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: