On Thu, 19 Oct 2000, Hetz Ben Hamo wrote:

> Hi,
> 
> Tzafrir Cohen wrote:
> > 
> > On Wed, 18 Oct 2000, Hetz Ben Hamo wrote:
> > 
> > > 2 things:
> > >
> > > 1. You'll need the Windows fonts - just copy the c:\windows\fonts directory and
> > > run "ttmkfdir <your dir>" and then add it to your xfs with
> > > "/usr/sbin/chkfontpath --add <your dir with full path" and at the end - re-run
> > > your xfs again..

I'm not sure that's the smartest idea. Some fonts may be problematic. Note
that chkfontpath is (at least on my machine) a bit buggy . 
Mandrake 7.1 comes with a utility that extractes (by defaul all of
the) TTFs from windows parrtition and installs them. I rememebr reading
about problems caused by fonts such as David and Miriam.  Perhaps it would
be better to stick with unicode fonts, such as Arial, Courier New, Lucida,
Tahoma, and Times New Roman.

Have a look at:
ftp://linux.org.il/pub/Hebrew/Mandrake-Hebrew/heb-font-from-win.pl


anyway In the worst-case scenario your X server will crash, and when it
will try to reload it will spit an error message about not being able to
find the font 'fixed' (and the reason is that all the fonts come from the
fonts server, which is now not availble).

On the really worst-case scenario you will run chkfontpath --remove (or is
it --del ?) and it will fail for some starange reason, for instance,
because you added a slash in the end of the path.
(because of the above reason I usually cd into the target directory and
run 'chkfontpath --add `pwd`').

In that case you'll be forced to (heaven forbids!) manually edit
/etc/X11/fs/config and remove the faulty line (mind the comma).

> > 
> > In the previous message Hetz seems to have forgotten another major
> > problem, which is the fonts. Most KDE2 programs need unicode fonts
> > (iso10646-1). Although Konquerer maybe a special case (see my question
> > above).
> 
> Let me correct myself:
> 
> You'll need the unicode fonts for the menus translations for Hebrew, and for the
> title window in konqueror. You don't need it for anything else...

OK. Here is something which may be related, but probably isn't.
Ever since I started to use licq with a qt_gui that uses qt2, I wan't able
to view Hebrew. Actually I never tried to use iso10646-1 fonts (only tried
iso8859-8 fonts, which looked like gibrish), and it will be a while until
I will be able to try this. Has anybody managed to read Hebrew from the
qt_gui of licq (with qt2)?

The point is that probably all sorts of widgets will use unicode-encoded
text, and at some point you'll have to be able to read it.

> 
> You do need the true-type fonts for Logical and Visual Hebrew. So you'll have to
> add hebrew true type fonts (either the elmar fonts or the Windows fonts).

Sorry. I didn't understand you here:

What has the type of the font to do with the direction of Hebrew?
(Are TrueType fonts unicode fonts by definition, or is it simply that most
of the unicode fonts availble at the moment are TrueType?)
Anyway, the elmar fonts are not TrueType fonts, and only supply iso8 and
iso1 .

> 
> > 
> > At the moment the only availble Hebrew unicode fonts (besides gnu unifont
> > and similar limited fonts) are TrueType fonts. The easiest to get -- ones
> > from microsoft (either from the nearby windows workstation/partition or
> > from http://microsoft.com/typography - the fonts Arial, Courier New and
> > Times New Roman (Also Tahoma from Hebrew Windows). They are in some format
> > of a self-extracting archive, which can also be extracted by cabextract
> > (search http://freshmeat.net).

I'm now in a more decent environment, so here are some links:
http://microsoft.com/typography/fontpack/default.htm
http://www.kyz.uklinux.net/cabextract.php3

> > 
> > Once you have the TTF files, you still need a fonts server that can
> > display them.
> > 
> > There is xfstt (availble for debian and SuSE) and xfsft . RH6 (and some
> > others, as mentoined above) patched XFree3's xfs with some patches from
> > xfsft (or something similar). It also added the (sometimes buggy)
> > chkfontpath, which helps automates font path changes.
> > Note that RH's ttmkfdir won't add the iso10646-1 encoding. Its output has
> > to be slightly edited. I wrote a small script to do that (I don't have the
> > URL right now, but look for 'ttmkfdir-heb' in the archivesof the
> > ivrix-discuss list).
> 
> Good luck. Seems no one have added to ivrix a search engine, and I didn't found
> anything. Anyone can give a link?

ttfmkdir-heb (a really simple script, as I said):
http://ivrix.org.il/mailing-lists/ivrix-discuss/2000/08/0008.html

> 
> > 
> > I think versions of xfstt previous to 1.1 were problematic in terms of
> > supporting iso8859-8 fonts. I don't know what about unicode encodings.

Looking down the thread linked above I see in a post:

     I just tried running xfstt with the following flags: 

     xfstt --daemon --encoding 'iso10646-1' --port 7101 

     After doing xset fp rehash I now get a listing of 
     iso10646-1 fonts. 

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to