Open Bug 740161 Opened 12 years ago Updated 2 years ago

Rendering issue for devanagari

Categories

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

x86
macOS
defect

Tracking

()

People

(Reporter: shantanoo, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20100101 Firefox/11.0
Build ID: 20120310173008

Steps to reproduce:

Typed र्‍या and र्‍ह



Actual results:

Rendering is not correct.
र्‍या and र्‍ह is rendered as ऱ्या and ऱ्ह respectively. 


Expected results:


It should have been rendered as follow
silpa.org.in/Render?text=र्‍या%20र्‍ह 
And not as 
silpa.org.in/Render?text=ऱ्या%20ऱ्ह
Component: Untriaged → Layout: Text
Product: Firefox → Core
QA Contact: untriaged → layout.fonts-and-text
To clarify, as how the Devanagari text in comment #0 appears will be dependent on the OS, browser and fonts being used to view the bug report, the issue here is that a sequence such as

  U+0930 RA, U+094D VIRAMA, U+200D ZWNJ, U+092F YA, U+093E AA-MATRA

is being rendered identically to

  U+0931 RRA, VIRAMA, YA, AA-MATRA

with both generating the glyph sequence

  eyelash-ra, ya, aa-matra

whereas the first sequence *should* render the glyphs

  ra, halant, ya, aa-matra
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: 11 Branch → Trunk
Note that this is occurring on OS X, using the Devanagari MT font, which means we're using the Core Text codepath.

What puzzles me is that I don't see the same behavior with Devanagari MT in other applications such as TextEdit. Possibly a discrepancy between Core Text and Cocoa Text?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: