Introduction to Gerdsooz
Gerdsooz, a Wireless Light Source!
************************************************************************
| : .| | |. . | .. . . = / . | . | |
c | _,_7| | | _9 | __,_7_w q_w > _) 4_) _ |_,_ | _ |
( / / / / / / / (_S : /:
. | . |. . | . . = . /| . /
_7_,_o _D_7 q | _9 | o _ q_w > _) . q_,_)| , ]_ > _)
(_S : / / / ( / / / / (_) / /
| . ~ | c . | . |
* ]_ q | _o |_o_w 4_ |_7 4_ |
/ / (_S . /
************************************************************************
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 khaily 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
111 11 1 1 1111
1 1111 11 1 11 11111
1 11 1 1 11 1 111
11 1111 1 1111 1 1 1111
1 11111111 1111 111111111111 111111111
1 111111 11 1 111111111 111111
1 1 1 111
1 1 1 1
1 1 1
11 11 1
111111 1
1111 1
1
1
1
1
1 1
1 1 1
1 1 111
1 1 1
1 1 1 1
1 1 11111
1 1 1 1
1 1
1 1 1 1 1
1 11 1 111 1 1 11
1 11 1 11 11 11 11 11
1 1 11111111 11111111111111
1 1 11111111111111 1111 111
1 11
1
11
11111
111
1
1 1
1 111
1 1
1
1
1 1
1 1111
1 11 11111
1 1 111
111 11 1111
1 11111111111111111111111
1 1111111 11111 111111
1 1
1 111
1 11 1 1
11 11 11111
1111111111 1 1
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 shed a little light on your dark side!
Turning Gerdsooz On!
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 of the font file (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.
Fueling Gerdsooz:
- Copy the the following files:
- Compile Gerdsooz.c: cc Gerdsooz.c -o Gerdsooz
- Use the mapping in README to create an input file for Gerdsooz
Sample Gerdsoozing
- Put the following in a file called test:
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
- The following output should be generated on your screen:
. | . / . : :
. _ > o ]_ | ]_ _)_9_,_o _o q_o
(_): / / / (_S /
: / c . / . : :
. _,_o_ q (_)_w > ]_ _)_9_,_o _o q_o
(_) : : / / / (_S /
/ . ~ =. | /. ~ . | :
. _,_o_) ]_ | (_)_ |_ 4_)_ | | o_w _,_,_o
(_) : / : . / ( / :
| . .. . ~ . | | . | /
. _ | 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.
Ali Moayedian: info@payvand.com