Output double instead of int in postscript code
Posted: 2011-06-29T05:12:31-07:00
we have a bug at debian using an high precision printf see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632065
You output double instead of int for pages and bounding box field (at least on ps.c, but i have not checked ps3 and pdf)
Please also notice that if you use %i and cast to int, that you need to create positive length bounding box so use ceil and floor in order to enforce this.
Bastien
You output double instead of int for pages and bounding box field (at least on ps.c, but i have not checked ps3 and pdf)
Please also notice that if you use %i and cast to int, that you need to create positive length bounding box so use ceil and floor in order to enforce this.
Bastien