[cups.general] (still) accented letters dropped

pipitas k1pfeifle at gmx.net
Mon Jan 22 17:04:52 PST 2007


Tim Waugh wrote:

> On Wed, 2006-10-18 at 11:46 -0400, Fred wrote:
> 
>> in /etc/cups/cupsd.conf, I've tried "utf-8" or "iso-8859-1" for
>> "DefaultCharset"
> 
> The texttops filter in CUPS does not correctly handle the UTF-8
> character encoding.  You can try setting 'iso-8859-1' as the
> DefaultCharset, but make sure you also convert your (presumably UTF-8
> encoded) document to iso-8859-1 as well, like this:
> 
> iconv -f utf-8 -t iso-8859-1 -o output.txt input.txt
> 
> The Red Hat package of CUPS in Fedora Core 6 (shortly to be released)
> and in the next version of Red Hat Enterprise Linux will use a text->PS
> filter based on the paps package, which does correctly handle UTF-8 and
> uses fontconfig for rendering glyphs.  This means that documents such
> as /usr/share/doc/pango-*/HELLO.utf8 will print out correctly.

paps is nice -- however, I wonder why it had to implement its
"margins" commandline parameter with a different syntax than is
known from the CUPS texttops filter (i.e. "bottom-margin" vs.
"page-bottom", etc).




More information about the cups mailing list