public final class CIDFontMapping extends FontMapping<OpenTypeFont>
Constructor and Description |
---|
CIDFontMapping(OpenTypeFont font,
FontBoxFont fontBoxFont,
boolean isFallback) |
Modifier and Type | Method and Description |
---|---|
FontBoxFont |
getTrueTypeFont()
Returns a TrueType font when isCIDFont() is true, otherwise null.
|
boolean |
isCIDFont()
Returns true if this is a CID font.
|
getFont, isFallback
public CIDFontMapping(OpenTypeFont font, FontBoxFont fontBoxFont, boolean isFallback)
public FontBoxFont getTrueTypeFont()
public boolean isCIDFont()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.