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

VERIFIED FIXED in Firefox 9

Status

()

Core
Layout: Text
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: Valentine Silvansky, Assigned: jfkthame)

Tracking

({verified-aurora, verified-beta})

Trunk
mozilla9
All
Mac OS X
verified-aurora, verified-beta
Points:
---

Firefox Tracking Flags

(firefox6 affected, firefox7 affected, firefox8 affected, firefox9 fixed)

Details

(Whiteboard: [qa!])

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
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.
(Reporter)

Updated

6 years ago
OS: Windows Server 2003 → Mac OS X

Comment 1

6 years ago
Please try basic trouble shooting.
http://support.mozilla.com/kb/Basic%20Troubleshooting
(Reporter)

Comment 2

6 years ago
Nothing helped.

Updated

6 years ago
Component: General → Layout: Text
Product: Firefox → Core
QA Contact: general → layout.fonts-and-text
(Assignee)

Comment 3

6 years ago
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
(Assignee)

Comment 4

6 years ago
Created attachment 555697 [details] [diff] [review]
patch, v1 - update Cyrillic font prefs for OS X

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+
(Assignee)

Comment 5

6 years ago
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
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla9

Comment 8

6 years ago
This seems a serious bug for the affected locales with a trivial fix.
Should it land on Aurora and Beta?
status-firefox6: --- → affected
status-firefox7: --- → affected
status-firefox8: --- → affected
status-firefox9: --- → fixed

Updated

6 years ago
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+]

Comment 9

6 years ago
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
Keywords: verified-aurora, verified-beta
Whiteboard: [qa+] → [qa!]
You need to log in before you can comment on or make changes to this bug.