Closed Bug 681895 Opened 10 years ago Closed 10 years ago

Tag <pre> is ignored on Firefox under Mac OS 10.6/10.7 (Cyrillic script)

Categories

(Core :: Layout: Text and Fonts, defect)

All
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla9
Tracking Status
firefox6 --- affected
firefox7 --- affected
firefox8 --- affected
firefox9 --- fixed

People

(Reporter: v.silvansky, Assigned: jfkthame)

Details

(Keywords: verified-aurora, verified-beta, Whiteboard: [qa!])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
Build ID: 20110811165603

Steps to reproduce:

Open any page with <pre> tags (for example, http://www.amystrange.org/UNX-calendar.html or http://chords.auctyon.ru/songs/?song=letileytenant ) 


Actual results:

Any text in <pre> tag is displayed w/o monospacing font. For example, guitar tabs are really ugly.


Expected results:

Text should have been rendered with monospace font.
OS: Windows Server 2003 → Mac OS X
Please try basic trouble shooting.
http://support.mozilla.com/kb/Basic%20Troubleshooting
Nothing helped.
Component: General → Layout: Text
Product: Firefox → Core
QA Contact: general → layout.fonts-and-text
This is specific to Cyrillic-script pages/locales, and occurs because the default font names specified in Firefox preferences are the old "CY" variants of Times/Helvetica/Monaco, but these are no longer shipped with current versions of OS X.

See http://mxr.mozilla.org/mozilla-central/source/modules/libpref/src/init/all.js#2110 and following.

You can fix the problem locally by selecting appropriate fonts in the Preferences dialog, but obviously we should update the initial defaults. With standard Unicode-based fonts now available on the platform, the script-specific "CY" fonts from classic Mac OS are obsolete.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: x86_64 → All
Version: 6 Branch → Trunk
I don't have a 10.7 system to test this on, but it resolves the problem for me on 10.6 at least.

Interestingly, the "Charcoal CY" font is still present on 10.6. Can someone confirm whether it is also shipped on 10.7?
Assignee: nobody → jfkthame
Attachment #555697 - Flags: review?(smontagu)
Attachment #555697 - Flags: review?(smontagu) → review+
Pushed to mozilla-inbound:
http://hg.mozilla.org/integration/mozilla-inbound/rev/c93150bf4479
Whiteboard: [inbound]
(In reply to Jonathan Kew from comment #4)
> Interestingly, the "Charcoal CY" font is still present on 10.6. Can someone
> confirm whether it is also shipped on 10.7?

Yes, I see Charcoal CY, Geneva CY and Helvetica CY in the Font book,
but no other CY.
http://hg.mozilla.org/mozilla-central/rev/c93150bf4479
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla9
This seems a serious bug for the affected locales with a trivial fix.
Should it land on Aurora and Beta?
Summary: Tag <pre> is ignored on Firefox 5/6 under Mac OS 10.6/10.7 → Tag <pre> is ignored on Firefox under Mac OS 10.6/10.7 (Cyrillic script)
Whiteboard: [qa+]
Setting resolution to Verified Fixed on:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20100101 Firefox/9.0 beta 2
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0a2) Gecko/20111121 Firefox/10.0a2
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0a1) Gecko/20111121 Firefox/11.0a1

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0) Gecko/20100101 Firefox/9.0 beta 2
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0a2) Gecko/20111121 Firefox/10.0a2
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0a1) Gecko/20111121 Firefox/11.0a1

I have used the steps from the description in order to verify this and the text is rendered as expected.
Status: RESOLVED → VERIFIED
Whiteboard: [qa+] → [qa!]
You need to log in before you can comment on or make changes to this bug.