浏览代码

Update InstalledFontCollection.java

pull/61/head
Mikael Andersen 4 年前
父节点
当前提交
7ea100b3ca
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      fop-core/src/main/java/org/apache/fop/render/java2d/InstalledFontCollection.java

+ 1
- 1
fop-core/src/main/java/org/apache/fop/render/java2d/InstalledFontCollection.java 查看文件

@@ -91,7 +91,7 @@ public class InstalledFontCollection implements FontCollection {
+ ", Style: " + f.getStyle());
}

String searchName = FontUtil.stripWhiteSpace(f.getName()).toLowerCase();
String searchName = FontUtil.stripWhiteSpace(f.getFontName(Locale.ENGLISH)).toLowerCase();
String guessedStyle = FontUtil.guessStyle(searchName);
int guessedWeight = FontUtil.guessWeight(searchName);


正在加载...
取消
保存