Subject: Re: cjk support on unix is broken
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Thu May 10 2001 - 18:48:51 CDT
Hi hashao
Sorry no one has got back to you until now. We don't have many
developers who know and use the 16-bit features of abi. I guess this is
why we did not know about this problem until now.
On Tue, 8 May 2001, ha shao wrote:
> The cjk support in abiword is broken now. currently, the fonts.dir
> for cjk locales use a hack to support printing as:
>
> Song-Medium-GB-EUC-H, -default-song-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0, 880, 120, 1000
>
> where the fields are: ps fontname, xlfd, ascend, descend, width.
> The average font ascend, descend, width are obtained with xlsfonts.
>
> Since version 0.7.14, XAP_UnixFont depends on the first field
> of fonts.dir as the font filename to do all the open/metrics operations.
> The result is that Chinese support (display/printing) stop working
> now.
>
> I want to know if the new font handling mechanism also works for
> ttf fonts with more than 255 glyphs? It seems the encoding.h for
> ttftool only supports font with 255 glyphs.
>
I would gues it does not either.
> If cjk ttf support cannot be easily add to the current font handling method,
> would you put some work around for cjk fonts?
>
Do you have ideas for how this could be done?
> Also,file size of normal Chinese TT fonts are in the range of 3MB-10+MB.
> Is it feasible to convert the fonts into type42 and embed in .ps
> files?
>
I guess it could be done but Abi would be dog slow printing. The only near
term solution would be to hope that gnome-print finally manages to
properly support TT printing.
> PS: The cjk support was broken since 0.7.14. I did not check it out until
> an user reported it.
>
We would really appreciate someone from the Chinese and other 16 bit
locales monitoring abi cvs so these problems could be fixed sooner.
Thank you,
Martin
PS. I will endeavour to review and commit patches from 16-bit locales.
This archive was generated by hypermail 2b25 : Sat May 26 2001 - 03:51:03 CDT