Bug 479100 - [kn_IN] Conjunct combination of U0C9D with U0CCA/U0CCB is rendering wrongly
Summary: [kn_IN] Conjunct combination of U0C9D with U0CCA/U0CCB is rendering wrongly
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lohit-fonts
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Rahul Bhalerao
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-07 07:00 UTC by Padmanabhan V. K.
Modified: 2009-03-05 14:36 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-05 14:36:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Incorrect rendering of U0C9D U0CCA U0C9D U0CCB (2.17 KB, image/png)
2009-01-07 07:03 UTC, Padmanabhan V. K.
no flags Details
attachemnt showing unicode combination 0c9d-0cca-0c9d-0ccb (44.90 KB, image/png)
2009-01-13 06:33 UTC, Pravin Satpute
no flags Details
Screenshot of fontforge showing the correct glyphs (10.70 KB, image/png)
2009-01-17 17:51 UTC, Padmanabhan V. K.
no flags Details

Description Padmanabhan V. K. 2009-01-07 07:00:58 UTC
+++ This bug was initially created as a clone of Bug #233257 +++

Description of problem:
Wrong Conjuct combinations are formed for U0C9D+U0CCA and U0C9D+U0CCB.

Version-Release number of selected component (if applicable):
fonts-kannada-2.1.5-3.fc8

How reproducible:
1. Every Time

Steps to Reproduce:
1. Open gnome-character-map.
2. Select U0C9D followed by U0CCA followed by U0C9D followed by U0CCB.
  
Actual results:
As shown in the attached image

Expected results:

As shown by the following steps:
1. Install http://kannadakasturi.com/font/brhknd.ttf.
2. Open http://kannadakasturi.com/includes/transliterate.asp.
3. Enter the combination JoJO.

Additional info:

1. The fonts from http://sourceforge.net/project/showfiles.php?group_id=56358 also show the glyphs like kannadakasturi.com instead of like Lohit Kannada.
2. This is similar to earlier bugs: bug 231965 and bug 233257.
Hence I assume Lohit Kannada is at fault and not the other fonts.

Comment 1 Padmanabhan V. K. 2009-01-07 07:03:19 UTC
Created attachment 328351 [details]
Incorrect rendering of U0C9D U0CCA U0C9D U0CCB

Comment 2 Padmanabhan V. K. 2009-01-08 04:35:31 UTC
Using the program from http://gfontview.sourceforge.net/ it is seen that there already are glyphs in the font named U0C9D_U0CCA.pstf and U0C9D_U0CCB.pstf which show the correct conjuncts. Only the mappings between the character combinations and the glyphs to be displayed need to be added/corrected.

Comment 3 Bug Zapper 2009-01-09 06:50:53 UTC
Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Jens Petersen 2009-01-13 01:47:40 UTC
Rahul what is the status of this?

Comment 5 Pravin Satpute 2009-01-13 06:06:02 UTC
(In reply to comment #0)
> +++ This bug was initially created as a clone of Bug #233257 +++
> 
> Description of problem:
> Wrong Conjuct combinations are formed for U0C9D+U0CCA and U0C9D+U0CCB.
> 
> Version-Release number of selected component (if applicable):
> fonts-kannada-2.1.5-3.fc8
> 
> How reproducible:
> 1. Every Time
> 
> Steps to Reproduce:
> 1. Open gnome-character-map.
> 2. Select U0C9D followed by U0CCA followed by U0C9D followed by U0CCB.
> 
> Actual results:
> As shown in the attached image
> 
> Expected results:
> 
> As shown by the following steps:
> 1. Install http://kannadakasturi.com/font/brhknd.ttf.

i tried this font
it is not a valid unicode font
all kannada characters are pasted on Latin Unicode positions, i doubt this is done for transliteration purpose
There is no characters on Kannada unicode code point, so i think it will default show Lohit Kannada for Kannada character display

Comment 6 Pravin Satpute 2009-01-13 06:15:57 UTC
is this ISCII/ISFOC based fonts?

Comment 7 Pravin Satpute 2009-01-13 06:31:15 UTC
tested same combination in F10 for gedit things working fine

Comment 8 Pravin Satpute 2009-01-13 06:33:02 UTC
Created attachment 328837 [details]
attachemnt showing unicode combination  0c9d-0cca-0c9d-0ccb

Comment 9 Pravin Satpute 2009-01-13 06:35:41 UTC
mistakenly changed version from F8 to F10  
reverting back

Comment 10 Rahul Bhalerao 2009-01-13 12:09:30 UTC
As Pravin said (Comment 5), the example font given is not a unicode/opentype font. Thus it is not possible to understand correct rendering required for the case. Please provide the correct screenshot of expected output. Also, as the EOL for f8 is already reached the bug cannot be filed against f8, please make so making version to 'rawhide'. Please update if the bug is present in the current version of the font and fedora.

Comment 11 Padmanabhan V. K. 2009-01-17 17:43:59 UTC
That font isn't unicode-compliant. The correct rendering will be produced using the steps I gave, viz. entering the combination "JoJO" in the given webpage's text entry.

However as I said in comment 2 the correct rendering is already available in Lohit Kannada as the glyphs: U0C9D_U0CCA.pstf U0C9D_U0CCB.pstf.

Attachment 328837 [details] from comment 8 doesn't match with the above 2 glyphs, so it looks like this bug isn't fixed yet.

[Cc'ing Shankar Prasad since I suppose he will be able to verify this issue like he verified my update to bug 428427.]

Comment 12 Padmanabhan V. K. 2009-01-17 17:51:25 UTC
Created attachment 329287 [details]
Screenshot of fontforge showing the correct glyphs

Comment 13 Rahul Bhalerao 2009-02-26 12:48:01 UTC
U0cca gets normalized into u0cc6+u0cc2. Due to which the direct rules applied for the above given conjuncts do not work. So, we have to write a 'psts' rule for U0c9d+U0cc6+U0cc2. Only problem with this kind of rule is that even if the u0c9d, u0cc6 and u0cc2 follow in this order they get combined instead of the dotted circle being displayed after U0cc6. But that looks like a bug with pango and not the font. So, I will be releasing the fix in this way in next release of lohit.

Comment 14 Rahul Bhalerao 2009-03-05 14:36:32 UTC
Fixed in lohit-fonts-2.3.8. (lohit-kannada-fonts-2.3.8-1)


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