lethargic_man: (Default)
[personal profile] lethargic_man
Mozilla is a good web browser, in many ways. However, it does have some flaws in it, one of which is that it doesn't render vowellated Hebrew properly in Linux: the vowels render between the letters, rather than above, below and within them.

Turns out, I learned from Bugzilla, that this is a known problem and at some point support for the native Linux renderer, Pango (which is capable of rendering Hebrew correctly) will be built in, though as the above bug has been open for five years now, I'm not holding my breath.

The solution, it seems, is to build Mozilla myself with --enable-pango, rather than just downloading a prebuilt executable.

So, I download the Mozilla source at work, stick it onto my USB fob, and bring it home. I open up the tarball, and start writing a .mozconfig file, as recommended, starting it with . $topsrcdir/browser/config/mozconfig. Only browser/ doesn't exist at all. I can't figure out what's going on here. The Mozilla source code tarball appears not to contain the source code for the Mozilla browser! Am I missing something here (apart from the code)? Apparently not: make -f client.mk build fails.

Running make -f client.mk checkout MOZ_CO_PROJECT=browser appears to be starting to get the missing code. But doing a CVS checkout of even only a portion of the codebase over a narrowband connection is almost certainly not a good idea (the part I already have comes to 319M uncompressed!).

Looks like I'm going to be taking my USB fob back along with me to work tomorrow. (Then rinse, lather and repeat.) Possibly the solution is to try building it there, then zip up the whole code hierarchy to bring home once I've got to the point where it builds successfully.

Date: 2005-11-03 12:26 pm (UTC)
From: [identity profile] compilerbitch.livejournal.com
Mozilla is Not Small. I have built it from source myself (can't remember why now) some time ago, and I do remember it being something of a pain.

I can also recommend Bulldog 8MBit/s broadband...

Date: 2005-11-03 01:17 pm (UTC)
From: [identity profile] lethargic-man.livejournal.com
Everyone recommends me (http://www.livejournal.com/users/lethargic_man/39477.html) a different broadband ISP!

Date: 2005-11-03 09:03 pm (UTC)
From: [identity profile] lethargic-man.livejournal.com
Got further on it today, but still haven't got past configure. Currently it's complaining it needs Pango >= 1.5.0, but yum update pango only takes me up to 1.4.1-1 on my Fedora Core 2 system, which suggests that Pango 1.5 has a dependency on something in Fedora Core 3. Well, enough for today. More at the weekend. If I feel like it.

Date: 2005-11-04 01:50 pm (UTC)
From: [identity profile] lethargic-man.livejournal.com
Bah, I've just discovered Pango is on by default from Fedora Core 3. I wonder how much effort it's going to be to get the Mozilla from Fedora Core 3 working with Fedora Core 2.

Date: 2005-11-04 01:53 pm (UTC)
From: [identity profile] compilerbitch.livejournal.com
Probably more hassle than upgrading to Core 3. Pango is probably turned off in 2 for a good reason (i.e., er, this reason!)

Date: 2005-11-05 08:48 pm (UTC)
From: [identity profile] lethargic-man.livejournal.com
I think it's only turned off because it's the default, and for most usages - including 99.9% of Hebrew, which won't be pointed with vowels - the default renderer suffices.

I've now got Mozilla 1.7.3 installed from Fedora Core 3. about:configure shows Pango is enabled. I've got the font set to one which can handle Hebrew vowels correctly. And yet it's still rendering it wrong. *sigh* Should have known it looked too easy a solution. :-S

Problem solved!

Date: 2005-11-05 08:57 pm (UTC)
From: [identity profile] lethargic-man.livejournal.com
Belay the above! I'd forgotten to set the environment variable MOZ_ENABLE_PANGO. Problem solved, and without having to upgrade to Fedora Core 3 - which would be a bit of a problem, as I foolishly set up my system without putting /home on a separate partition. One day I will have to upgrade, I'm sure... but not just yet.

Date: 2005-11-05 10:24 am (UTC)
liv: alternating calligraphed and modern letters (letters)
From: [personal profile] liv
I think this does rather prove my point that handling Hebrew on the web requires a lot more work than just making sure everything supports Unicode. Good luck getting it sorted, though.

Date: 2005-11-05 09:01 pm (UTC)
From: [identity profile] lethargic-man.livejournal.com
All right, all right, I concede! I've sorted it now... and have just realised this new renderer also displays Hebrew in bold and italic too, which the old one did not. I'm not sure even IE is that good.

Profile

lethargic_man: (Default)
Lethargic Man (anag.)

May 2025

S M T W T F S
    123
45678910
11121314151617
181920212223 24
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Monday, June 16th, 2025 02:29 pm
Powered by Dreamwidth Studios