Closed Bug 396002 Opened 17 years ago Closed 16 years ago

[10.4] Some .dfonts (Helvetica, Courier) do not display italics.

Categories

(Core :: Graphics, defect, P4)

PowerPC
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 364713

People

(Reporter: phiw2, Assigned: jtd)

Details

(Keywords: regression, testcase)

Attachments

(6 files)

Attached file testcase
The style is contained within the font, even if it is not listed in Fontbook, the Cocoa Font panel shows it (just open up TextEdit).

Safari (webKit builds) and Firefox 2.0 are correct.
Flags: blocking1.9?
Attached image screenshot
Helvetica in Textedit (with fontpanel)
Flags: blocking1.9? → blocking1.9+
Assignee: nobody → jdaggett
Priority: -- → P4
This WFM on 10.5.
Summary: Some .dfonts (Helvetica, Courier) do not display italics. → [10.4] Some .dfonts (Helvetica, Courier) do not display italics.
Can you try a recent build?
(In reply to comment #5)
> Can you try a recent build?
> 
No changes on 10.4.11/ppc (latest camino and minefield builds): still a failure.

The Helvetica and Courier .dfont files on 10.4 only include Regular and Bold faces, there are no italic faces.  10.5 ships will a full set of faces, Regular, Bold, Italic and Bold Italic.  

So the reason for the lack of italics on 10.4 is the lack of support for "synthetic" bolding and obliqueing.  We got this for free in FF2 by using QD drawing API's but we need to do this ourselves in FF3.  See bug 364713.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
That doesn't make sense, given that the Cocoa font panel shows Helvetica Oblique as a "font", which the panel doesn't do in the relevant CJK fonts from bug 364713.

Or are you saying that "font" in the panel is some sort of internal alias to code to render synthetic italics?
Hmm, I see what you're saying.  The font panel shows two oblique faces that don't show up in FontBook.  Very strange.  These are definitely not separate faces, the Helvetica.dfont file on 10.4 only contains two faces.  Might be some sort of AAT variation, maybe?  Will investigate.
Attached image helvetica in FontBook
reopening until i can figure out how Apple apps magically display non-existent font faces!
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
John, anything new here?  Not putting this back on blocking list -- should it still be?
Flags: tracking1.9+ → blocking1.9-
Helvetica is not only popular, but also the default sans-serif font used by Firefox.  As a result, this bug affects http://planet.mozilla.org/, making posts such as sayrer's "Internal Structures" (which uses italics for quotes) confusing.
(Or should my whining apply to bug 364713?)
(In reply to comment #14)
> (Or should my whining apply to bug 364713?)

Yup.

As part of the work for bug 419370, the bogus italic faces that Cocoa claims
exist for Helvetica/Courier under 10.4 are trimmed out of the font list:

http://mxr.mozilla.org/mozilla/source/gfx/thebes/src/gfxQuartzFontCache.mm#790

Will deal with general synthetic rendering of italic for Helvetica/Courier as
part of the work for 364713.  Will reopen if we discover something absolutely
goofy about these fonts that warrants special care.
Status: REOPENED → RESOLVED
Closed: 17 years ago16 years ago
Resolution: --- → DUPLICATE
Confirmed fixed by 364713 with:

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b5pre) Gecko/2008032004 Minefield/3.0b5pre
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: