Ok...so I downloaded
http://www.farsiweb.info/font/farsifonts-0.4.zip
and my unzip(1) program said

[EMAIL PROTECTED]:/tmp/download/farsi> unzip farsifonts-0.4.zip
Archive:  farsifonts-0.4.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of farsifonts-0.4.zip or
        farsifonts-0.4.zip.zip, and cannot find farsifonts-0.4.zip.ZIP, period.
[EMAIL PROTECTED]:/tmp/download/farsi>

Then I used my friends Windows box, unpack it, shipped it over
to my linux box and used kcontrol to install it, confirmed via gnome-font-properties(1)
that my GNOME desktop sees them as well...and I chosed Roya for my
Application Font, Desktop Font, Windows Title Font....

But the problem still remains....

Also, I didn't know what to do with the fonts.conf file you pointed out, should I
download and put in it my $HOME/.fonts.conf

...funny thing....the faulty operations I described can be fixed by pressing
shift-d , that is regular 'd' generates the bad "ye" and 'shift-d' generates the
correct version...

I have done this before on FC2 and FC4 in KDE....this is my new FC4 box
which I had to switch to gnome because the alt-shift keyboard switching was'nt
working on KDE...anyway, I should'nt polute the problem...

Thanks guys...
Medi

On 12/2/05, Behdad Esfahbod <[EMAIL PROTECTED]> wrote:
On Fri, 2 Dec 2005, Medi Montaseri wrote:

> Hi
> I am having some problems with my Farsi fonts on my browser and in gedit
> on a Linux box (Fedor Core 4, Gnome )
>
> My problem is
>
> Letter "Ye" is always rendered as though it was an independent or
> detatched letter. For example, in the word "MILI" (as in mili-second) all
> the
> "Ye" letters are rendered as it would with "MEHDI" where "ye" is not
> connected to "de".

Basically, you don't have good fonts, and that's the default on
FC4 unfortunately :(.  You need to install the FarsiWeb fonts
package (available from http://farsiweb.info/) to start with.
There is a fontconfig configuration file like this one:

  http://www.cs.toronto.edu/~behdad/fonts-persian.conf

This will be included in fontconfig-2.4 release coming soon.


> Some help is appreciated.
> Thanks
> Medi

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
        -- Dan Bern, "New American Language"

_______________________________________________
PersianComputing mailing list
PersianComputing@lists.sharif.edu
http://lists.sharif.edu/mailman/listinfo/persiancomputing

Reply via email to