[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Print Quality
From:       Jose David <david () jotux ! org>
Date:       2006-06-24 19:47:17
Message-ID: 449D96C5.6010801 () jotux ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Boddie escreveu:
> On Sat, 24 Jun 2006 08:25:23 +0100, Jose David wrote:
>
>> After long googling hours and reading tutorials and manuals, i come to
>> ask for help in the list.
>>
>> Im trying to print with a QPainter on QPrinter and everything whorks
>> fine, except the print quality.
>>
>> I have a true-type font server installed, postscript interpreters,
>> everything needed to produce quality prints and i am able to do so
>> from every program i have, except the one im writing in pyqt. :(:(
>
> Have you tried some of the Qt or PyQt examples and demos that deal with
> printing? Do they also suffer from the same problem?
>
Yes i did, and yes it's the same :(
>> Currently i have set the printer quality from 72 to maximum quality
>> with no better result.
>
> This probably won't have much effect on font rendering. I seem to remember
> that this was a subject of confusion on the qt-interest mailing list.
Same idea, but i tried anyway
>
>> The problem, i think, comes from the font conversions, i have heletica
>> font in my system and its the only one i can print with full quality,
>> no other one whorks fine. The prints fonts always look lyke a low
>> resolution bitmap. ;(;(
>
> I guess it could be a font setup issue. Can you post some code that shows
> the problem?
Sure, just point to http://www.jotux.org/code/ and you will find a
printer test dialog and some pdf printed in my system.

The pdfs where printed to a cups-pdf printer, which is giving the
exact same output as the normal printers i have, a Minolta 1300w and a
Epson stylus cx3650.

I whas fooled, the font that prints fine its the Nimbus Sans L , i
whas specifying Helvetica but as the name of the one i have its
diferent it whas falling back to Nimbus.

With the printer_tests.py you can see the one you choosed and the font
that the painter uses in the printer.
>
>> As anyone experienced the same problem ??
>>
>> Any solution ??
>>
>> Im running python 2.3.5 and qt 3.3.6
>
> Thanks for the version information! I assume you're running Linux, or some
> Unix that uses X11 as its display system, since you're using a font server.
Yes, its Debian GNU/Linux  and it rocks ;-)
>
> David
>
> _______________________________________________
> PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Thanks for the reply, as anyone had this problem or its just me??
The problem seems to bee in all versions of Debian, stable testing and
unstable.

If you have other systems and can try i will apreciate.


Best Regards,

José David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEnZbBBdVvWvDxTXkRAv51AJ4nHWggHSDAjmg8nU7ZhAD9Bhls3wCZATHc
366bc/1iItxm+UwAY7oQhcI=
=cSz+
-----END PGP SIGNATURE-----


[Attachment #5 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1"
 http-equiv="Content-Type">
</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 Sat, 24 Jun 2006 08:25:23
+0100, Jose David wrote:<br>
&gt;<br>
&gt;&gt; After long googling hours and reading tutorials and manuals,
i come to<br>
&gt;&gt; ask for help in the list.<br>
&gt;&gt;<br>
&gt;&gt; Im trying to print with a QPainter on QPrinter and
everything whorks<br>
&gt;&gt; fine, except the print quality.<br>
&gt;&gt;<br>
&gt;&gt; I have a true-type font server installed, postscript
interpreters,<br>
&gt;&gt; everything needed to produce quality prints and i am able to
do so<br>
&gt;&gt; from every program i have, except the one im writing in
pyqt. :(:(<br>
&gt;<br>
&gt; Have you tried some of the Qt or PyQt examples and demos that
deal with<br>
&gt; printing? Do they also suffer from the same problem?<br>
&gt;</span><br>
Yes i did, and yes it's the same :(<br>
<span style="white-space: pre;">&gt;&gt; Currently i have set the
printer quality from 72 to maximum quality<br>
&gt;&gt; with no better result.<br>
&gt;<br>
&gt; This probably won't have much effect on font rendering. I seem
to remember<br>
&gt; that this was a subject of confusion on the qt-interest mailing
list.</span><br>
Same idea, but i tried anyway<br>
<span style="white-space: pre;">&gt;<br>
&gt;&gt; The problem, i think, comes from the font conversions, i
have heletica<br>
&gt;&gt; font in my system and its the only one i can print with full
quality,<br>
&gt;&gt; no other one whorks fine. The prints fonts always look lyke
a low<br>
&gt;&gt; resolution bitmap. ;(;(<br>
&gt;<br>
&gt; I guess it could be a font setup issue. Can you post some code
that shows<br>
&gt; the problem?</span><br>
Sure, just point to <a class="moz-txt-link-freetext" \
href="http://www.jotux.org/code/">http://www.jotux.org/code/</a> and you will find \
a<br> printer test dialog and some pdf printed in my system.<br>
<br>
The pdfs where printed to a cups-pdf printer, which is giving the<br>
exact same output as the normal printers i have, a Minolta 1300w and a<br>
Epson stylus cx3650.<br>
<br>
I whas fooled, the font that prints fine its the Nimbus Sans L , i<br>
whas specifying Helvetica but as the name of the one i have its<br>
diferent it whas falling back to Nimbus.<br>
<br>
With the printer_tests.py you can see the one you choosed and the font<br>
that the painter uses in the printer.<br>
<span style="white-space: pre;">&gt;<br>
&gt;&gt; As anyone experienced the same problem ??<br>
&gt;&gt;<br>
&gt;&gt; Any solution ??<br>
&gt;&gt;<br>
&gt;&gt; Im running python 2.3.5 and qt 3.3.6<br>
&gt;<br>
&gt; Thanks for the version information! I assume you're running
Linux, or some<br>
&gt; Unix that uses X11 as its display system, since you're using a
font server.</span><br>
Yes, its Debian GNU/Linux&nbsp; and it rocks ;-)<br>
<span style="white-space: pre;">&gt;<br>
&gt; David<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; PyKDE mailing list&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-abbreviated" \
href="mailto:PyKDE@mats.imk.fraunhofer.de">PyKDE@mats.imk.fraunhofer.de</a><br> &gt; \
<a class="moz-txt-link-freetext" \
href="http://mats.imk.fraunhofer.de/mailman/listinfo/pykde">http://mats.imk.fraunhofer.de/mailman/listinfo/pykde</a></span><br>
 <br>
Thanks for the reply, as anyone had this problem or its just me??<br>
The problem seems to bee in all versions of Debian, stable testing and<br>
unstable.<br>
<br>
If you have other systems and can try i will apreciate.<br>
<br>
<br>
Best Regards,<br>
<br>
Jos&eacute; David<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>
iD8DBQFEnZbBBdVvWvDxTXkRAv51AJ4nHWggHSDAjmg8nU7ZhAD9Bhls3wCZATHc<br>
366bc/1iItxm+UwAY7oQhcI=<br>
=cSz+<br>
-----END PGP SIGNATURE-----<br>
<br>
</body>
</html>



_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic