[comp.sys.mac] insert direction-for text. Advice p

leonardr@uxe.cso.uiuc.edu (09/09/88)

john@cbnews.ATT.COM(John Jagoe) in comp.sys.mac

>I am interested in periodically reversing the direction that text is 
>entered (right to left with, for example hebrew or arabic font).
>Inside Mac vol V pg. 301 mentions a DA to set a global parameter
>                  teSysJust
>that does the above.  The number we called at Apple Customer support
>produced no help and the rather surprising response that IM is not
>an Apple product and therefore not supported by them (they refered us
>to APDA). We called (408) 252-2775 (number 3 in response to prompt).
>Questions:
>1. Does anyone have a solution or code fragment?
>2. Does anyone have a better number at Apple?
>3. Does anyone have the DA referenced in IM vol V pg 301?
>
	I don't know exactly what you are trying to accomplish, but if it is sijmply
to work in Hebrew or Arabic on the Macintosh, then you would much better off
just purchasing the Hebrew or Arabic System Software from APDA.  They both come
with a nice set of fonts (both IW and LW), and all the special handling code 
for working in the specific language.  For Hebrew this is simply R->L handling
plus vocalization, for Arabic this is not only the R->L but it also 
automagically generates ligatures based on the surrounding chars so you do not 
have to do it yourself.
	If you just want to change the value TESysJust, you can just reference it as
any other low memory global and set it's value to what you want.  This can also
be done using TMON or MacsBug.


+---------------------------------+-----------------------------------+
+                                 +  Any thing I say may be taken as  +
+   Leonard Rosenthol             +  fact, then again you might decide+
+   President, LazerWare, inc.    +  that it really isn't, so you     +
+                                 +  never know, do you??             +
+   leonardr@uxe.cso.uiuc.edu     +                                   +
+   GEnie:  MACgician             +  MacNET: MACgician                +
+   Delphi: MACgician             +                                   +
+                                 +                                   +
+---------------------------------+-----------------------------------+