Browse Source

REPORT-25774 提升权限,供外部调用

bugfix/10.0
Hugh.C 5 years ago
parent
commit
52c2f5a1e5
  1. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/PdfFont.java

2
fine-itext/src/com/fr/third/v2/lowagie/text/pdf/PdfFont.java

@ -168,7 +168,7 @@ public class PdfFont implements Comparable {
return image.getScaledWidth(); return image.getScaledWidth();
} }
float width(String s) { public float width(String s) {
double width = 0.0d; double width = 0.0d;
java.awt.Font font = this.getAwtFont(); java.awt.Font font = this.getAwtFont();
if (font.getSize2D() > 0) { if (font.getSize2D() > 0) {

Loading…
Cancel
Save