perl-unicode

Arabic, Devanagari, Greek, and Hebrew rendering code

1999-11-03 13:08:48
Folks, I have not had time to generate a more generic version of my code for
rendering these scripts, so I decided to hand out a simpler version I am doing
in Java because it has less package-specific clutter than my C code.  This
code is intended to provide examples of what really needs to be considered
when rendering these scripts in at least a minimally legible way.

The code depends specifically on the glyphs provided in the ClearlyU font or
the separate Arabic and Devanagari fonts I have available.  The current
ClearlyU font does not have the Devangari glyphs quite yet, but they will be
in the next release.

   http://crl.nmsu.edu/~mleisher/download.html

There is one minor bug in the linear trie used for lookup of Arabic contextual
forms, and I have not added three new letters to it yet.  That will be fixed
after I get back from my trip.

The Devangari code handles rendering using primarily half-consonant forms
instead of subjoined consonant forms, although some of the subjoined forms are
supported.  Another important point about this rendering code is that vowels
can be appear in either dependent or independent form and it will do the right
thing with them.

  http://crl.nmsu.edu/~mleisher/CURender.java

Enjoy!
-----------------------------------------------------------------------------
Mark Leisher
Computing Research Lab            I have never made but one prayer to God,
New Mexico State University       a very short one:
Box 30001, Dept. 3CRL                 "Oh Lord, make my enemies ridiculous."
Las Cruces, NM  88003             And God granted it.  -- Voltaire, letter

<Prev in Thread] Current Thread [Next in Thread>
  • Arabic, Devanagari, Greek, and Hebrew rendering code, Mark Leisher <=