diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-01-02 21:58:40 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-01-03 21:59:49 +0100 |
commit | ba6b6aacf19a70654ed4a11d594f2bc517fdc601 (patch) | |
tree | 1700a8993085e42ffff076d37a3031e3f34e1d1a /libqpdf | |
parent | 3be58f49e57da67cf79b61061d8b1a0f7ccf7cff (diff) | |
download | qpdf-ba6b6aacf19a70654ed4a11d594f2bc517fdc601.tar.zst |
Fix outdated comment
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/QPDFPageObjectHelper.cc | 4 |
1 files 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 |