Printing issues on Mac [was [PATCH] Change default MacOS font]
Lubomir I. Ivanov
neolit123 at gmail.com
Tue Feb 5 13:22:50 PST 2013
On 5 February 2013 23:01, Henrik Brautaset Aronsen
<subsurface at henrik.synth.no> wrote:
> On Mon, Feb 4, 2013 at 10:23 PM, Robert C. Helling <helling at atdotde.de>
> wrote:
>>
>>
>> On the printing issue: It's really the size. In print.c, in set_font, if I
>> manually divide the size parameter by a number around 20.0, it looks ok-ish.
>
>
> Since I got hold of that 10.6.8 Mac, I thought I should try printing there
> as well. And it worked fine! See the attached PDF for result.
>
> So this is a 10.8.x issue, I guess. Come to think of it, my media center
> runs 10.7.x, so I'll check there as well.
>
looks good, indeed.
btw, are the DPI settings on those two OSes different by any chance?
this is a patch i've send before:
git log -S INCH
commit 50eac41129b09f9 <snip>
but now to think of it, this method relies on fixed 72 DPI which is set in.
display.h:6:#define DPI_SCREEN 72.0
and on theory this method isn't very good, unless we retrieve the
actual system setting - perhaps with gdk_screen_get_resolution().
then again the docs there say that the default DPI is 96. i remember
something didn't work very well with gdk_screen_get_resolution(), so
that's my only explanation why the value is fixed to 72 at this point.
lubomir
--
More information about the subsurface
mailing list