Re: Typing unicode farsi in redhat 8/9?

2003-09-27 Thread irina
 You can write Persian in GNOME, KDE, and Mozilla with late version of
 Red Hat, althought with different levels of support.

We were discussing international support over on another group and a very 
nice person (who does not actually know Persian) took a look at my Persian 
website and gave an assessment of the problems on Netscape and Opera.  Since I see 
similar results with Linux maybe they stem from the same problem. Since I 
don't like the idea of his efforts going to waste and since the topic has 
just come up again, I'll just append some of his remarks below. Maybe 
someone will do something with this info. (I'm editing out the stuff that doesn't 
apply here too much.)

-- Forwarded message --
Date: Mon, 22 Sep 2003 18:43:37 -0400
From: Foteos Macrides [EMAIL PROTECTED]


...The problems I described with Opera 7 are also described in your screen shots page. 
 Basically, it doesn't handle dir=rtl and thus displays Persian bass ackwards.

I also figured out the primary problem with Netscape 7.  In the course of transforming 
the utf-8 encoded Persian, it is improperly keeping track of the word lengths and 
consequent screen positions (i.e., it is converting multi-byte representations of 
individual characters, and not doing the math right for the resultant widths).  So the 
more to the right the characters appear in the line, the yet more to the right you 
must position the cursor for it to behave as if it is over a word for doing a 
double-click or click-and-drag select.  If you want to select the right-most word, or 
the associated quotation mark, you have to place the cursor about an inch to the right 
of them, in what is blank space within the display.  The errors become less for words 
progressively more to the left, and for words in the left half of the line you can 
double-click pretty much on the actual words (but things are still not perfectly lined 
up).  The line should be centered, but appears too far the le!
 ft, because Netscape 7 thinks it is centering a much longer line.  So Netscape 7 
still has a seriously flawed implementation, but it should be more readable than 
with Opera 7 for someone who knows the language.

When I try it with IE v5.5, which you say is the version at MS which really got it 
right, everything appears to be perfect except for the handling of the quotation marks 
(guillemets  :).  

Fote
--- 
-Connie



___
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb


Re: Typing unicode farsi in redhat 8/9?

2003-09-27 Thread Masuod
Hi Masoud
It's really easy to type persian in RH9 , follow this
steps :

1. open /etc/X11/XF86Config with a text editor like vi
2. looking for keyboard section , it's looks like
below:
Section InputDevice
Identifier  Keyboard0
Driver  keyboard
Option  XkbRules xfree86
EndSection

3. add this lines before EndSection
Option  XkbLayout us+ir
Option  XkbOptions
grp:shift_toggle,grp_led:scroll

4. save file (wq:)
just startx and press both shift keys at the same time
to type in persian.

Masoud

PS(Roozbeh): I was sent three unicode compatible font
(Zar Bold,Yagut Bold,Lotus Bold) to Mr.Esfahbod
but no response received yet.


--- Masoud Sharbiani [EMAIL PROTECTED] wrote:
 Hello all,
 I was wondering whether it is possible to write in
 Farsi (unicode),  
 under redhat 8 or redhat 9, has anyone ever done
 this?
 Any and all information would be appreciated.
 thanks in advance,
 Masoud
 
 ___
 FarsiWeb mailing list
 [EMAIL PROTECTED]
 http://lists.sharif.edu/mailman/listinfo/farsiweb


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb