Bug 923215 - Odia rendering is broken while editing through firefox browser.
Summary: Odia rendering is broken while editing through firefox browser.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lohit-oriya-fonts
Version: 18
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Pravin Satpute
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-19 12:43 UTC by Manoj Kumar Giri
Modified: 2015-04-20 00:45 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-07 18:34:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
correct rendering sample for comparison. (10.89 KB, application/pdf)
2013-03-21 05:09 UTC, Manoj Kumar Giri
no flags Details
Screenshot showing the affected rendering. (18.86 KB, image/png)
2013-03-21 10:14 UTC, Manoj Kumar Giri
no flags Details

Description Manoj Kumar Giri 2013-03-19 12:43:30 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
Build Identifier: 

Odia rendering is broken in most of the cases while translating online through firefox browser.

Reproducible: Always

Comment 1 Alex Eng 2013-03-19 21:51:50 UTC
Monoj, 
Can you provide us the URL to the problem and if possible details of the problem?

Comment 2 Manoj Kumar Giri 2013-03-20 06:53:48 UTC
https://translate.zanata.org/zanata/webtrans/translate?project=subscription-manager&iteration=1.8.X&localeId=or&locale=en#view:doc;doc:keys

string : ସ୍ଥାପିତ ଉତ୍ପାଦନର ବର୍ତ୍ତମାନ ସ୍ଥିତି: 
rendering issue part : ବର୍ତ୍ତମାନ

https://translate.zanata.org/zanata/webtrans/translate?project=subscription-manager&iteration=1.8.X&localeId=or&locale=en#view:doc;doc:keys

string: %s:%s%s ରେ ସର୍ଭରକୁ ପହଞ୍ଚିବାରେ ଅସମର୍ଥ
rendering issue part : ପହଞ୍ଚିବାରେ
string: ତନ୍ତ୍ର ପ୍ରମାଣପତ୍ରଗୁଡ଼ିକ ତ୍ରୁଟିଯୁକ୍ତ ହୋଇଛି। ଦୟାକରି ପଞ୍ଜିକରଣ କରନ୍ତୁ।
rendering issue part : ପଞ୍ଜିକରଣ 

These are few examples found randomly which are not there in earlier version.
It may be due to Firefox and nothing to do with Zanata. But as firefox is the default browser the issue can not be ignored.

Comment 3 Alex Eng 2013-03-20 22:16:32 UTC
Monoj, 

Which version of firefox are you using? 

I tested in both chrome(Version 25.0.1364.97) and firefox(10.0.11), and both works fine. 

Also, is it possible for you to attach and screen shot of the issue? 
thanks

Comment 4 Manoj Kumar Giri 2013-03-21 05:06:28 UTC
Hi Alex,

I'm using Firefox (19.0.2-1.fc17) and chromium-bsu.x86_64 (0.9.15-2.fc17).
It's showing incorrect rendering in both the browser. I've tested it in lokalize and other editor where it is showing correctly. Attached the correct rendering taken in gedit for comparison.

Thanks,
Manoj

Comment 5 Manoj Kumar Giri 2013-03-21 05:09:50 UTC
Created attachment 713596 [details]
correct rendering sample for comparison.

Comment 6 Manoj Kumar Giri 2013-03-21 05:14:27 UTC
Hi Pravin,
Can you please put some light on this to identify the correct issue.

Thanks,
Manoj

Comment 7 Alex Eng 2013-03-21 05:24:50 UTC
Manoj, 

Sorry, if you can print screen on what actually rendered in your browser compare to what it actually should be of those string?

Comment 8 Alex Eng 2013-03-21 05:37:19 UTC
Manoj,

Correct me if I'm wrong below, I'm assuming here:

What is should be: ସ୍ଥାପିତ ଉତ୍ପାଦନର ବର୍ତ୍ତମାନ ସ୍ଥିତି: 
What is rendered in your screen(issue): ବର୍ତ୍ତମାନ


