Bug 527719 - [pa_IN] English Characters are bad in shape with Punjabi
Summary: [pa_IN] English Characters are bad in shape with Punjabi
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openoffice.org
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-07 13:28 UTC by A S Alam
Modified: 2013-07-03 00:55 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-10 10:00:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Image with en-US and pa-IN rendering (52.92 KB, image/png)
2009-10-07 13:28 UTC, A S Alam
no flags Details
what I see (83.68 KB, image/png)
2009-10-07 14:20 UTC, Caolan McNamara
no flags Details
gedit font pref screenshot (156.68 KB, image/png)
2009-10-07 16:51 UTC, A S Alam
no flags Details
fc-list output (4.46 KB, text/plain)
2009-10-07 16:52 UTC, A S Alam
no flags Details
standalone fontconfig demo (799 bytes, text/plain)
2009-10-08 11:36 UTC, Caolan McNamara
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenOffice.org 105784 0 None None None Never

Description A S Alam 2009-10-07 13:28:12 UTC
Created attachment 363967 [details]
Image with en-US and pa-IN rendering

Description of problem
English Characters are Bad shape, while using localized Interface with langpack

Version-Release number of selected component (if applicable):
openoffice.org-langpack-pa_IN-3.1.1-19.10.fc12.x86_64

How reproducible:
Evertime

Steps to Reproduce:
1. in gnome-terminal, export LANG=pa_IN.UTF-8 (yum groupinstall punjabi-support)
2. run oowriter
3. check the Menu/Submenu
  
Actual results:
English Characters are in Bad Shape

Expected results:
Good shape

Additional info:
There is bug for windows, may it effected
http://www.openoffice.org/issues/show_bug.cgi?id=104034
Please check above issue

Comment 1 Caolan McNamara 2009-10-07 14:20:51 UTC
Created attachment 363974 [details]
what I see

Looks to me that the UI font doesn't have English characters to another font is glyph-substituted in to get them, and that a handwriting font is being used.

So

a) does e.g. gedit look ok ?
b) whats the output of fc-list ? so that I can match my installed fonts to yours

Comment 2 A S Alam 2009-10-07 16:50:37 UTC
a) yes Gedit is ok (screenshot attach after comment)
b) attaching fc-list.txt file

Comment 3 A S Alam 2009-10-07 16:51:32 UTC
Created attachment 364003 [details]
gedit font pref screenshot

Comment 4 A S Alam 2009-10-07 16:52:41 UTC
Created attachment 364004 [details]
fc-list output

I tried with fresh install rawhide, which has same issue (may helpful)

Comment 5 David Tardon 2009-10-08 06:17:45 UTC
reproduced with 3.1.1-19.10.fc12.x86_64

Comment 6 Caolan McNamara 2009-10-08 11:09:37 UTC
basically I'd say we have a UI font of "Sans", we resolve this correctly to "Lohit Punjabi" and probably throw away somewhere the "Sans", so when we find the westen chars missing we ask fontconfig for something like "Lohit Punjabi" that has the missing glyphs, and we get PakTypeNaqsh. Ideally we'd ask for something like "Sans" which has the missing glyphs.

Comment 7 Caolan McNamara 2009-10-08 11:36:08 UTC
Created attachment 364090 [details]
standalone fontconfig demo

Comment 8 Caolan McNamara 2009-10-08 12:36:39 UTC
So, looking at the standalone case, and digging around. I reckon the best thing to do is to provide an extra hint to fontconfig as to what language the missing characters are in when we don't initially have this information by in psprint/source/fontmanager/fontconfig.cxx using an example language for the script used by say the first missing glyph. 

I got something here that works in this vein and it solves this problem. I just need to extend it to a silly number of scripts for completeness.

Comment 9 Caolan McNamara 2009-10-08 12:57:17 UTC
lets give this a go, I'll build this as 3.1.1-19.11.

Comment 10 Caolan McNamara 2009-10-09 08:10:20 UTC
available for testing from http://kojipkgs.fedoraproject.org/packages/openoffice.org/3.1.1/19.11.fc12/

This works for me, can you guys check this out and see if its ok for you too, and if so I can propose it for F-12

Comment 11 David Tardon 2009-10-09 08:36:45 UTC
works here

Comment 12 A S Alam 2009-10-09 09:32:06 UTC
Thanks Caolan, it is working for me with above version.

Comment 13 Caolan McNamara 2009-10-10 10:00:41 UTC
pushed into F-12


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