RE: GtkPrintOperation and margins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Another bug that I noticed whilst working on this is that I initially tried
to work in pixels rather than inches, so I tried to extract the print margin
size in pixels by:

    margin = gtk_page_setup_get_top_margin(pageSetup, GTK_UNIT_PIXEL);

And with a 1" top margin this returned the value 72. With a 300dpi printer
that should have returned 300 - it has actually returned the point size
rather than pixel size (as if I'd called it with GTK_UNIT_POINT).

I will submit a bug report on this too if thats not already been done.




_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux