From ba6b6aacf19a70654ed4a11d594f2bc517fdc601 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 2 Jan 2021 15:58:40 -0500 Subject: [PATCH] Fix outdated comment --- libqpdf/QPDFPageObjectHelper.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libqpdf/QPDFPageObjectHelper.cc b/libqpdf/QPDFPageObjectHelper.cc index 3e303f6a..f8f5e5a7 100644 --- a/libqpdf/QPDFPageObjectHelper.cc +++ b/libqpdf/QPDFPageObjectHelper.cc @@ -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