E
ehab
I want to show arabic string in a postscript file How can I do it .
What should be done to see the writing in Arabic .
I need to replace the strings with Arabic constants
My progrma is like this :
%-----------Define variables-------------
/MainFont
/Helvetica-Bold findfont 20 scalefont def
/SloganFont
/Helvetica-Oblique findfont 20 scalefont def
/OwnerFont
/Helvetica findfont 10 scalefont def
/header
/Helvetica-Bold findfont 20 scalefont def
/constant
%------------
{
0.8 setgray 25 800 moveto MainFont setfont (String 1) show
0 setgray 25 780 moveto SloganFont setfont (String 2) show
25 760 moveto OwnerFont setfont
(String 3-String 3-String 3) show
250 720 moveto header setfont (Header) show } def
/BOX
%------------
{ newpath
50 700 moveto
500 0 rlineto
0 -500 rlineto
-500 0 rlineto
closepath
..9 setlinewidth
stroke } def
%mainprogam
constant
BOX %do a sqaure
showpage
What should be done to see the writing in Arabic .
I need to replace the strings with Arabic constants
My progrma is like this :
%-----------Define variables-------------
/MainFont
/Helvetica-Bold findfont 20 scalefont def
/SloganFont
/Helvetica-Oblique findfont 20 scalefont def
/OwnerFont
/Helvetica findfont 10 scalefont def
/header
/Helvetica-Bold findfont 20 scalefont def
/constant
%------------
{
0.8 setgray 25 800 moveto MainFont setfont (String 1) show
0 setgray 25 780 moveto SloganFont setfont (String 2) show
25 760 moveto OwnerFont setfont
(String 3-String 3-String 3) show
250 720 moveto header setfont (Header) show } def
/BOX
%------------
{ newpath
50 700 moveto
500 0 rlineto
0 -500 rlineto
-500 0 rlineto
closepath
..9 setlinewidth
stroke } def
%mainprogam
constant
BOX %do a sqaure
showpage