Bug 635956 - [hi_IN] Dependent Vowel U0952 is not rendering correctly when typed alone
Summary: [hi_IN] Dependent Vowel U0952 is not rendering correctly when typed alone
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: harfbuzz
Version: 20
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 619283
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-21 06:45 UTC by Pravin Satpute
Modified: 2013-12-23 03:42 UTC (History)
8 users (show)

Fixed In Version:
Clone Of: 619283
Environment:
Last Closed: 2013-12-23 03:42:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pravin Satpute 2010-09-21 06:45:57 UTC
+++ This bug was initially created as a clone of Bug #619283 +++

Description of problem:
0952 is not rendering correctly. there are 2 different rendering for this character when typed alone.
1) when typed first character on any line the its invisible
2) when typed as non-first character on any line its not showing dotted circle.

Version-Release number of selected component (if applicable):
pango-1.28.0-1.fc13.i686

How reproducible:
always

Steps to Reproduce:
1.start gedit
2. try to type U0952 character
3. observe its rendering which looks invisible when typed as first character or is without dotted circle when typed as non-first character.
  
Actual results:
like other unicode characters 0953 or 0962 or 0942, is invisible as first character and not rendering with dotted circle

Expected results:
it should render with dotted circle and visible when typed as first character on any line in gedit

Additional info:

--- Additional comment from pnemade on 2010-07-29 03:45:51 EDT ---

Created attachment 435208 [details]
When typed 0952 as first character

--- Additional comment from pnemade on 2010-07-29 03:48:49 EDT ---

Created attachment 435209 [details]
When typed 0952 as non-first character

--- Additional comment from pnemade on 2010-07-29 03:49:37 EDT ---

Created attachment 435210 [details]
unicode chart 0952 rendering

--- Additional comment from psatpute on 2010-08-04 02:06:27 EDT ---

i tried to debug this last time
whenever we pass U+0952 to pango it is not getting processed by indic module (processing with basic module), thats is the basic problem
i am trying to debug it more to see why it is not getting processed by indic module

--- Additional comment from psatpute on 2010-08-12 13:04:31 EDT ---

Created attachment 438488 [details]
patch for fixing problem of U+0951 and U+0952

main problem is in glib2 function g_unichar_get_script()

this function returning "G_UNICODE_SCRIPT_INHERITED" for U+0951 and U=0952

that's why pango is processing these characters with Basicfc engine

g_unichar_get_script() should return G_UNICODE_SCRIPT_DEVANAGARI as it is doing returning for other Devanagari script characters

while more investigation i understood that this information is defined in gscripttable.h which is generated from Unicode Character Database Script.txt file

I am writing to Unicode for fixing it,

but it will take some time, attaching patch for fixing it in glib2

--- Additional comment from psatpute on 2010-08-16 03:02:31 EDT ---

i had discussion on same topic in Unicode mailing list

and the answer i got is,

if any unicode character used in multiple script, it will have G_UNICODE_SCRIPT_INHERITED property, it means characters will inherit script property from  previous character. so this is write things as per glib2

moving again bug to Pango, as other icu and qt handling it properly

http://www.unicode.org/mail-arch/unicode-ml/y2010-m08/0148.html

--- Additional comment from psatpute on 2010-08-17 02:07:32 EDT ---

upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=627027

--- Additional comment from psatpute on 2010-09-14 04:58:54 EDT ---

This is very low priority bug presently, its is not affecting any thing.

This character not in used in any major Indian language. Even in real text this always comes with some characters preceding it, in that case it is rendering properly.

It is rendering improper only when it comes alone.

Comment 1 Parag Nemade 2012-07-06 11:55:00 UTC
Still present in F17

Comment 2 Parag Nemade 2013-01-17 04:08:02 UTC
Still present in F18, harfbuzz-0.9.9

Comment 3 Behdad Esfahbod 2013-01-17 04:12:14 UTC
This is the correct upstream bug:

  https://bugzilla.gnome.org/show_bug.cgi?id=662313

Comment 4 Fedora End Of Life 2013-12-21 08:26:18 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Pravin Satpute 2013-12-23 03:42:51 UTC
This is working fine now. We can close this.


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