Commit ba6b6aacf19a70654ed4a11d594f2bc517fdc601
1 parent
3be58f49
Fix outdated comment
Showing
1 changed file
with
2 additions
and
2 deletions
libqpdf/QPDFPageObjectHelper.cc
| ... | ... | @@ -938,8 +938,8 @@ QPDFPageObjectHelper::placeFormXObject( |
| 938 | 938 | QPDFObjectHandle::Rectangle bbox = bbox_obj.getArrayAsRectangle(); |
| 939 | 939 | QPDFObjectHandle::Rectangle T = wmatrix.transformRectangle(bbox); |
| 940 | 940 | |
| 941 | - // Calculate a scale factor, if needed. If the transformed | |
| 942 | - // rectangle is too big, shrink it. Never expand it. | |
| 941 | + // Calculate a scale factor, if needed. Shrink or expand if needed | |
| 942 | + // and allowed. | |
| 943 | 943 | if ((T.urx == T.llx) || (T.ury == T.lly)) |
| 944 | 944 | { |
| 945 | 945 | // avoid division by zero | ... | ... |