typeface.js
User / Developer Forum
_renderWord problem
Fatih Tolga Ata
|
3 Mar 2010 19:24
Hi,
Typeface doesn't render rtl fonts correctly like arabic, ottoman and persian fonts. Firstly, _renderWord function splits the word with '' then it should reverse the array of the letters. Then it should get correct font glyph, because in rtl fonts, there are different glyphs for a letter if it is first letter or last letter or middle letter. Actually there are 4 different glyph for a letter: First, Last, Middle and singular form. 

Are there any quick solution for this problem?
Fatih Tolga Ata
|
3 Mar 2010 20:16
I did some workaround. But it is not finished totally. If you want, I can prepare "unicode to glyph" convert function. For more info: http://en.wikipedia.org/wiki/Arabic_Unicode (see: Contextual forms)

Regards
Post a Reply
YOUR NAME
YOUR COMMENT
We don't support HTML, but please use [quote] ... [/quote] tags around quotes.