Re: Fwd: Bug#113610: AbiWord-0.9.4.1 CJK fix is available

From: Mike Fabian (mfabian@suse.de)
Date: Thu Feb 21 2002 - 19:01:50 GMT

  • Next message: Mike Fabian: "Re: How to test CJK?"

    ha shao <hashao@hashao.hypermart.net> writes:

    > On Thu, Feb 07, 2002 at 06:19:52PM +0100, Mike Fabian wrote:
    >> When trying to print Chinese or Japanese with an Abiword
    >> compiled with GNOME support, I just get the error message:
    >>
    >> The font metrics file [MOESung-Regular-B5-H] could
    >> not be opened for parsing, nor was
    >> it possible to retrieve the needed
    >> information from the X server; this
    >> is a fatal error and AbiWord will
    >> terminate.
    >>
    >> [ OK ]
    >>
    >> MOESung-Regular-B5-H is a CID-keyed font which is supported
    >> by the Ghostscript installation I am using.
    >>
    >> /usr/share/AbiSuite/fonts/zh-TW/fonts.dir contains:
    >>
    >
    >
    >>
    >> With this setup, printing works just fine when when AbiWord is build
    >> without GNOME support.
    >>
    >> Any ideas what is going wrong with printing when AbiWord is built
    >> with GNOME support?
    >
    > I remember back in 0.7x time, gnome build started to use
    > gnome-print library for printing. There were talks to also
    > kept the generic postscript printing used by the gtk build.
    > CJK printing is only supported by the generic ps printing in
    > abiword for now.

    Does the generic ps printing has any disadvantages?

    > The lastest gnome-print start supporting TTF font,

    also CJK TTF fonts? And what about CID-keyed fonts?
    For SuSE Linux 7.3 I have mainly used CID-keyed fonts
    for Abiword, for display as well as for printing.

    CID-keyed fonts are supported by XFree86 4.x as well as by Ghostscript
    6.51, therefore it was easy to use exactly the same fonts for display
    as for printing when CID-keyed fonts were used.

    Ghostscript 6.51 (without patches) didn't yet support CJK TTF fonts.
    But Ghostscript 6.53 now supports CJK TTF fonts, therefore now it
    should be possible to achieve the same with TTF fonts as well.

    > CJK printing
    > with gnome-print may finally be supported in abiword with
    > some hack.(?)

    -- 
    Mike Fabian   <mfabian@suse.de>   http://www.suse.de/~mfabian
    睡眠不足はいい仕事の敵だ。
    


    This archive was generated by hypermail 2.1.4 : Thu Feb 21 2002 - 14:06:16 GMT