mta452 / SheenFigureLegacy

A library to render arabic/urdu fonts on smartphones.
Apache License 2.0
30 stars 6 forks source link

Uthmanic Hafs issues #6

Closed almousa1990 closed 11 years ago

almousa1990 commented 11 years ago

Hello,

I am developing Quran application that uses Uthmanic Hafs font. This great library successfully rendered the Quran with some issues.

This font uses Arabic number as Aaya number, where when you type an Arabic number it will automatically put a frame on it, the maximum number of digits is 3 because Quran doesn't have any Soura that has more than 3 digit Aaya count.

Screen Shot 2013-04-07 at 5 03 54 PM

This is rendered in MS Word.

And this is how it was rendered in SheenFigure: Screen Shot 2013-04-07 at 5 05 07 PM

You can see that it separates the number into 1 and 52 where it should be 125 into one frame.

almousa1990 commented 11 years ago

I found out the cause, it works after i reversed 125 to 521. (XCode editor reverse Arabic numbers too).