Re: Bidi problem with 1.0.3 (was Re: Hebrew in AbiWord)

From: Joaquin Cuenca Abela (e98cuenc@yahoo.com)
Date: Tue Sep 17 2002 - 04:56:29 EDT

  • Next message: F J Franklin: "Re: commit: abiword-plugins: remove autogen.sh framework"

    --- Tomas Frydrych <tomas@frydrych.uklinux.net> wrote:
    >
    > Hi Omer,
    >
    > > 1. I fetched the abiword-1.0.3.tar.gz tarball
    > (dated
    > > Sept. 11, 2002, size
    > > 19443253 bytes) and compiled AbiWord from it
    > under Linux, using:
    > > ABI_OPT_DEBUG=1 ABI_OPT_BIDI_ENABLED=1 DEBUG=1
    > make
    > >
    > > The binary appears to write debug messages to
    > stdout (assertion
    > > violations, etc.) so the debug options work.
    > >
    > > But I don't see the "Right-to-left dominant"
    > checkbox control in
    > > the Format/Paragraph/alignment&spacing dialog.
    > Is this something
    > > which is temporarily broken in 1.0.3, or did I
    > do something wrong
    > > when compiling AbiWord?
    >
    > It looks like a problem with the 1.0.3 sources; I am
    > CC-ing this to the
    > list for the stable maintainers to look into. It is
    > perhaps worth noting
    > that as far as bidi is concerned, there are fairly
    > major differences
    > between the stable branch (1.0.x) and the current
    > CVS code, which
    > is more efficient, and much less debugged.
    >
    > > 2. I still have a big problem getting Hebrew fonts
    > to work in my Linux
    > > installation, after taking the Windows 2000
    > fonts which have Hebrew
    > > glyphs. I isolated the problem to the
    > following:
    > >
    > > [omer@c2 work]$ xset +fp
    > >
    >
    /home/omer/work/AbiWord/Abi/share/AbiSuite/fonts/ISO-8859-8
    > > X Error of failed request: 86
    > > Major opcode of failed request: 51
    > (X_SetFontPath)
    > > Serial number of failed request: 9
    > > Current serial number in output stream: 11
    > > [omer@c2 work]$
    > >
    > > Any helpful suggestions where to look for the
    > reason for X Error
    > > No. 86?

    Try adding your fonts (as root):

    chkfontpath --add
    /home/omer/work/AbiWord/Abi/share/AbiSuite/fonts/ISO-8859-8

    Restart xfs after that.

    > The developement version can be now be compiled with
    > xft support,
    > which gets rid of all this font mess, but having not
    > used it myself yet,
    > I do not know what the option passed to ./config to
    > enable the xft
    > code is.

    --enable-xft

    You should have fontconfig/Xft2 (you can get them from
    fontconfig.org).

    Also double check that you DON'T have Xft1. Xft2 is
    not parallel installable with Xft1. You will now that
    abiword building is picking Xft1 if it doesn't compile
    and complains about missing Xft... (or Fc...)
    functions.

    You should also have a recent freetype version. 2.0.9
    will do the work. Something older is likely to fail.

    Once you've got everything, just copy your fonts to
    /usr/share/fonts.

    I've not checked latest versions of Xft2, but it seems
    that the old
    you-forgot-to-run-fc-cache-and-I-will-autodestruct-in-5-seconds
    bug has gone, but just to be in the save side, run
    fc-cache as root).

    Cheers,

    =====
    Joaquin Cuenca Abela
    e98cuenc@yahoo.com

    __________________________________________________
    Do you Yahoo!?
    Yahoo! News - Today's headlines
    http://news.yahoo.com



    This archive was generated by hypermail 2.1.4 : Tue Sep 17 2002 - 05:00:22 EDT