Browse Source

REPORT-33863 html图片变成了图片后文字的背景图;html图片宽度大于实际盒子宽度时,图片后的文字丢失

release/10.0
Hugh.C 4 years ago
parent
commit
9fbe5da150
  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