From: kbahrami@lonestar.utsa.edu (Kambiz J. Bahrami)
Newsgroups: soc.culture.iranian
Subject: PERSIAN WordProcessor, To Be or Not To Be
Summary: is there a persian wordprocessor, if not should i make one.
Date: 22 Aug 92 06:08:15 GMT
Organization: University of Texas at San Antonio


Howdy folks,

  I like to know if there is a shareware Persian wordprocessor out there
  or not.  You see, in the past few weeks, to break the monotny of
  studying for my finance and accounting classes, I have been trying out
  my Pascal and C++ compilers.  The end result is that I ended up writing
  a set of programs that with some modifications can be turned into a
  Persian wordprocessor.  Thus, my question, is there a shareware
  Persian wordprocessor out there?  If the answer is no, then I will
  finish up with my coding, otherwise this has been just a practice
  in coding for me.  The following is a list of specifications and some
  of the programs that are finished or in the process of finishing up.
  ---------------------------------------------------------------------
  kwrite.pas
    This program takes input from a regular keyboard, and converts
    the keys to persian equivelents.

  krules.pas
    This program gives the rules that govern the shape of the letters in
    relation to their positions on a word.

  kshow.cpp
    This program displays the characters created by kwrite.pas in EGA or
    VGA mode on an IBM compatible computer. Links with kcurves.cpp or
    kbezier.cpp

  kcurves.cpp
    This program draws the letters using standard graphics commands.
    The problem with this is that the characters are not as smooth
    as they can be.

  kbezier.cpp
    In writing this program I checked out couple of books from the
    University Library that spoke in volumes about BEZIER curves.
    unfortunetly I have had some dificulty in translating pure
    mathematical equations to C code.  so eventhough the curves
    come out smooth they tend to be in the wrong dimentions or
    curvetures or etc... If you have access to some code or know of
    some code to write a good bezier curve (prefer C or assembly)
    I sure would appritiate it.

  ------------------------------------------------------------------
  Key translations:

 keyboard  filesave     as in      trans                notes
--------- ---------   ---------  ------------        -----------------
  A          A          bAbA        Father             has ~ if first
  a          a          mard        Man
  b          b          bAlA        Up
  c          c          cap (chap)  left
  d          d          dast        hand
  e          e          mesr        Egypt
  f          f          fahm        understanding
  g          g          gol         flower
  h          h          havA        Air
  h          h'         hamAm       Bathing place
  i          i          irAn        Iran         special case if first
  j          j          jAn         life
  J          J          Jian        a car (french origin)
  k          k          komak       help
  K          K          KAb         sleep
  l          l          lab         Lip
  m          m          man         Me
  n          n          nah         No
  N          N          masalaN     for example
  o          o          mord        died
  p          p          pul         money
  Q          Q          QAtel       murderer
  Q          Q'         QazA        food
  r          r          rAzi        satisfied
  s          s          sAl         year
  s          s'         sad         one hundred
  s          s"         mesal       anectod
  S          S          Sab (Shab)  night
  t          t          tazeh       new
  t          t'         tabib       doctor
  u          u          muS (muSh)  mouse
  v          v          aval        first
  y          y          yek         one
  z          z          zir         under
  z          z'         QazA        food
  z          z"         the other z {cant remember words for these z}
  z          z'         other z
  ^          ^          ^Adat       habit
  E          E          {explain this one later..a character like i}


  I have left off other programs and specifications, like a spell checker
  and thesorous  (I could use one right now) that i am working on, and
  other detailed specifications since I am not sure if I can finish them
  in a short time period.


  From y'all, I welcome any information or discusions on this subject.


  from the Lone Star state,
                                KAMBIZ
Newsgroups: soc.culture.iranian