本文整理了Java中com.itextpdf.text.Font.isStandardFont()
方法的一些代码示例,展示了Font.isStandardFont()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Font.isStandardFont()
方法的具体详情如下:
包路径:com.itextpdf.text.Font
类名称:Font
方法名:isStandardFont
[英]Checks if the properties of this font are undefined or null.
If so, the standard should be used.
[中]检查此字体的属性是否未定义或为空。
如果是,则应使用该标准。
代码示例来源:origin: com.itextpdf/itextpdf
/**
* Sets the listsymbol.
*
* @param symbol a <CODE>Chunk</CODE>
*/
public void setListSymbol(final Chunk symbol) {
if (this.symbol == null) {
this.symbol = symbol;
if (this.symbol.getFont().isStandardFont()) {
this.symbol.setFont(font);
}
}
}
代码示例来源:origin: com.itextpdf/itextg
/**
* Sets the listsymbol.
*
* @param symbol a <CODE>Chunk</CODE>
*/
public void setListSymbol(final Chunk symbol) {
if (this.symbol == null) {
this.symbol = symbol;
if (this.symbol.getFont().isStandardFont()) {
this.symbol.setFont(font);
}
}
}
代码示例来源:origin: com.itextpdf/itextpdf
case Element.CHUNK:
Chunk chunk = (Chunk) element;
if (!font.isStandardFont()) {
chunk.setFont(font.difference(chunk.getFont()));
代码示例来源:origin: com.itextpdf/itextg
case Element.CHUNK:
Chunk chunk = (Chunk) element;
if (!font.isStandardFont()) {
chunk.setFont(font.difference(chunk.getFont()));
代码示例来源:origin: com.itextpdf/itextpdf
Font f = chunk.getFont();
String c = chunk.getContent();
if (font != null && !font.isStandardFont()) {
f = font.difference(chunk.getFont());
代码示例来源:origin: com.itextpdf/itextg
Font f = chunk.getFont();
String c = chunk.getContent();
if (font != null && !font.isStandardFont()) {
f = font.difference(chunk.getFont());
内容来源于网络,如有侵权,请联系作者删除!