CUPS 1.4.3 && printing UTF-8 text

Matthias Apitz guru at unixarea.de
Tue Sep 13 06:12:30 PDT 2011



> 2.
> I played around with paps 0.6.8 from the above site. But can't print CJK.
> The exsample file in the page http://paps.sourceforge.net/small-hello.utf8
> is painted fine on my X11 desktop using
>
> $ pango-view small-hello.utf8
>
> but when I run
>
> $ paps small-hello.utf8 > small-hello.ps
>
> Ghostscript just says:
>
> $ gs small-hello.ps
> GPL Ghostscript 8.71 (2010-02-10)
> Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Loading NimbusSanL-Regu font from
> /usr/local/share/ghostscript/fonts/n019003l.pfb... 2694352 1120245
> 4055652 2768425 1 done.
> >>showpage, press <return> to continue<<
>
> and the CJK is not shown (nor printed on Postscript printers). As well
> my generated Postscript file is only ~30 Kbytes while the original one
> at the page http://paps.sourceforge.net/small-hello.ps is around 90
> Kbytes.
>
> Any idea what I am missing here?

I figured out that for the Postscript rendering by 'paps' the two font packages (in FreeBSD from the ports collections) were missing:

x11-fonts/freefont-ttf made Bengali working and chinese/arphicttf the Japanese and Chinese;

    matthias




More information about the cups mailing list