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

Dima Panov fluffy at fluffy.khv.ru
Wed Apr 14 00:41:18 CEST 2010


On Wednesday 14 April 2010 02:02:53 Matthias Apitz wrote:
> El día Wednesday, April 14, 2010 a las 01:02:10AM +1100, Dima Panov escribió:
> > 1. Your cups installation is very outdated.
> 
> I know, but this it what 8-CURRENT have had in the ports;

Use Source, Luck! ^W^W^W Use cvsup to update sources and portstree

> 
> > 2. This filter generate correct postscript file for me. except greek
> > characters.
> 
> what is the diff between your provided file 1.ps and 2.ps?
> both are showing fine Cyrillic, but error for the Greek chars in
> Ghostview:
> 
> Substituting .notdef for Tau in the font Courier
> Substituting .notdef for omicron in the font Courier
> Substituting .notdef for epsilon in the font Courier
> Substituting .notdef for gamma in the font Courier
> Substituting .notdef for alpha in the font Courier
> Substituting .notdef for lambda in the font Courier
> Substituting .notdef for omicrontonos in the font Courier
> ...

1.ps premared with cups' default Monospace font, 2.ps - with Courier
Indeed, both doesn't contain a Greek characters

> 
> could you show me your file /usr/local/share/cups/charsets/utf-8 or do
> you know why my ps.gz file (attached) does not work in Ghostview for the
> Cyrillic chars? Thanks again;

0000 00FF ltor single Monospace Monospace-Bold Monospace-Oblique Monospace-BoldOblique                                                              
0100 01FF ltor single Monospace Monospace-Bold Monospace-Oblique Monospace-BoldOblique                                                              
0200 02FF ltor single Monospace Monospace-Bold Monospace-Oblique Monospace-BoldOblique                                                              
0300 03FF ltor single Monospace Monospace-Bold Monospace-Oblique Monospace-BoldOblique                                                              
0400 04FF ltor single Monospace Monospace-Bold Monospace-Oblique Monospace-BoldOblique                                                              
1E00 1EFF ltor single Monospace Monospace-Bold Monospace-Oblique Monospace-BoldOblique                                                              
2000 20FF ltor single Monospace Monospace-Bold Monospace-Oblique Monospace-BoldOblique                                                              
2300 23FF ltor single Monospace Monospace-Bold Monospace-Oblique Monospace-BoldOblique                                                              
2400 24FF ltor single Monospace Monospace-Bold Monospace-Oblique Monospace-BoldOblique                                                              
2500 25FF ltor single Monospace Monospace-Bold Monospace-Oblique Monospace-BoldOblique                                                              
2600 26FF ltor single Monospace Monospace-Bold Monospace-Oblique Monospace-BoldOblique


Your version of Courier isn't support full Unicode, only euro characters nor Cyrillic.

ghostscript (and cups's filter too) use fontpaths from /etc/X11/xorg.conf, please place 
some ttf sets (such as webfonts, dejavu-ttf, bitstream-vera) at first places in paths. 

-- 
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


More information about the kde-freebsd mailing list