Closed Bug 394222 Opened 17 years ago Closed 15 years ago

Indic text is not rendered correctly on Windows

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: szhorvat, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007082805 Minefield/3.0a8pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007082805 Minefield/3.0a8pre

Indic text is not rendered correctly on Windows in Minefield 2007082805.  On the Wikipedia test page, Bengali, Oriya, Tibetan, and Telugu appear incorrectly.

All scripts on this test page are rendered correctly in Firefox 2.0.0.6.


Reproducible: Always





This is on Windows XP SP2 with usp10.dll 1.624.5600.16384 dropped in the Firefox folder.  Note that Firefox 3 renders the page in the same way with the system's default usp10.dll (1.420.2600.2180 in this case).

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007082805 Minefield/3.0a8pre ID:2007082805
Component: General → Layout: Fonts and Text
Product: Firefox → Core
QA Contact: general → layout.fonts-and-text
Version: unspecified → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
Firefox 2.0.0.6 is even worse in my case : Devanagari, Gujarati, Gurmukhi, Kannada, Malayalam and Tamil are also incorrect, next to the one mentioned above (Bengali, Oriya, Tibetan, and Telugu). Note that I don't have complex text support enabled.

Firefox 3.0 now uses Thebes and Cairo for all display code. And what do we find in http://lxr.mozilla.org/seamonkey/source/gfx/thebes/src/gfxPangoFonts.cpp ? The array PangoAllLangGroup (starting at line 1715) has empty entries for ... Oriya, Tibetan and Telugo. Devanagari, Gujarati, Gurmukhi, Malayalam and Tamil all have entries. Coincidence? The only languages where this pattern doesn't fit is Bengali and Kannada.

gfxPangoFonts has nothing to do with problems on Windows.
Component: Layout: Fonts and Text → GFX: Thebes
QA Contact: layout.fonts-and-text → thebes
I'm guessing that you need an updated uniscribe (such as the one shipped with Vista) to support those scripts.
I don't think that's the issue: my WinXP SP2 box renders this just fine on trunk and branch.

Do you happen to know which fonts the broken renderings are using?
for me on xp sp2 we render everything correctly except for Oriya, Tibetan and Telugu -- all of which i think are supported properly in Vista.
I should add that this is with Uniscribe 1.420.2600.2180
(In reply to comment #4)
> I'm guessing that you need an updated uniscribe (such as the one shipped with
> Vista) to support those scripts.

Yes, as I mentioned, I have a more recent Uniscribe dll in the Firefox folder (1.624.5600.16384).  Without it Firefox 2 does not display all scripts correctly.

(In reply to comment #5)
> Do you happen to know which fonts the broken renderings are using?

Now that you mention this I noticed that all the broken renderings are using different fonts in Minefield than in Fx 2.  But I have no idea how to find out which fonts are being used.
I removed those fonts which I installed for the correct display of Oriya and Tibetan, but nothing has changed in Minefield, so it was not these two fonts that caused the trouble.

If the Bengali font is manually set to Vrinda (which was the default in IE for Bengali on this system) in Options->Content->Fonts->Advanced, then Bengali is displayed correctly.  However, unlike IE, Firefox has no font settings for Kannada, Oriya, Tibetan, or Telugu.

In Fx 2 it was not necessary to change this setting manually.

I would also like to note that when Bengali was selected in the "Fonts" dialog, the selected font names stayed on the same value they had with the last selected language.
see also bug 378105 for a new list of default fonts
My Internet Explorer 6 can render the text correct of websites, like www.bombaysamachar.com , gujarati.bseindia.com but niether Firefox 2.*** nor Firefox 3.*** can display it.
This appears to be rendering correctly on both XP and Vista according to the expected results in that table for Fx 3.0. If you're still seeing issues, please re-open the bug.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: