Re: Re: issue with Devanagari rendering



Title: Samsung Enterprise Portal mySingle

Hello all,

 

I came up with a workaround for my application.

 

I parse the input string. Whenever a halant (0x094D) is preceded by a non-consonant glyph, I add a 0x200C (Zero Width Non Joiner).

This ensures the output is as per my requirement.

 

However, this is highly inefficient approach. And, user input is not under my control.

Is there a way to do this by tweaking the Harfbuzz source code a bit?

 

Thanks and regards,

Parth Kanungo

 

 

 

 

 

------- Original Message -------

Sender : Steve White<stevan white gmail com>

Date : Jan 10, 2014 22:37 (GMT+05:30)

Title : Re: issue with Devanagari rendering

 

Behdad,

Please be nice.

You are well aware that development version of FreeFont have fixed
most of the problems.

A release has been delayed mostly because of my own time restrictions,
not due to any inherant problems in the font.

Let's be community members here.


On Thu, Jan 9, 2014 at 11:55 AM, Behdad Esfahbod wrote:
> On 14-01-09 06:51 PM, Parth Kanungo wrote:
>> I expect this "dotted circle" with halant and also a Ra (र)
>
> The halant-ra forms a vattu and that's what you are getting.
>
>> Grammatically, it might be inaccurate. But, my problem is related with "input
>> method".
>>
>> So, if a user enters something wrong, my application should be able to render it.
>>
>>
>>
>> ------- *Original Message* -------
>>
>> *Sender* : Behdad Esfahbod
>>
>> *Date* : Jan 09, 2014 16:14 (GMT+05:30)
>>
>> *Title* : Re: issue with Devanagari rendering
>>
>>
>>
>> That *is* correct rendering.  What do you expect?
>>
>> On 14-01-09 06:42 PM, Parth Kanungo wrote:
>>> Hi Behdad,
>>>
>>>
>>>
>>> Attached are the images, I got from the string { 0x094D, 0x0930, 0x0000 };
>>>
>>> Also, attached is the test code to reproduce the issue.
>>>
>>>
>>>
>>> Thanks and regards,
>>>
>>> Parth Kanungo
>>>
>>>
>>>
>>>
>>>
>>> ------- *Original Message* -------
>>>
>>> *Sender* : Behdad Esfahbod
>>>
>>> *Date* : Jan 09, 2014 15:56 (GMT+05:30)
>>>
>>> *Title* : Re: issue with Devanagari rendering
>>>
>>>
>>>
>>> On 14-01-09 06:23 PM, Parth Kanungo wrote:
>>>> Hello Werner, Behdad,
>>>>
>>>>
>>>>
>>>> Probably I am getting things wrong here.
>>>>
>>>> I infer that you are suggesting that the fault lies in the font file itself.
>>>>
>>>>
>>>>
>>>> I ran my code with different font files available in Windows, like Kokila,
>>>> Managal and Arial Unicode MS, all of which contain the Unicode U+25CC.
>>>> The output is still wrong.
>>>>
>>>>
>>>>
>>>> Don't you think that this behaviour has anything to do with harfbuzz?
>>>
>>> Ok, maybe then you should send a screenshot, like any useful bug report has.
>>>
>>>> Thanks and regards,
>>>>
>>>> Parth Kanungo
>>>>
>>>> //
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------- *Original Message* -------
>>>>
>>>> *Sender* : Behdad Esfahbod
>>>>
>>>> *Date* : Jan 09, 2014 12:39 (GMT+05:30)
>>>>
>>>> *Title* : Re: issue with Devanagari rendering
>>>>
>>>>
>>>>
>>>> On 14-01-09 02:19 PM, Werner LEMBERG wrote:
>>>>>
>>>>>> Get a non-broken-beyond-repair font.  Ie. remove freesans from your
>>>>>> system.
>>>>>
>>>>> Hmm.  FreeSans is actively developed, as far as I know.  So why not
>>>>> contact the author so that he fixes such issues?
>>>>
>>>> The maintainer is in fact CC'ed on this message already.  Recent versions have
>>>> fixed a lot, but the version stuck on most Linux distros is beyond repair in
>>>> the shaper.
>>>>
>>>> In general, I've found that both GNU freefonts and GNU unifont have a
>>>> quantity-over-quality mindset that is quite hurtful IMO.
>>>>
>>>> --
>>>> behdad
>>>> http://behdad.org/
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> gtk-i18n-list mailing list
>>>> gtk-i18n-list gnome org
>>>> https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>>>>
>>>
>>> --
>>> behdad
>>> http://behdad.org/
>>>
>>>
>>>
>>
>> --
>> behdad
>> http://behdad.org/
>>
>>
>>
>
> --
> behdad
> http://behdad.org/

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]