[Kde-imaging] Can someone explain to me how to fix this?

Angelo Naselli anaselli at linux.it
Thu Aug 27 23:30:25 CEST 2009


In data giovedì 27 agosto 2009 23:27:15, Angelo Naselli ha scritto:
> pageSize is QSizeF as well as size.
>
> size is 8.5"x11" multiplied by 25.4 (to get mm).
> pageSize is got from QPrintDialog and it's letter page
>
> The test code is:
> if (size.height() > pageSize.height() ||
>     size.width()  > pageSize.width())
> {
>     kDebug(51000) << "skipping size " << size << " page size " << pageSize;
> }
>
> Output is
> skipping size  QSizeF(215.9, 279.4)  page size  QSizeF(215.9, 279.4)
>
> Thanks
Ehm, I mean that page should pass not be skipped.

-- 
Angelo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20090827/8d26eec7/attachment.sig 


More information about the Kde-imaging mailing list