On Mon, Jul 09, 2001 at 08:10:14PM +0300, Tzafrir Cohen wrote:
> On Mon, 9 Jul 2001, Itai Arad wrote:
>
> > Hi List,
> >
> > I am trying (realy hard) to get bidi-abiword work on my Mandrake 8.0
> > linux.
> >
> > So I compiled abiword-0.7.14-2 (with bidi enabled) and installed it
> > just as they say you should.
> >
> > HOWEVER: I cannot get the hebrew to work!!
> >
> > I wish to work with *unicode* hebrew. So I this is what I did:
> >
> > 1. Modified XF86Config-4 file so it would have hebrew keymap (according
> > to the instructions in IGLU)
> > 2. Defined LANG=he_IL.UTF-8
> >
> > 3. Copied some ttf fonts from Window (Arial + Courier New)
>
> I suggest that you also get Times New Roman
OK, I'll give it a try.
>
> > to the
> > AbiSuite/font directory and added only the iso-10646-1 entries to the
> > fonts.dir, fonts.scale files
>
> How have you created the entries for them? Does ttmkfdir extract
> iso10646-1 encodings as well?
Well in Mandrake 8.0 you have the option to import the window fonts. The
fonts are copied to /usr/lib/X11/fonts/drakefont and a fonts.dir file is
created by the some script. This file also include iso10646-1 entries. I
think that in the previous version (7.2) these entries were not created.
Anyhow, that's where I took the entries from.
>
>
> >
> > Now when I run abiword I can use these ttf fonts only in english. When I
> > pass to hebrew (pressing left-shfit + right-shift), I get some undifined
> > symbols on the screen. However, the BiDi mechanisem seems to work well -
> > that is, the direction of writing changes as it should.
> >
> > I think it actually idetifies the hebrew letters becuase when I save the
> > file as utf8, and browse it in an utf-8 enabled xterm - I see just what I
> > wrote.
> >
> > However, I cannot see it on the screen...
> >
> > btw: the utf8 enabled xterm works just fine, and shows the hebrew
> > letters....
> >
> >
> > (*) I also tried to put the ttf fonts in a UTF-8 subdirectory under
> > AbiSuite/fonts (If I understood the vauge instructions of abiword) - but
> > then abiword did not recognize them...
>
> It needs to be in a spesific subdirectory: he-IL.UTF-8 . Note the "-"
> """
> instead of "_".
Yes, well I tried that and it didn't work. Actually if I put it there,
abiword does not even load them.
>
> Actually, I suggest that this directory will be a symlink to a directory
> that X uses (either idrectly or indirectly through xfs).
>
> Maybe try removing all the fonts from the main directory, to prevent name
> clashes: Maybe it already has another "Arial".
There is no clash. If you have two fonts with the same name, they will both
appear in the list. It is also easy to identify which font is beeing used
since the ttf fonts are much nicer than those supplied by abiword.
>
> --
> Tzafrir Cohen
> mailto:[EMAIL PROTECTED]
> http://www.technion.ac.il/~tzafrir
>
thanks,
Itai.
=================================================================
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]