Hi Steve,
Thanks for the reply.
By "rendering", I meant the FT_Bitmap that is created after using pango_ft2_render_layout() API.
I had flushed the bitmap into an image file for viewing the output.
Yes, I am using Unicode character encoding to render the text. And, you are again correct that this is related to the "input method".
So, a user can type halant, 0x094D, which is invalid without a preceding consonant, but shall nevertheless be rendered.
The output I expect with the string
{0x094D, 0x0930}
is a halant below a dotted circle and a ra, र
On further investigation, I found that even this string
{0x094D, 0x0930,0x094D, 0x0930,0x094D, 0x0930}
shows wrong output.
Can you suggest what could possibly be wrong here?
I feel that some change is required in hb-ot-shape-complex-indic.cc.
Thanks and regards,
Parth Kanungo
------- Original Message -------
Sender : Steve White<stevan white gmail com>
Date : Jan 08, 2014 20:14 (GMT+05:30)
Title : Re: issue with Devanagari rendering
Hello,
I was trying to render the string
{0x094D, 0x0930, 0x0000}
The rendered output is incorrect.
It might be grammatically inaccurate to place 0x094D (halant) as the first character.
However, my application requires such an independent rendering.
Can you tell me how I can go about rendering the given Unicode?
Thanks and regards,
Parth Kanungo
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-i18n-list