From: ali@alborz.mti.sgi.com (Ali Moayedian)
Newsgroups: soc.culture.iranian
Subject: Announcing Gerdsooz!!
Date: 17 Nov 1992 18:14:06 GMT
Organization: Silicon Graphics, Inc.
Distribution: world
Reply-To: ali@mti.sgi.com
NNTP-Posting-Host: wildcat.mti.sgi.com

***************************************************************************

         |  : .|  |      |. . | ..  .     .         =    /     . |  . |   |
       c | _,_7|  |      | _9 | __,_7_w     q_w >  _)  4_)     _ |_,_ | _ |
      (   /        /   /  /               / /     /         (_S    :   /:  

     .       |  .        |. . |     .   .         =        . /|     .     /
    _7_,_o   _D_7  q     | _9 |  o  _     q_w >  _)   .  q_,_)|  , ]_ >  _)
 (_S   :           /   /  /     (  /    / /     /    (_) /              /  

                                    .     T         |   c    . | .       |  
                                 ! ]_   q |    _o   |_o_w   4_ |_7  4_   |  
                                      / /   (_S                      .    / 

                                                                          /
   ..  /|  |         |   . |        c     |    .         =    = .    . |. |
 ! __,_)|> | _      _|_e_c | _7     w_o   |  ,   q_w >  _)  (_)_,_,_w_ |_ |
            /c   (_S        /c   (_/      /    / /     /          :        

***************************************************************************

Gerdsooz is a Persian script generator, or a stone-age word-processor!
It is a C program that generates Persian script using ascii characters.  

Now you can express yourself in Persian, to your friends, your spouse, 
or maybe that sweetheart of yours.  You no longer have to send emails 
like:

	khAnom man shomA rA dost darm!

Instead you have the choice of:

                |    ..              |   .  |    |   c             . | .
         !  o   |>   __,_w q >      _|_,_7  |    |_o_w    . _o    o_ |_7
           (  /            /     (_S   :     /           (_)     (      

or even better yet, if you want to highly express yourself:


                                                                             
                                                                1            
                                                                1     1      
                                                             1  1    111     
                                                            111 1     1      
                                                             1  1            
                                                                1            
                                                                1     1      
                                                              1 1    1111    
                                                             11 1   11 11111 
                                                     1       11 1        111 
                                                   1111       1 1      1111  
                                                  111111111111  111111111    
                                                 1  111111111    111111      
                                                 1  111                      
                                                 1   1                       
                                                 1                           
                                                 1                           
                                                 1                           
                                                 1                           
                                                 1                           
                                                 1                           
                                                 1                           
                                                 1                           
                                                                             
                                                                             
                           1                                                 
                           1                  1                              
                           1                 111                             
                           1                  1                              
                           1                 1 1                             
                           1                11111                            
                           1                 1 1            1                
                           1                               111           11  
                           1       1               1        1           1111 
                           1      111     1    1  11           1       11  1 
                           1     11 11   11   11  11           11     1111 1 
                           11111111  11111111111111      1     11111111 1111 
                            11111111111111 1111 111     1       111111   11  
                                   11                   1       1            
                                                        1       1            
                                                        1      1             
                                                        11    11             
                                                         111111              
                                                          1111               
                                                                             
                                                                             
                                                                             
                                          1                       1          
                                          1             1         1          
                                          1            111        1          
                                          1             1         1          
                                          1                       1          
                                          1                       1          
                                          1             1         1          
                                          1            1111       1          
                                          1           11 11111    1       1  
                                          1       1        111    1       11 
                                         111     11      1111     1       11 
                            1       11111111111111111111111       1        1 
                           1       1111111  11111  111111         1        1 
                          1       1                                        1 
                          1       111                                     1  
                          1         11           1 1                     11  
                          11        11          11111                11111   
                           1111111111            1 1                  111    
                            1111111                                          
                                                                             
                                                                             
                     1                                                       
 11                  1                                                       
 11                  1                                                       
 11                  1                1 1                                    
 11                  1               11111                                   
 11                  1   11           1 1                               11   
 11                  1   111                                            111  
 11                  1     1      1                                11     1  
 11    11         1  1     11    1                                1111    11 
 11    1111       11 1      1    1          1      1    1   1     1 11     1 
         111      11 1  1  11    11        111    11   11  11     1  1 1  11 
      111111       1 1  11111     111111111111111111111111111      111 11111 
 11  111111        1 1  1111       11111111  111111 1111 111        11 1111  
 11  1             1                                                1        
     1            1                                                11        
     1           11                                              111         
     1       11111                                            1111           
     1        111                                                            
     1                                                                       
     1                                                                       
     1                                                                       
     1                                                                       
     1                                                                       



Of course we cannot guarantee that you are going to win her/his heart
over.  Don't expect too much from Gerdsooz!  It cannot do miracles
for you.  It can only sheds a little light on your dark side! 

---------
Using Gerdsooz is very simple.  An input file is created using English 
characters.  Gerdsooz uses transliteration to map the English characters
in the input file to Persian characters.  The mapping is dictated by the 
font file.  Please refer to README file for the transliteration map.

The main font for Gerdsooz is the mikhi-10 font.  The height of the font
is specified at the top (h 3).  Then the font form for each Persian 
character is specified.  Each character begins with <L><char><position>.
L denotes new Letter.  char specifies the ascii mapping of the Persian
character.  Position specifies the placement position of the Persian 
character: 0 = Separate, 1 = End, 2 = Begin, 3 = Middle.  For example, 
La0 means the separate form of letter alef.  

Gerdsooz's font mechanism is very flexible.  The font file can be easily 
changed, and new fonts can be created.  mikhi-10 should be a good start!
One or more large fonts will also be available in the near future.  These
fonts will be useful for generating banners, similar to the unix banner
program.

Instructions for using Gerdsooz:

	- Copy Gerdsooz.c, mikhi-10, & README files
	  These will be posted right after this message.  They would also
	  be available via anonymous ftp to tehran.stanford.edu. (under
	  the directory Iran_Lib/Gerdsooz).  I will also provide a PC
	  executable in this directory. 

	- Compile Gerdsooz.c:	cc Gerdsooz.c -o Gerdsooz

	- Use the mapping in README and create a test input file like this:

--- test file ----	
qvmy  mtfkrnd  andr  rh  dyn
	qvmy  mtfkrnd  dr  Sk v yqyn
mytrsm az Ankh bang Ayd z kmyn
	kay byKbran rah nh Anst v nh ayn
			- emr Kyam -
------------------

	- Run Gerdsooz:		Gerdsooz -i test

It should give you:

                                            . |     .   / . :               : 
                       . _ >     o         ]_ |    ]_  _)_9_,_o        _o q_o 
                      (_):         /     /            /             (_S   /   

                :          / c              .   / . :               :         
           . _,_o_   q   (_)_w       >     ]_  _)_9_,_o        _o q_o         
          (_) :  :   /             /          /             (_S   /           

                             /  .      T    =. |      /. T  . |         :     
                      . _,_o_)      ]_ |  (_)_ |_   4_)_ |    |   o_w  _,_,_o 
                     (_) :      /    :          .           /    (    /   :   

             |   .       ..   . T   .     |        |    .          | /        
         . _ |  4_   q   __,_w_ |  4_   o |     .  | _,_7_,_       |_)        
        (_):         /                     /   (_)  / .   :.   (_S            

                                     |   .                                    
                              -    o |_,_7   _o_c   -                         
                                  (    :    /                                 


=begin=
qvmy  mtfkrnd  andr  rh  dyn
	qvmy  mtfkrnd  dr  Sk v yqyn
mytrsm az Ankh bang Ayd z kmyn
	kay byKbran rah nh Anst v nh ayn
			- emr Kyam -
=end=

########################################

Hope you like Gerdsooz, and if Gerdsooz's fitileh is too short or too long, or
if Gerdsooz starts smoking on you, please let me know.  Send email to: 

 	ali@mti.sgi.com (Ali Moayedian)
or      cheragh@alborz.mti.sgi.com (Mash Cheragh-Ali)

Regards,
Mash Cheragh-Ali


NOTE:  Gerdsooz.c, mikhi-10, and README files follows.

ACKNOWLEDGEMENT: I should say that my main motivation for undertaking 
this astronomical and historical task was the love that I feel for Iran
and the Persian culture.  However, I was definitely affected and influenced
by the work of my friend and colleague Anoosh Hosseini, whom I enjoyed his
advice.  I was also inspired by another friend, Mahyar Rahmatian.  
Who knows, I might have even stolen one or two ideas from these guys.  But 
the important thing is that I beat both of them to market :-)