What is should be: %s:%s%s ରେ ସର୍ଭରକୁ ପହଞ୍ଚିବାରେ ଅସମର୍ଥ
What is rendered in your screen(issue): ପହଞ୍ଚିବାରେ


What is should be:ତନ୍ତ୍ର ପ୍ରମାଣପତ୍ରଗୁଡ଼ିକ ତ୍ରୁଟିଯୁକ୍ତ ହୋଇଛି। ଦୟାକରି ପଞ୍ଜିକରଣ କରନ୍ତୁ।
What is rendered in your screen(issue): ପଞ୍ଜିକରଣ

Also, can you check if you browser settings are as below:

Firefox: 
Top menu -> View -> character encoding -> unicode(UTF-8)
Top menu -> Edit -> Preferences -> Content -> Advanced (beside font & colors) -> checked the "Allow pages to choose their own fonts ...." and Default Chracter Encoding = Unicode (UTF-8)

Comment 9 Pravin Satpute 2013-03-21 06:47:39 UTC
(In reply to comment #8)
> Manoj,
> 
> Correct me if I'm wrong below, I'm assuming here:
> 
> What is should be: ସ୍ଥାପିତ ଉତ୍ପାଦନର ବର୍ତ୍ତମାନ ସ୍ଥିତି: 
> What is rendered in your screen(issue): ବର୍ତ୍ତମାନ

I think Manoj wants to say out of string "ସ୍ଥାପିତ ଉତ୍ପାଦନର ବର୍ତ୍ତମାନ ସ୍ଥିତି " only word "ବର୍ତ୍ତମାନ" is not rendered correctly.


I am not able to reproduce this problem yet. 

Manoj, can you simply paste only affected string/words and there correct rendering .png may be. It will help for testing.

Comment 10 Manoj Kumar Giri 2013-03-21 10:14:33 UTC
Created attachment 713726 [details]
Screenshot showing the affected rendering.

Comment 11 Manoj Kumar Giri 2013-03-21 10:18:02 UTC
(In reply to comment #8)
> Manoj,
> 
> Correct me if I'm wrong below, I'm assuming here:
> 
> What is should be: ସ୍ଥାପିତ ଉତ୍ପାଦନର ବର୍ତ୍ତମାନ ସ୍ଥିତି: 
> What is rendered in your screen(issue): ବର୍ତ୍ତମାନ
> 
> 
> What is should be: %s:%s%s ରେ ସର୍ଭରକୁ ପହଞ୍ଚିବାରେ ଅସମର୍ଥ
> What is rendered in your screen(issue): ପହଞ୍ଚିବାରେ
> 
> 
> What is should be:ତନ୍ତ୍ର ପ୍ରମାଣପତ୍ରଗୁଡ଼ିକ ତ୍ରୁଟିଯୁକ୍ତ ହୋଇଛି। ଦୟାକରି ପଞ୍ଜିକରଣ
> କରନ୍ତୁ।
> What is rendered in your screen(issue): ପଞ୍ଜିକରଣ
Issue is well described here.
> 
> Also, can you check if you browser settings are as below:
> 
> Firefox: 
> Top menu -> View -> character encoding -> unicode(UTF-8)
> Top menu -> Edit -> Preferences -> Content -> Advanced (beside font &
> colors) -> checked the "Allow pages to choose their own fonts ...." and
> Default Chracter Encoding = Unicode (UTF-8)

Firefox setting is same as above.

Comment 12 Alex Eng 2013-03-21 20:17:50 UTC
Manoj, 
From the screenshot you provided above, what the actual string should be rendered as?

Comment 13 Manoj Kumar Giri 2013-03-22 07:52:29 UTC
(In reply to comment #12)
> Manoj, 
> From the screenshot you provided above, what the actual string should be
> rendered as?

Please compare the two attachments. 
https://bugzilla.redhat.com/attachment.cgi?id=713596 [correct rendering]
https://bugzilla.redhat.com/attachment.cgi?id=713726 [incorrect rendering]

Comment 14 Alex Eng 2013-03-24 21:49:33 UTC
Manoj, 

I've tested locally with firefox and chrome, both displayed as

Incorrect render - ବର୍ତ୍ତମାନ rather than
Correct render - ବ��ମାନ

The fact that even when I tried to copy and paste the "correct" rendered character (as you can see from above ��), the browser(both chrome and firefox) doesn't recognize it at all. And this happened as well when I tried to copy and paste in Gedit or any text editor, all displayed as ��. 

This might suggest that it needs some specific font to be install in the your operating system to get it display properly.


Can you please try in other machine and see if you can get it display properly? on both text editor and browser.

Comment 15 Manoj Kumar Giri 2013-04-09 11:35:52 UTC
Hi,
Kindly refer these unicode values and respective images in given link for correct rendering.

ବର୍ତ୍ତମାନ (ବ ର ୍ ତ ୍ ତ ମ ା ନ) = U+0B26+0B30+0B24+0B4D+0B24+0B2E+0B3E+0B28
http://utrrs-testing.rhcloud.com/language/or/gsub
(serial no 123- U+0B30+0B24+0B4D+0B24)

ପଞ୍ଜିକରଣ (ପ ଞ ୍ ଜ ି କ ର ଣ) = U+0B2A+0B1E+0B4D+0B1C+0B3F+0B15+0B30+0B23
http://utrrs-testing.rhcloud.com/language/or/gsub
(serial no 52- U+0B1E U+0B4D U+0B1C)

ପହଞ୍ଚିବା (ପ ହ ଞ ୍ ଚ ି ବ ା) = U+0B2A+0B39+0B1E+0B4D+0B1A+0B3F+0B2C+0B3E
http://utrrs-testing.rhcloud.com/language/or/gsub
(serial no 50- U+0B1E U+0B4D U+0B1A)

http://www.unicode.org/charts/PDF/U0B00.pdf

I hope this info will help you to identify the issue.

Thanks,
Manoj

Comment 16 Manoj Kumar Giri 2013-04-09 12:19:42 UTC
Hi,
I've tested it again in fedora-18 and found that it is breaking in most of the applications. Nothing to do with Zanata.

Thanks,
Manoj

Comment 17 Pravin Satpute 2013-04-09 12:55:03 UTC
Thanks Manoj for detail comments. This looks to me problem of fonts and newly written open type layout shaper Harfbuzz-NG.

Lets move it to lohit-oriya for now.

Comment 18 Manoj Kumar Giri 2013-04-09 13:29:13 UTC
Thanks a lot Pravin!

http://utrrs-testing.rhcloud.com/language/or/gsub
In the above link, i've tested the rendering of gsub characters and found that by adding matras like (ି - U+0B3F) and (ର୍ - U+0B30+0B24) causes the rendering issue. These are some example of randomly tested character. There may be similar kind of issues.

Thanks,
Manoj

Comment 19 Pravin Satpute 2013-04-24 06:59:41 UTC
Tested GSUB test case 123 on Windows as well, looks like problem with Lohit-Oriya rather than Harfbuzz-NG

Comment 20 Fedora Update System 2013-04-26 06:20:37 UTC
lohit-oriya-fonts-2.5.3-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/lohit-oriya-fonts-2.5.3-3.fc19

Comment 21 Fedora Update System 2013-04-26 06:21:48 UTC
lohit-oriya-fonts-2.5.3-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/lohit-oriya-fonts-2.5.3-3.fc18

Comment 22 Manoj Kumar Giri 2013-04-26 08:04:33 UTC
Tested, Looks good now.
Thanks a lot Pravin.

Comment 23 Fedora Update System 2013-05-07 18:34:55 UTC
lohit-oriya-fonts-2.5.3-3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.