/** * Returns the value of the symbolic flag, allowing for the fact that the result may be * indeterminate. */ protected final Boolean getSymbolicFlag() { if (getFontDescriptor() != null) { // fixme: isSymbolic() defaults to false if the flag is missing so we can't trust this return getFontDescriptor().isSymbolic(); } return null; }
@Override public boolean isSymbolic() { return descriptor.isSymbolic(); }
@Override Object[][] getFlagBits() { PDFontDescriptor fontDesc = new PDFontDescriptor(fontDescriptor); return new Object[][]{ new Object[]{1, "FixedPitch", fontDesc.isFixedPitch()}, new Object[]{2, "Serif", fontDesc.isSerif()}, new Object[]{3, "Symbolic", fontDesc.isSymbolic()}, new Object[]{4, "Script", fontDesc.isScript()}, new Object[]{6, "NonSymbolic", fontDesc.isNonSymbolic()}, new Object[]{7, "Italic", fontDesc.isItalic()}, new Object[]{17, "AllCap", fontDesc.isAllCap()}, new Object[]{18, "SmallCap", fontDesc.isSmallCap()}, new Object[]{19, "ForceBold", fontDesc.isForceBold()} }; } }
if (fd.isSymbolic() && fontDictionary.getItem(COSName.ENCODING) != null)
@Override public Boolean getisSymbolic() { PDFontDescriptor fontDescriptor = this.pdFontLike.getFontDescriptor(); return Boolean.valueOf(fontDescriptor.isSymbolic()); }
/** * Returns the value of the symbolic flag, allowing for the fact that the result may be * indeterminate. */ protected final Boolean getSymbolicFlag() { if (getFontDescriptor() != null) { // fixme: isSymbolic() defaults to false if the flag is missing so we can't trust this return getFontDescriptor().isSymbolic(); } return null; }
/** * Returns the value of the symbolic flag, allowing for the fact that the result may be * indeterminate. */ protected final Boolean getSymbolicFlag() { if (getFontDescriptor() != null) { // fixme: isSymbolic() defaults to false if the flag is missing so we can't trust this return getFontDescriptor().isSymbolic(); } return null; }
if (fd.isSymbolic() && fontDictionary.getItem(COSName.ENCODING) != null)
if (fd.isSymbolic() && fontDictionary.getItem(COSName.ENCODING) != null)