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
IOExceptionpublic PfmFont(FontDataInputSource input, boolean embeddable) throws IOException
IOExceptionpublic 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
IOExceptionprotected byte[] readZString(long offset)
throws IOException
IOExceptionpublic boolean isEmbeddable()
Copyright © 2020 Hitachi Vantara. All rights reserved.