Unicode Tamil Fonts Don't Work in Rev

Sivakatirswami katir at hindu.org
Sat Sep 10 18:03:46 EDT 2005


I was planning to use REv as a mini data base for storing some multi  
language data: English, Tamil, and Tamil transliteration and possibly  
other languages, for the same text...

  It seems perfect... I can keep the same text in different in  
different fields, then export as XML and in InDesign Map the tags to  
paragraph styles for print layout. Managing these as separate files  
and cutting and pasting the text will be a night mare for our editors  
otherwise....

Trouble: my field "Tamil_Script" will not accept the font assignments  
of these Government of India Tamil Open Type. TTF unicode fonts.

I have a keyboard layout for Tamil unicode "Mylai"... if I install  
this and select this keyboard, and start typing, I *do* get Unicode  
Tamil. It seems to be defaulting to InaiMathi, which is one of  
Apple's default Tamil fonts that come on the system. OK, I don't know  
this to start with... I query the text in the field:

put the textfont of line 1 of fld "Tamil_script"

--> Mixed ## OK, so must be the end line is in a different font... try:
put the textfont of char 5 line 1 of fld "Tamil_script"

--> Geneva,Unicode

ummm... that's not Geneva on the screen... it looks like InaiMathi.  
But the characters appearing are indeed the correct ones for the  
unicode series for Tamil, so the keyboard is working.. I confirm this:

On mouseup
  set the useUnicode to true
put the charToNum of char 1to 2 of line 1 of fld "Tamil_Script"
end mouseup

result > 2980  but I don't know how to check this against a list of  
Unicode in the form of

0B82 -- 0BFA (the Tamil range)

But, the text was entered with the Mylai keyboard so  *for sure* the  
chars must be unicode...

  set the textfont of line 1 of fld "Tamil_Script" to "GIST- 
TMOTChanakya Bold"

oops! Now revolution shows garbage in line one  of fld "Tamil_script"

check to see if I got it right: put the fontNames -- yep ""GIST- 
TMOTChanakya Bold" is on the list of active fonts...

OK, run Font Agent over the fonts... no problem, no corruption...  
Open inDesign.. switch to Mylai Keyboard, type my name in Tamil,  
select it, choose font ""GIST-TMOTChanakya" -- > and Bold from the  
cascading menu... It works fine...

but not in Rev :(

I haven't a clue how to begin to solve this one.

Any insights welcome.. Rev would be the absolutely perfect  
environment for maintaining this project, because of the script  
control over output.

TIA
Sivakatirswami





More information about the use-livecode mailing list