Printing issues on Mac [was [PATCH] Change default MacOS font]

Lubomir I. Ivanov neolit123 at gmail.com
Tue Feb 5 14:29:23 PST 2013


please try attached patch on your OS / printer setup.

so basically on windows gdk_screen_get_resolution
(gdk_screen_get_default()) returns -1:
the patch that adds retrieval of the actual screen DPI, using a
different method which should be portable.

some other notes:
i always get this warning when printing with my locale (bg_BG):
(subsurface.exe:1992): Pango-WARNING **: Invalid UTF-8 string passed to pango_la
yout_set_text()
W: T: T
which perhaps suggests incorrect truncation of UTF-8 strings somewhere
in print.c.

while using the system DPI (96 over here) things look better as the
font is smaller and there is no overlapping, but it results in this
strange black triangle shape:
http://i48.tinypic.com/33aulvt.png

any idea what that might be? seems like an element isn't scaled
correctly in profile.c using the "plot_scale" variable.
only happens with said locale.

lubomir
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-GDK-methods-to-retrieve-the-actual-screen-DPI.patch
Type: application/octet-stream
Size: 1524 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130206/9480a18a/attachment-0001.obj>


More information about the subsurface mailing list