Browse Source

Merge pull request #351 in CORE/base-third from ~HUGH.C/base-third:bugfix/10.0 to bugfix/10.0

* commit '52c2f5a1e5476349eac2b5e3a132259d2943d13a':
  REPORT-25774 提升权限,供外部调用
bugfix/10.0
ju.ju 5 years ago
parent
commit
f17e13c384
  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();
}
float width(String s) {
public float width(String s) {
double width = 0.0d;
java.awt.Font font = this.getAwtFont();
if (font.getSize2D() > 0) {

Loading…
Cancel
Save