<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
David Boddie escreveu:<br>
<span style="white-space: pre;">&gt; On Sunday 25 June 2006 12:12,
Jeremy Sanders wrote:<br>
&gt;<br>
&gt;&gt; Have you tried using TrueType fonts (like from Microsoft's
Corefonts, such<br>
&gt;&gt; as Arial or Times New Roman). My plotting package Veusz
creates postscript<br>
&gt;&gt; output which looks fine. I haven't heard of anyone
complaining about<br>
&gt;&gt; low resolution fonts.<br>
&gt;<br>
&gt; TrueType fonts work fine for me. However, Jos&eacute; seems to be
having problems<br>
&gt; with Arial and Lucida Sans.<br>
&gt;</span><br>
Yes all the problems I am having is with truetype fonts, thats all im<br>
testing.<br>
<span style="white-space: pre;">&gt;&gt; There is a bug in
ghostscript however, which means pdf files generated<br>
&gt;&gt; from qt3 lose some of their text, sigh...<br>
&gt;&gt;<br>
&gt;&gt; <a class="moz-txt-link-freetext" href="http://bugs.ghostscript.com/show_bug.cgi?id=688760">http://bugs.ghostscript.com/show_bug.cgi?id=688760</a><br>
&gt;<br>
&gt; Thanks for pointing out that bug report. It might explain some
of the<br>
&gt; problems I've seen with PDFs in an unrelated issue at work, and
hopefully<br>
&gt; your workaround for the problem will help with that.<br>
&gt;<br>
&gt; Perhaps Jos&eacute;'s problem is partly a result of Postscript to PDF
conversion.<br>
&gt; Jos&eacute;, do you see the same problems when you produce Postscript
files using<br>
&gt; Arial and Lucida Sans?<br>
&gt;<br>
&gt; David</span><br>
Yes, it appends in direct printing, postcript generation (print to<br>
file) and printing to a pdf printer.<br>
<br>
The problem seems to be between qt postscript generator and<br>
ghostscript. Personnaly i think its a qt bug, speaking related to this<br>
blog post here:<br>
<br>
<a class="moz-txt-link-freetext" href="http://blogs.qtdeveloper.net/archives/2005/12/22/printing-and-wysiwyg/">http://blogs.qtdeveloper.net/archives/2005/12/22/printing-and-wysiwyg/</a><br>
<br>
I have found&nbsp; a mail sent to the kde lists that speaks about a similar<br>
problem here:<br>
<br>
<a class="moz-txt-link-freetext" href="http://lists.kde.org/?l=kde&m=109064343317685&w=2">http://lists.kde.org/?l=kde&amp;m=109064343317685&amp;w=2</a><br>
<br>
The current situation its half resolved.<br>
If I run qtconfig and disable the font embedding, i can have great<br>
results with some fonts, Times New Roman, Lucida Sans and some others<br>
more, which for now resolves my problem by being able to print in at<br>
least 3 or 4 different fonts.<br>
<br>
But it still gives bad results with most of the fonts, wich i<br>
identified as being a qt problem, because the openoffice postscript<br>
generator whorks like a charm and also ghostscript used with other<br>
programms too.<br>
<br>
In the changes i made, mainly the bigger problem whas that my font<br>
path search in qtconfig whasnt configured, i added some truetype fonts<br>
folders to it andit can represent some fonts better than it whas but<br>
not all. :(<br>
<br>
This link <a class="moz-txt-link-freetext" href="http://www.geocities.com/mobrien_12/pdflinux.htm">http://www.geocities.com/mobrien_12/pdflinux.htm</a><br>
<br>
also give some clues as how the pdf and postscript generation whorks.<br>
<br>
What would be ideal its perhaps send raw data to the printer, which i<br>
dont know how to do it, because ghostscript behaves well embedding<br>
fonts in the postscript it generates, anlysing the qt postscript, it<br>
allways converts fonts fonts to type 2 and 3 which its not always
good.<br>
<br>
I will still be investigating this and probably wil send a mail to th<br>
qt list and ask if someone had the same problems there.<br>
If the postscript generation is better in qt4 i will also probably<br>
start to convert my application to pyqt4, but for now the little<br>
skills i have are all turned to pyqt3.<br>
<br>
Thanks everyone for your help, and if anyone as more ideas they are<br>
welcomme.<br>
<br>
Best Regards,<br>
<br>
Jos&eacute; David<br>
<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.3 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a><br>
<br>
iD8DBQFEnrSTBdVvWvDxTXkRAoyOAJ9BLN9KXJCCTP7GiNKCXwrlyCut5gCZATQu<br>
cBBs1bQLgU15h0vtx4texD8=<br>
=l8WF<br>
-----END PGP SIGNATURE-----<br>
<br>
</body>
</html>