Browse Source

Pull request #482: REPORT-33863 html图片宽度大于实际盒子宽度时,图片后的文字丢失

Merge in CORE/base-third from ~HUGH.C/base-third:release/10.0 to release/10.0

* commit '9fbe5da1501b4972fc667dbdef7a74ec69675fce':
  REPORT-33863 html图片变成了图片后文字的背景图;html图片宽度大于实际盒子宽度时,图片后的文字丢失
release/10.0
Hugh.C 5 years ago
parent
commit
f81bae5a39
  1. 1
      fine-itext/src/main/java/com/fr/third/v2/lowagie/text/pdf/PdfLine.java

1
fine-itext/src/main/java/com/fr/third/v2/lowagie/text/pdf/PdfLine.java

@ -214,6 +214,7 @@ public class PdfLine {
// if the chunk couldn't even be truncated, we add everything, so be it
else if (overflow != null){
addToLine(overflow);
width = 0;
return null;
}else{
addToLine(chunk);

Loading…
Cancel
Save