[Kst] Kst 2.0.4: Request to set DPI Resolution for PDF Export

Barth Netterfield netterfield at astro.utoronto.ca
Mon Oct 17 13:05:25 UTC 2011

Thanks!  The legend font resolution problem is clear in the code.  I
submitted a bug report.  It will be fixed for 2.0.5.

If that were fixed, so legend text was rendered directly to the
printer, like it is for everything else, would there be a need for (1)
and (2)?


On Sat, Oct 15, 2011 at 9:43 AM, repaul_schrott-kst at yahoo.de
<repaul_schrott-kst at yahoo.de> wrote:
> Dear all,
> Latetly I have come across a small issue which concerns the PDF/PS export function on all platforms (Linux, Win32, Mac).
> Whenever I "print to" a real printer or PDF driver or use "export to" -> PDF the text content of the legends is blurry because it is aliased at screen resolution and then rendered at this resolution to the PDF file. This is unlike the other labels which get aparrently encoded as true type outline characters and thus rendered at full resolution.
> I looked at the code of "mainwindow.cpp" and saw that the resolution for "export" and "print" is hardcoded to "QPrinter::ScreenResolution". According to the qt docs the alternative is "::HighResolution" which is 1200dpi, which really is no alternative either because it requires enormous amounts of memory for plotting. Therefore I would like to request 2 two things:
> 1) An addition to the preferences dialog to set the DPI resolution for PDF/PS export. Default values could be 200/300/600 DPI.
> 2) If it is not too complicated a DPI option for bitmap export as well.
> Request 1) would be more important because I can then thru the chain print -> PDF/PS -> ghostscript -> PNG but the nevertheless when I want to plots in Word, the option which least surprises is to the generate a PNG/JPG with 300/600 DPI and include as a bitmap.
> Thanks
> Ralph Paul
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst

C. Barth Netterfield
University of Toronto

More information about the Kst mailing list