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

Dima Panov fluffy at fluffy.khv.ru
Tue Apr 13 16:02:10 CEST 2010


On Wednesday 14 April 2010 00:20:48 Matthias Apitz wrote:
> 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
> 

1. Your cups installation is very outdated.
2. This filter generate correct postscript file for me. except greek characters.


-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia          | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
KDE at FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.ps.zip
Type: application/zip
Size: 9694 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20100414/73a2639f/attachment-0002.zip 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.ps.zip
Type: application/zip
Size: 9081 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20100414/73a2639f/attachment-0003.zip 


More information about the kde-freebsd mailing list