Comment 45 for bug 380501

Revision history for this message
Adrian Johnson (ajohnson-redneon) wrote :

The BoundingBox/PageBoundingBox DSC comments must be integers. So you will need something like:

   os_bbox << "%%BoundingBox: 0 0 " << (int)ceil(width) << (int)ceil(height);
   os_pagebbox << "%%PageBoundingBox: 0 0 " << (int)ceil(width) << (int)ceil(height);