[comp.sys.amiga] Hebrew and other RL languages for AMIGA

kantor@techunix.BITNET (Eliezer Kantorowitz) (12/18/89)

HEBREW FOR AMIGA
Hebrew, Arabic, Farsi, Urdu and other laguages are written
from Right to Left (RL languages). It seems that the AMIGA rom
kernel was designed to support this direction of writing.
On page 204 of the Rom Kernel Reference Manual under font prefernces
a variable FPB_REVPATH is specified for this purpose.
The description is insufficient for me, and the example on page 213
is not very informative. I hope that sombody can help me with the
following questions:

1. How can disk font be specified such that it will be rendered
RL. The font editor on the EXTRAS disk does not permit the selection
of the RL option in the 4th menu.

2. If I "setfont" to a font that was designed to be rendered RL,
and then use any existing word processor, will the text that I
type authomatically  be rendered RL?

I'll appreciate a C language example demonstrating the use of these
facilities by scanf() and in string gadgets (especially the  one
that provides the cursor position to be in the right side of the
gadget).
                        Eliezer Kantorowitz
                        Computer Science dept
                        Technion - Israel Institute of Technology
                        32000 Haifa,  Israel
--
Dr. Oved Ben-Aroya, Taub Computer Center, Technion City, Haifa 32000, Israel
BITNET: oved at techunix
CSNET and ARPA: oved%techunix.BITNET@cunyvm.cuny.edu
UUCP :  ...psuvax1!techunix.BITNET!oved

adam@cbmcats.UUCP (Adam Keith Levin) (12/19/89)

In the new Amiga ROM Kernel Technical Reference Manual:Libraries and Devices,
this is made a bit clearer.  I re-wrote the example program from the old manual
so that it handles reverse-path fonts correctly.
The Font Editor _will_ allow you to select reverse-path from the menu, but
you must first load in an existing font and change its "Font type" to
Proportional.  If you don't do the latter, you won't be able to alter each
character's Space entry.  For reverse-path fonts, the Space should be small
or negative; the Kern should be a large, negative number (approximately the
width of the character).  If all the characters have the same Space value
when you are done, you can set the font type back to fixed-width.
No, not all programs correctly handle reverse-path fonts.

Adam Keith Levin  --  CATS     Commodore Applications and Technical Support
1200 Wilson Drive / West Chester, PA  19380                  (215) 431-9180
BIX: aklevin             UUCP: ...{amiga|rutgers|uunet}!cbmvax!cbmcats!adam

kodiak@amiga.UUCP (Robert R. Burns) (12/19/89)

In article adam@cbmcats.UUCP (Adam Keith Levin) writes:
)... For reverse-path fonts, the Space should be small
)or negative; the Kern should be a large, negative number (approximately the
)width of the character).

Right.

)... If all the characters have the same Space value
)when you are done, you can set the font type back to fixed-width.

Wrong.  This never worked :-(  It will not be supported for 1.4.

)No, not all programs correctly handle reverse-path fonts.

Very polite :-).  *Most* programs do not correctly handle them, including
lotso ours :-(.
-- 
Bob Burns, amiga!kodiak						 _
	| /_  _|. _ |		   Commodore __			|_) _ |_  _ )'
	|<(_)(_)|(_\|<		    /\ |  ||| _` /\		|_)(_\| )(_\ |
	| \ Software		___/..\|\/|||__|/..\___			 Faith