public class PfmFont extends Object
Constructor and Description |
---|
PfmFont(File font,
boolean embeddable) |
PfmFont(FontDataInputSource input,
boolean embeddable) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
String |
getFamilyName() |
String |
getFilename() |
String |
getFontName() |
PfmFontHeader |
getHeader() |
FontDataInputSource |
getInput() |
boolean |
isEmbeddable() |
boolean |
isItextCompatible()
IText's PFM reader is buggy.
|
protected byte[] |
readFully(long offset,
int length) |
protected byte[] |
readZString(long offset) |
public PfmFont(File font, boolean embeddable) throws IOException
IOException
public PfmFont(FontDataInputSource input, boolean embeddable) throws IOException
IOException
public boolean isItextCompatible()
public String getFontName()
public String getFamilyName()
public PfmFontHeader getHeader()
public String getFilename()
public FontDataInputSource getInput()
public void dispose()
protected byte[] readFully(long offset, int length) throws IOException
IOException
protected byte[] readZString(long offset) throws IOException
IOException
public boolean isEmbeddable()
Copyright © 2018 Hitachi Vantara. All rights reserved.