This fellow called me after posting. He has some Hebrew that he wants 
to reverse right-for-left so Illustrator will display it correctly. 
Word displays right to left, Illustrator does not.

The code looks like:

$KCODE = 'UTF8' # this line must be before the require

require 'jcode'

while line = gets
   line = line.chomp.split(//)
   line.reverse_each {|i| print i }
   puts

end

I couldn't get this to work as above, nor with $KCODE = "U" as 
someplace seemed to indicate.

Anything obvious occur to anyone?

Thanks,
Scott


At 03:16 PM 4/8/2009, you wrote:

>i need someone to help make this work:
>http://liquibean.org/Coffee-Talk/549/adobe-illustrator-right-to-left-text-hack
>
>how much does this cost?
>
>-sam
>
>
>
>
>
--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to