Persian Keh and Yeh [Re: FarsiWeb Digest, Vol 4, Issue 7]

2003-09-28 Thread Behnam Esfahbod
On Sun, 28 Sep 2003, Mohsen Pahlevanzadeh wrote:
> 
> Hi dears.I have a problem in RH 9 with "keye farsi" & "yeye farsi".
> I type my script with kwrite.But when i see my output in IE 6.0,
> Instead of "ke" print ? .
> Yours,Mohsen.
> 

Hello,

It's not redhat or kwrite problem.  Your file is *correct*.

The problem is in windows and ie, and it's cause of your font.  There is 
no glyph for "ARABIC KEHEH" and "ARABIC FARSI YEH" if your font, so ie put 
az "?" instead.

-- 
Behnam Esfahbod ..[ http://esfahbod.info | behnam(a)esfahbod.info ]

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


Re: FarsiWeb Digest, Vol 4, Issue 7

2003-09-28 Thread Mohsen Pahlevanzadeh

Hi dears.I have a problem in RH 9 with "keye farsi" & "yeye farsi".
I type my script with kwrite.But when i see my output in IE 6.0,
Instead of "ke" print ? .
Yours,Mohsen.



--- [EMAIL PROTECTED] wrote:
Send FarsiWeb mailing list submissions to
[EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.sharif.edu/mailman/listinfo/farsiweb
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FarsiWeb digest..."


Today's Topics:

   1. Typing unicode farsi in redhat 8/9? (Masoud Sharbiani)
   2. Re: Typing unicode farsi in redhat 8/9? (Roozbeh Pournader)
   3. Re: Typing unicode farsi in redhat 8/9? ([EMAIL PROTECTED])
   4. Re: Typing unicode farsi in redhat 8/9? (Masuod)


--

Message: 1
Date: Sat, 27 Sep 2003 11:33:59 -0400
From: Masoud Sharbiani <[EMAIL PROTECTED]>
Subject: Typing unicode farsi in redhat 8/9?
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

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


--

Message: 2
Date: Sat, 27 Sep 2003 19:31:58 +0330
From: Roozbeh Pournader <[EMAIL PROTECTED]>
Subject: Re: Typing unicode farsi in redhat 8/9?
To: Masoud Sharbiani <[EMAIL PROTECTED]>
Cc: FarsiWeb mailing list <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain

On Sat, 2003-09-27 at 19:03, Masoud Sharbiani wrote:
> I was wondering whether it is possible to write in Farsi (unicode),  
> under redhat 8 or redhat 9, has anyone ever done this?

You can write Persian in GNOME, KDE, and Mozilla with late version of
Red Hat, althought with different levels of support. XFree86 also has a
keyboard layout called 'ir' for the Iranian Standard ISIRI 2901:1994.
glibc also has a Persian locale, allowing Persian special sorting (like
proper handling of Hamza), localized digits output, and things like
that.

Of course the level of support in Red Hat 9 is a little higher (fixed
more bugs, etc). The major problem seems to be free and
Unicode-compatible fonts. To my best knowledge, no Persian font exists
that passes that criteria.

roozbeh



--

Message: 3
Date: Sat, 27 Sep 2003 09:30:21 -0700 (PDT)
From: [EMAIL PROTECTED]
Subject: Re: Typing unicode farsi in redhat 8/9?
To: Roozbeh Pournader <[EMAIL PROTECTED]>
Cc: FarsiWeb mailing list <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

> 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,