Closed Bug 132341 Opened 22 years ago Closed 29 days ago

mozilla ignores font set via css / html attributes for some languages

Categories

(Core Graveyard :: GFX: Mac, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: xslf, Unassigned)

References

Details

(Keywords: intl)

Attachments

(2 files, 3 obsolete files)

mozilla 2002031708/mac 9.2.2:
mozilla is ignoring the hebrew font I spcify him in my CSS. I tried to use 
arial and arial hebrew (the name of the font on the system is arial hebrew, 
althugh some application display the font name in hebrew). but mozilla is 
still using my default font for Hebrew encoding (rannana).
see attached example
Attached file a sample file (obsolete) —
reporter: nc4 indicates that file has an unterminated <script tag. i presume 
this wasn't intentional.
Summary: mozilla ignors Hebrew font set in the page → mozilla ignores Hebrew font set in the page
no, that was not intentional. but even after removing it, mozilla does not use 
the font specificed.
Attached file fixed sample html file (obsolete) —
Attachment #75201 - Attachment is obsolete: true
With "arial" it works for me, so the problem seems to be with finding the right
name for your font. Do other fonts work?
it looks like some of it is platform diffrences: while on windows arial and
arial hebrew are actaully one font, on mac they are two separate fonts, and it
seems that mozilla is not smart enugh to know that they are the same.
All other common fonts that ae on both mac and windows have the same problem.

With mac only fonts, many Hebrew fonts have Hebrew names and are type1, not true
type- which seems to confuse mozilla as well. 
This bug is targeted at a Mac classic platform/OS, which is no longer supported
by mozilla.org. Please re-target it to another platform/OS if this bug applies
there as well or resolve this bug.

I will resolve this bug as WONTFIX in four weeks if no action has been taken.
To filter this and similar messages out, please filter for "mac_cla_reorg".
Attached file update testcase
As Arial is my default font, I have changed the test case to use Raanana font.
mozilla still uses Arial, and does not respect this font.

Perhaps this is related to bug 120401?
Attachment #75422 - Attachment is obsolete: true
forgot to write: Tested with Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O;
en-US; rv:1.5b) Gecko/2003090803 on osx 10.2.6
Depends on: 120401
Retargeting OS as per comment 9.
OS: Mac System 9.x → MacOS X
This bug is still appearing in the latest nightlies. In combination with bug
#120401 we got a real problem for Hebrew pages on mozilla mac
Blocks: 103669
Blocks: 240501
This is not Hebrew specific bug.

I'm also not not sure about the status of this bug, now that we fixed bug 120401.

From my checks:
 * bold and italic are fixed now.
 * font-family: serif / font-family: sans-serif  are also fixed.
but:
 * font-family: SomeFont; doesn't work, not via css, not via html attributes.
but it does work on form elements (see: wiki.mozilla.org.il, notice that other
sites will use your systemfont).
Component: Layout: BiDi Hebrew & Arabic → GFX: Mac
Keywords: intl
Summary: mozilla ignores Hebrew font set in the page → mozilla ignores font set via css / html attributes for some languages
Blocks: 243698
Assignee: mkaply → sfraser
QA Contact: zach
*** Bug 262077 has been marked as a duplicate of this bug. ***
Attachment #131079 - Attachment mime type: text/html → text/html; charset=x-mac-hebrew
This bug is still there in the 2.x line. Downloding a V3 build to test on- will update when I will have more info.
(In reply to comment #15)
> Created an attachment (id=291935) [details]
> A unicode test case, using one of the default fonts on the mac
> 

Ariel Hebrew is the default font on trunk for the hebrew group FYI.
Assignee: sfraser_bugs → joshmoz
QA Contact: mac
Tested with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b2pre) Gecko/2007120604 Minefield/3.0b2pre
and using a new test document that sets Raanana- looks good.

Asaf- which other languages did you say where affected by this?
Attachment #291935 - Attachment is obsolete: true
All languages noted on bug 120401, IIRC. Note that the back-end for this has been completely rewritten (replaced, actually).
Am I the only one to see this partially regress this week, at least with build
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2007121604 Minefield/3.0b3pre
?

Sites that worked ok (like tapuz and ynet) in earlier builds this week now don't show the site-defined font but the fonts I set.
http://tapuz.co.il/ and the testcases attached here work for me, but http://www.ynet.co.il/ uses my default font. I don't know if it's relevant that ynet seems to declare the language as Hebrew but tapuz doesn't.
It's probably best to wait for bug 396137 to land and then file new bugs if there are still issues.
This is bug is still here with  Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2008011304 Minefield/3.0b3pre ID:2008011304

Should I go ahead and file another bug about this?
Ynet specifies BODY {FONT-FAMILY: "Arial", "Arial (Hebrew)", "David (Hebrew)", "Courier New (Hebrew)";}

"Arial" doesn't contain glyphs for Hebrew, and the other fonts don't exists (on my system, anyway) (there's "Arial Hebrew", without the parentheses, but that doesn't help). So Firefox does the reasonable thing and falls back on the default font. Shoshannah, Simon - are you seeing anything else?
Product: Core → Core Graveyard
Assignee: joshmoz → nobody
Status: NEW → RESOLVED
Closed: 29 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: