PC Review


Reply
Thread Tools Rate Thread

How can I invoke Arabic fonts under ghostscript postscript programs

 
 
ehab
Guest
Posts: n/a
 
      14th Sep 2003
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
 
Reply With Quote
 
 
 
 
Aandi Inston
Guest
Posts: n/a
 
      14th Sep 2003
(E-Mail Removed) (ehab) wrote:

>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


You need to do more than that. The fonts Helvetica and its family
contain only ISOLatin1 Encoding, that is the Western characters. So
you first have to find Arabic PostScript fonts. These would then have
to be embedded into your PostScript file in PFA format. Then the
strings you use will depend on the encodings of the font you use.
----------------------------------------
Aandi Inston (E-Mail Removed) http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.

 
Reply With Quote
 
ehab
Guest
Posts: n/a
 
      15th Sep 2003
Is the font fomrta PFA format embeded inside Ghostscript(under windows) ?
if No how can I download arqabic fonts ?
 
Reply With Quote
 
ehab
Guest
Posts: n/a
 
      15th Sep 2003
how can I download arabic fonts ?
 
Reply With Quote
 
Aandi Inston
Guest
Posts: n/a
 
      15th Sep 2003
(E-Mail Removed) (ehab) wrote:

>how can I download arabic fonts ?


Try a web search, if you don't have any already. If this is an
application you intend to distribute, check the font licensing
carefully, as you may have to pay for each copy. If you find a site
with many "free" fonts check carefully that they have the rights to
the fonts - it is better to avoid problems later.
----------------------------------------
Aandi Inston (E-Mail Removed) http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postscript Fonts -- VERY DESPERATE! judie Windows XP Basics 0 17th May 2008 02:21 AM
View Ghostscript Fonts? John Corliss Freeware 8 6th Jun 2004 08:07 PM
Postscript fonts Windows XP General 1 9th Dec 2003 01:19 AM
POSTSCRIPT FONTS scallighan Microsoft Windows 2000 0 2nd Oct 2003 08:24 PM
Postscript Fonts Robert M. Cohen Microsoft Dot NET Framework 4 7th Aug 2003 11:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:52 PM.