Bug 151630 - [punjabi] font has some incorrect combinations
Summary: [punjabi] font has some incorrect combinations
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: ttfonts-indic
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Leon Ho
QA Contact:
URL:
Whiteboard:
Depends On: 167692
Blocks: Indic 156322
TreeView+ depends on / blocked
 
Reported: 2005-03-21 06:29 UTC by A S Alam
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHBA-2005-636
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-10-05 15:33:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Lohist fonts problem (c, d,e) (41.52 KB, image/png)
2005-03-21 06:35 UTC, A S Alam
no flags Details
Output fontforge (1.61 KB, text/plain)
2005-03-21 06:37 UTC, A S Alam
no flags Details
font problem in OpenOffice (8.45 KB, image/png)
2005-05-16 05:12 UTC, A S Alam
no flags Details
Gurmukhi Test Case (2.49 KB, text/plain)
2005-09-07 09:21 UTC, Sukhjinder Sidhu
no flags Details
Test Case Solutions (81.27 KB, image/png)
2005-09-26 14:27 UTC, Sukhjinder Sidhu
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2005:636 0 qe-ready SHIPPED_LIVE ttfonts-indic bug fix update 2005-10-05 04:00:00 UTC

Description A S Alam 2005-03-21 06:29:51 UTC
Description of problem:
a) it does not implement 'pstf' to create a
post-base form of Ya when entering Virama + Ya.  See TUS 4.0, ch9, p235.

b)two simple additions of Adak Bindi and Visarg at U+0A01 and
U+0A03 would enable Unicode 4.0 support for the font.

c)  u0A07 + u0A70, where there is no such combination is there in Punjabi.

d) Chaining Substitution by coverage
	  -Rule 0
	     Back coverage -1: u0A07
	     Coverage 0: u0A70
	    -Apply at 0 'L005'
	       u0A70 => glyph147
e)  These variable put worng constrains on Punjabi combination.
-'vatu' Vattu Variants
	   u0A15_u0A30_u0A4D.blwf.vatu <= u0A15 u0A30_u0A4D.blwf
	   u0A21_u0A30_u0A4D.blwf.vatu <= u0A21 u0A30_u0A4D.blwf
	   u0A24_u0A30_u0A4D.blwf.vatu <= u0A24 u0A30_u0A4D.blwf
	   u0A26_u0A30_u0A4D.blwf.vatu <= u0A26 u0A30_u0A4D.blwf
	   u0A2D_u0A30_u0A4D.blwf.vatu <= u0A2D u0A30_u0A4D.blwf
f)  One other rule in same area make incorrect combination.
 Rule 0
	     Back coverage -1: u0A3F
	     Coverage 0: u0A70
	    -Apply at 0 'L005'
	       u0A70 => glyph147

Version-Release number of selected component (if applicable):
ttfonts-pa-1.8-1

How reproducible:
Everytime

Steps to Reproduce:
1. Enter Cons + Virama + Ya
2.
3.
  
Actual results:
a) full form of Ya with a Halant (Virama).
c) incorrect combination

Expected results:
a)Post-base form of Ya
c)Character should render as such

Additional info:

Comment 1 A S Alam 2005-03-21 06:35:51 UTC
Created attachment 112164 [details]
Lohist fonts problem (c, d,e)

Comment 2 A S Alam 2005-03-21 06:37:40 UTC
Created attachment 112165 [details]
Output fontforge

Output for Fontforge, showing incorrect combination in fonts

Comment 4 A S Alam 2005-04-20 08:11:45 UTC
Is there any plan to update fonts???

Comment 6 Sukhjinder Sidhu 2005-05-11 21:22:14 UTC
Does anyone know who is in charge of the Lohit Punjabi font?  It is unusable in
its current state for Punjabi and should either be fixed or removed completely.

As far as I know, Red Hat contracted someone to make these Unicode fonts - I
suggest they either get their money back or get the original contractors to fix it.

Comment 8 A S Alam 2005-05-16 05:09:05 UTC
there is need to add following characters from Hindi Unicode

0964  DEVANAGARI DANDA
 = purna viram
⢠phrase separator
0965  DEVANAGARI DOUBLE DANDA
= deergh viram

these characters are used in Punjabi to show end of Line as Full stop (.) in English
 
without this OpenOffice is not showing (Danda), but BLOCK instead.



Comment 9 A S Alam 2005-05-16 05:12:07 UTC
Created attachment 114408 [details]
font problem in OpenOffice

font problem with OpenOffic

Comment 10 Leon Ho 2005-06-03 04:06:33 UTC
Devel ACK for U2.

Comment 14 Lawrence Lim 2005-09-06 00:35:42 UTC
There are seven issues reported in this bug. I will use this bug as a tracker
and create seven individual bug report. Hope this will make our tracking effort
easier.

a) it does not implement 'pstf' to create a post-base form of Ya when entering
Virama + Ya. - FAIL

