Closed Bug 287799 Opened 20 years ago Closed 17 years ago

Hindi (Devnagari script) text-wrapping not perfect

Categories

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

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: youcanspamme, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 When a Unicode page written in Devnagari script (used for Hindi and Marathi languages) is rendered, the text in <p> tags (I'm assuming this), is not wrapped properly, as compared to IE6 for instance. This makes some of the words in each line overflow out of the bounds (on to images, e.g.). Reproducible: Always Steps to Reproduce: 1.Just go to any Unicode webpage using Hindi (Devnagari) scripts 2.Also load the same page in Internet Explorer 6 3.Compare the text-wrapping of the paragraphs. Actual Results: When compared to IE6 (which has perfect Hindi rendering), I found that ONE word which should have been wrapped over to the next line is still left on the original line, and only the next word is wrapped. For example (I'm typing in English rather than Hindi for compatibility reasons. The problem only appears with Hindi [devnagari] script.)- In IE6- This is an example of a sentence which should be wrapped correctly. In Firefox- This is an example of a sentence which should be wrapped correctly. Expected Results: As you can see, the word "which" should be wrapped down to the next line. Most often, there are other elements to the right of such a paragraph, like an image, or another paragraph. The text then overlaps those elements of the page. You can view an example page (linked above) and compare it with IE6 to see a live example. This slightly buggy Devnagari wrapping causes the page's layout to get malformed. I think fixing this bug will go a long way in establishing Firefox as a more standards-compliant browser when it comes to international audiences.
Component: General → Layout: Fonts and Text
Product: Firefox → Core
Version: unspecified → Trunk
Assignee: firefox → nobody
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: general → layout.fonts-and-text
I see this bug in FF2, but not FF3. It would be nice to reftest it, if Devanagari fonts are available on the test boxes.
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.