Type1 font embedding in kde printing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
First of all, many thanks to mr. Moor for kde 2.2 packaging. It really
rocks :) I''ve got META key and distinct PGP indentities in kmail, and I'm
almost happy :) Moreover, it looks like KDE can really print now even with
non ISO-8859-1 locales. It embeds system Type1 or TrueType font in PS file.
Embedding works fine for TrueType font though font is embedded as Custom
Type3 font and looks somewhat ugly in PDF. But for Type1 it doesn't work. PS
interpreter got an exception trying to interpret resulting file. I've found
that problem is in font section -- there is "-" sign which shouldn't be:
growler@growler:~% diff -u print.ps print1.ps
- --- print.ps Mon Jul 2 13:44:21 2001
+++ print1.ps Mon Jul 2 14:04:38 2001
@@ -1967,7 +1967,7 @@
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
cleartomark{restore}if
- -─/FE27[/.notdef/empty/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND
+/FE27[/.notdef/empty/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND
/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/ND/space/exclam/quotedbl/numbersign/dollar
/percent/ampersand/quotesingle/parenleft/parenright/asterisk/plus/comma/hyphe
n
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon/semicol
on
File print1.ps (edited by hand) is printable (or compilable to PDF), and
file print.ps is not.
If someone has an expirience with getting libkdeprint embedding Type1 font
in proper way I would like to share it :)
- --
Alexey Naidyonov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7QE+xlX4TjLnnmokRAkP4AKDdF0rzbhLBIfrNSdMgm6iiu8C73wCbBVQA
JFQ22aYKYDqyIWgJPpmWKog=
=L1ET
-----END PGP SIGNATURE-----
Reply to: