2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +00:00

Fix outdated comment

This commit is contained in:
Jay Berkenbilt 2021-01-02 15:58:40 -05:00
parent 3be58f49e5
commit ba6b6aacf1

View File

@ -938,8 +938,8 @@ QPDFPageObjectHelper::placeFormXObject(
QPDFObjectHandle::Rectangle bbox = bbox_obj.getArrayAsRectangle();
QPDFObjectHandle::Rectangle T = wmatrix.transformRectangle(bbox);
// Calculate a scale factor, if needed. If the transformed
// rectangle is too big, shrink it. Never expand it.
// Calculate a scale factor, if needed. Shrink or expand if needed
// and allowed.
if ((T.urx == T.llx) || (T.ury == T.lly))
{
// avoid division by zero