b)two simple additions of Adak Bindi and Visarg at U+0A01 and U+0A03 would
enable Unicode 4.0 support for the font. - FAIL

c)  u0A07 + u0A70, where there is no such combination is there in Punjabi. - PASS

d) Chaining Substitution by coverage - FAIL
	  -Rule 0
	     Back coverage -1: u0A07
	     Coverage 0: u0A70
	    -Apply at 0 'L005'
	       u0A70 => glyph147

e)  These variable put worng constrains on Punjabi combination. - PASS
-'vatu' Vattu Variants
	   u0A15_u0A30_u0A4D.blwf.vatu <= u0A15 u0A30_u0A4D.blwf
	   u0A21_u0A30_u0A4D.blwf.vatu <= u0A21 u0A30_u0A4D.blwf
	   u0A24_u0A30_u0A4D.blwf.vatu <= u0A24 u0A30_u0A4D.blwf
	   u0A26_u0A30_u0A4D.blwf.vatu <= u0A26 u0A30_u0A4D.blwf
	   u0A2D_u0A30_u0A4D.blwf.vatu <= u0A2D u0A30_u0A4D.blwf

f)  One other rule in same area make incorrect combination. - FAIL
 Rule 0
	     Back coverage -1: u0A3F
	     Coverage 0: u0A70
	    -Apply at 0 'L005'
	       u0A70 => glyph147

g) adding the following from Hindi Undicode - FAIL

0964  DEVANAGARI DANDA
 = purna viram
⢠phrase separator
0965  DEVANAGARI DOUBLE DANDA
= deergh viram

these characters are used in Punjabi to show end of Line as Full stop (.) in
English without this OpenOffice is not showing (Danda), but BLOCK instead.

Comment 15 Lawrence Lim 2005-09-06 06:47:03 UTC
The new bugs are as follows:

a. Bug 167590 (relates to glyph 149)
b. Bug 167591, 
c. Bug 167592, 
d.+ f. Bug 167594, (relates to glyph 147)
e. Bug 167595, 
g. Bug 167599

Comment 16 Lawrence Lim 2005-09-06 06:48:24 UTC
Removing all deps as bugs created today will be closed automatically soon after
this bug is closed by ERRATA.

Comment 17 Lawrence Lim 2005-09-06 07:00:27 UTC
Priority for bugs in comment #15 is as follows: c, e, g, d, f, a, b 

Comment 18 Sukhjinder Sidhu 2005-09-06 09:38:19 UTC
Found another bug: U+0A5E (à©) and the corresponding 'nukt' feature is missing. 
This should take priority over all the above bugs.

Comment 19 Leon Ho 2005-09-07 01:11:14 UTC
@Comment #18: Sukhjinder, is it possible to submit another bug for this issue?
We can then pass the problem up.

Comment 21 Sukhjinder Sidhu 2005-09-07 09:16:32 UTC
Added Bug 151630.

Comment 22 Sukhjinder Sidhu 2005-09-07 09:21:01 UTC
Created attachment 118544 [details]
Gurmukhi Test Case

This should be useful for you.	More useful for rendering engines I suppose,
but you still may find it helpful.

Comment 23 Sukhjinder Sidhu 2005-09-20 22:22:32 UTC
Ignore comment 21, the correct bug is bug 167692 

Comment 24 Lawrence Lim 2005-09-26 04:55:50 UTC
Comment #22,
Thank you for your Test Case. These are very valuable during testing. Could you
please take a screenshot of your test case? It will be good for matching test
result.

Comment 25 Sukhjinder Sidhu 2005-09-26 14:27:48 UTC
Created attachment 119263 [details]
Test Case Solutions

Comment 26 Sukhjinder Sidhu 2005-09-26 14:30:11 UTC
Shows how a rendering engine in combination with a font *should* show Gurmukhi
text.  The last one is missed out because the ICU CVS build I've used is only
allowing the OO + U combination (and not U + OO) for double vowel signs. 
Because the UTC hasn't decided anything yet in regards to preferred orders, it
might be dangerous implementing a behaviour that allows one method over the other.

Comment 27 Red Hat Bugzilla 2005-10-05 15:33:16 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-636.html


Comment 28 Sukhjinder Sidhu 2005-10-23 23:21:10 UTC
The fix has dramatically improved the situation in my limited testing.  However,
it still does not implement 'pstf' to create a post-base form of Ya when entering
Virama + Ya. But, for some reason, it works fine on Linux and not at all on Windows.

Comment 29 Sukhjinder Sidhu 2005-10-24 00:51:03 UTC
I've also now noticed that the font doesn't include Danda or Double Danda which
is also required for a Gurmukhi font ;)

Shall I open new bugs for these problems?

PS. Your font designer may use AnmolUni or Saab for references at
http://guca.sourceforge.net/typography/fonts/ - they are both GPL fonts.


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