Alignment of Hebrew Vowel points in Android

Posted by Aharon Manne on Stack Overflow See other posts from Stack Overflow or by Aharon Manne
Published on 2012-10-31T06:52:52Z Indexed on 2012/11/05 11:02 UTC
Read the original article Hit count: 306

Filed under:
|
|

I want to display Hebrew text with vowel points (nikkud) using the Canvas.drawText interface. The vowel points come out misaligned, as in the following image taken using a Motorola Defy+ device:

Misaligned vowels

The hiriq is between the resh and the yod, the holam between the vav and nun. I have added the rtl code (\u200F) to the string at both ends, no joy. I know that there are applications that have solved this problem, such as the Smart Siddur. Is there a difference between text-based applications and graphics based? I would think that the same engine renders the text in both cases. I suppose I could split up the string and place the vowels separately, but that seems pretty painful and not extensible.
TIA for any clues.

© Stack Overflow or respective owner

Related posts about android

Related posts about text