|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.pdf.Pfm2afm
public final class Pfm2afm
Converts a PFM file into an AFM file.
Field Summary | |
---|---|
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. |
private String[] |
WinChars
Windows character names. |
private int[] |
WinClass
Character class. |
private short |
xheight
|
Constructor Summary | |
---|---|
private |
Pfm2afm(RandomAccessFileOrArray in,
OutputStream out)
Creates a new instance of Pfm2afm |
Method Summary | |
---|---|
static void |
convert(RandomAccessFileOrArray in,
OutputStream out)
Converts a PFM file into an AFM file. |
static void |
main(String[] args)
|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private RandomAccessFileOrArray in
private PrintWriter out
private short vers
private int h_len
private String copyright
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 String[] WinChars
Constructor Detail |
---|
private Pfm2afm(RandomAccessFileOrArray in, OutputStream out) throws IOException
IOException
Method Detail |
---|
public static void convert(RandomAccessFileOrArray in, OutputStream out) throws IOException
in
- the PFM fileout
- the AFM file
IOException
- on errorpublic static void main(String[] args)
private String readString(int n) throws IOException
IOException
private String readString() throws IOException
IOException
private void outval(int n)
private void outchar(int code, int width, String name)
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()
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |