Modifier and Type | Field and Description |
---|---|
private short |
ascender |
private short |
ascent |
private short |
avgwidth |
private int |
bitoff |
private int |
bits |
private byte |
brkchar |
private short |
capheight |
private byte |
charset |
private int |
chartab |
private String |
copyright |
private byte |
defchar |
private short |
descender |
private int |
device |
private short |
extleading |
private short |
extlen |
private int |
face |
private int |
firstchar |
private int |
fontname |
private int |
h_len |
private short |
horres |
private RandomAccessFileOrArray |
in |
private short |
intleading |
private boolean |
isMono |
private byte |
italic |
private int |
kernpairs |
private byte |
kind |
private int |
lastchar |
private short |
maxwidth |
private PrintWriter |
out |
private byte |
overs |
private short |
pixheight |
private short |
pixwidth |
private short |
points |
private int |
psext |
private int |
res1 |
private int |
res2 |
private short |
type |
private byte |
uline |
private short |
verres |
private short |
vers |
private short |
weight |
private short |
widthby |
private int[] |
Win2PSStd
Translate table from 1004 to psstd. 1004 is an extension of the
Windows translate table used in PM.
|
private String[] |
WinChars
Windows character names.
|
private int[] |
WinClass
Character class.
|
private short |
xheight |
Modifier | Constructor and Description |
---|---|
private |
Pfm2afm(RandomAccessFileOrArray in,
OutputStream out)
Creates a new instance of Pfm2afm
|
Modifier and Type | Method and Description |
---|---|
static void |
convert(RandomAccessFileOrArray in,
OutputStream out)
Converts a PFM file into an AFM file.
|
private void |
openpfm() |
private void |
outchar(int code,
int width,
String name) |
private void |
outval(int n) |
private void |
putchartab() |
private void |
putheader() |
private void |
putkerntab() |
private void |
puttrailer() |
private String |
readString() |
private String |
readString(int n) |
private RandomAccessFileOrArray in
private PrintWriter out
private short vers
private int h_len
private short type
private short points
private short verres
private short horres
private short ascent
private short intleading
private short extleading
private byte italic
private byte uline
private byte overs
private short weight
private byte charset
private short pixwidth
private short pixheight
private byte kind
private short avgwidth
private short maxwidth
private int firstchar
private int lastchar
private byte defchar
private byte brkchar
private short widthby
private int device
private int face
private int bits
private int bitoff
private short extlen
private int psext
private int chartab
private int res1
private int kernpairs
private int res2
private int fontname
private short capheight
private short xheight
private short ascender
private short descender
private boolean isMono
private int[] Win2PSStd
private int[] WinClass
private Pfm2afm(RandomAccessFileOrArray in, OutputStream out) throws IOException
IOException
public static void convert(RandomAccessFileOrArray in, OutputStream out) throws IOException
in
- the PFM fileout
- the AFM fileIOException
- on errorprivate String readString(int n) throws IOException
IOException
private String readString() throws IOException
IOException
private void outval(int n)
private void openpfm() throws IOException
IOException
private void putheader() throws IOException
IOException
private void putchartab() throws IOException
IOException
private void putkerntab() throws IOException
IOException
private void puttrailer()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses