[kde-freebsd] Fwd: cups 1.3.9 (from ports) && Cyrillic fonts

Matthias Apitz guru at unixarea.de
Tue Apr 13 15:20:48 CEST 2010


Hello

Interestingly the file looks and prints(!) fine from KDE's kwrite; any
ideas? Thanks

	matthias

----- Forwarded message from Matthias Apitz <guru at unixarea.de> -----

From: Matthias Apitz <guru at unixarea.de>
Date: Mon, 12 Apr 2010 13:16:14 +0200
To: freebsd-questions at freebsd.org
Subject: cups 1.3.9 (from ports) && Cyrillic fonts


Hello,

I want to print via CUPS (from the ports 1.3.9) in FreeBSD 8-CURRENT
UTF-8 text files with Cyrillic (and other) chars; see the very small
attached file; the conversion of the UTF-8 textfile is done by CUPS's
texttops and someone can simulate this without wasting paper with this
command:

$ CHARSET=utf-8 /usr/local/libexec/cups/filter/texttops 1 rleigh myfile 1 "" < testfile.utf8 > ps

and check the resulting PostScript file with a viewer, for example
Ghostview. 

The mapping between the Unicode codepoints and fonts for CUPS is done in
/usr/local/share/cups/charsets/utf-8 which has for Cyrillic chars U-0400...U+04FF:

0400 04FF ltor single Courier Courier-Bold Courier-Italic Courier-Bold-Italic

Using the attached test file all is printed fine, all but the Cyrillic
line. If you run this through Ghostview it says (it seems for the
Cyrillic chars):

$ gs ps
GPL Ghostscript 8.63 (2008-08-01)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Substituting .notdef for afii10035 in the font Courier
Substituting .notdef for afii10077 in the font Courier
Substituting .notdef for afii10085 in the font Courier
...

On a real printer all is printed fine, all but the the Cyrillic line.
Any idea what is missing? Is this a problem with CUPS or with the
viewer?

Thanks in advance

	matthias


----- End forwarded message -----

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at unixarea.de> - w http://www.unixarea.de/
¡Ya basta! ¡Tropas de OTAN, fuera de Afghanistan!
There's an end of it! NATO troups out of Afghanistan!
Schluss jetzt endlich! NATO raus aus Afghanistan!
-------------- next part --------------


       Deutsche Umlaute: äöü AÖÜ ß 
Spanische tilde Zeichen: áéíñóúü ÁÉÍÑÓÚÜ ¿? ¡!
      Russische Zeichen: Случайно заметил, какая штука появляется на мгновение при компилляции
    Griechische Zeichen: Το μεγαλόσταÏ
ρο τοÏ
 ΑποστόλοÏ



More information about the kde-freebsd mailing list