On Sun, Feb 24, 2002 at 09:25:15PM +0200, Tzafrir Cohen wrote:
> On Sun, 24 Feb 2002, Itai Arad wrote:
> 
> > Well here's another chapter in the endless pathetic saga of fonts/bidi in
> > abiword...
> >
> > I have downloaded the latest source (version 0.99.2) and compiled with bidi
> > and gnome support. To compile it, I used the instructions from the BUILD
> > (not BUILD.TXT !) file. I did
> > /autogen.sh
> > /configure --prefix=/opt --enable-bidi --enable-gnome
> > make
> > make install
> >
> > surprisingly, it worked... compiling went smoothly.
> >
> > I then went to the tough part - making my window ttf hebrew ariel font work.
> >
> > I followed the instructions in /docs/AbiWord_and_Unix_Fonts.zabw:
> > I have created a subdirectory
> > /opt/share/AbiSuite/fonts/ISO-8859-8
> > and put there the ariel ttf fonts. I created an appropriate fonts.dir +
> > fonts.scale files, where there is only the ISO-8859-8 encoding for each font.
> 
> (BTW: I suggest you put in Times New Roman as well, as it looks much
> better printed. But we'll worry about that later)
> 
> >
> > Then, I have executed the script
> > /ttfadmin.sh /opt/share/AbiSuite/fonts/ISO-8859-8 ISO-8859-8
> >
> > to create some other font files (for printing?)
> >
> > Finally, Iset my LANG, LC_TYPE, LC_ALL to he_IL.ISO-8859-8 (In their
> > instructions they used the encoding iw_IL.ISO-8859-8 - but what is iw ???)
> 
> iw is the old two-letter code (ISO-639?) for Hebrew. "Naturally" it means
> IWrit (Ivrit). "he" is the newer one (in the newer version of the same
> standard)
> 
> > and run abiword.
> >
> > I get this message:
> >
> > "Abiword was not able to the X font path.
> > This does not mean that thre is anything wrong with your
> > system, but you will need to modify your font path manually.
> > Please see 'Unix Font Path Problem' in the FAQ section of
> > the Abiword help file for more detailed information, including
> > instructions on how to turn this warning off."
> >
> >
> > BTW: This message also showed up even *before* I tried to install the
> > hebrew fonts - i.e., before I created the subdirectory etc...
> >
> >
> > Of course, the FAQ staff is useless as all the documentation of this
> > project is not syncronized with itself...
> >
> > The program still runs... However: I cannot see the hebrew ariel font! I
> > mean I don't see it in the list of available fonts. I only see ariel font
> > which is supplied by abisoft.
> 
> Have you tried to remove this font from the fonts.dir of the fonts in the
> original AbiWord directory?
> 
> (Not an optimal solution, I know)

doesn't help...

> 
> >
> > Consequently, When I switch to hebrew keyboard and I try to type - I get
> > empty circles instead of the letters of our holly language.
> >
> > The bidi is working - I mean it changes the typing direction etc.. but
> > still I cannot see hebrew.
> >
> > When I look into the script of abiword that add the fonts path - I see it
> > does everything ok. I see that it actually does the xset fp+ to the
> > subdirectory with the hebrew fonts. If I issue this command manually - I
> > can see my hebrew fonts on gfontsel - which means that the fonts and
> > fonts.dir are OK. Y
> 
> It should have also created Type1 fonts of those TTFs.
> 
> >
> >
> > My system is: Mandrake 8.1 .
> 
> Do you have locales-he installed?

yes

> 
> I managed to get it working for me (I only set LANG, IIRC). I'm not
> exactly sure what exactly I had to do to the fonts directory to make this
> work.

that's the problem. I also once managed to get it work somehow (few
versions before the current one). The prob is that you never get it right
one the first run. Then you start following their various documentations +
mailing lists. These are of course inconsistent. So you start permutating
with the different solutions until you get it right. It takes few days
though. I thought I could save myself the trouble this time... Any way if I
manage to get it work - I'll report. Maybe also even publish a paper about
it.

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]

Reply via email to