Class Pfm2afm
- java.lang.Object
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.Pfm2afm
-
public class Pfm2afm extends Object
Converts a PFM file into an AFM file.
-
-
Field Summary
Fields Modifier and Type Field Description protected shortascenderprotected shortascentprotected shortavgwidthprotected intbitoffprotected intbitsprotected bytebrkcharprotected shortcapheightprotected bytecharsetprotected intchartabprotected Stringcopyrightprotected bytedefcharprotected shortdescenderprotected intdeviceprotected shortextleadingprotected shortextlenprotected intfaceprotected intfirstcharprotected intfontnameprotected inth_lenprotected shorthorresprotected shortintleadingprotected booleanisMonoprotected byteitalicprotected intkernpairsprotected bytekindprotected intlastcharprotected shortmaxwidthprotected byteoversprotected shortpixheightprotected shortpixwidthprotected shortpointsprotected intpsextprotected intres1protected intres2protected shorttypeprotected byteulineprotected shortverresprotected shortversprotected shortweightprotected shortwidthbyprotected shortxheight
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidconvert(RandomAccessFileOrArray in, OutputStream out)Converts a PFM file into an AFM file.static voidmain(String[] args)
-
-
-
Field Detail
-
vers
protected short vers
-
h_len
protected int h_len
-
copyright
protected String copyright
-
type
protected short type
-
points
protected short points
-
verres
protected short verres
-
horres
protected short horres
-
ascent
protected short ascent
-
intleading
protected short intleading
-
extleading
protected short extleading
-
italic
protected byte italic
-
uline
protected byte uline
-
overs
protected byte overs
-
weight
protected short weight
-
charset
protected byte charset
-
pixwidth
protected short pixwidth
-
pixheight
protected short pixheight
-
kind
protected byte kind
-
avgwidth
protected short avgwidth
-
maxwidth
protected short maxwidth
-
firstchar
protected int firstchar
-
lastchar
protected int lastchar
-
defchar
protected byte defchar
-
brkchar
protected byte brkchar
-
widthby
protected short widthby
-
device
protected int device
-
face
protected int face
-
bits
protected int bits
-
bitoff
protected int bitoff
-
extlen
protected short extlen
-
psext
protected int psext
-
chartab
protected int chartab
-
res1
protected int res1
-
kernpairs
protected int kernpairs
-
res2
protected int res2
-
fontname
protected int fontname
-
capheight
protected short capheight
-
xheight
protected short xheight
-
ascender
protected short ascender
-
descender
protected short descender
-
isMono
protected boolean isMono
-
-
Method Detail
-
convert
public static void convert(RandomAccessFileOrArray in, OutputStream out) throws IOException
Converts a PFM file into an AFM file.- Parameters:
in- the PFM fileout- the AFM file- Throws:
IOException- on error
-
main
public static void main(String[] args)
-
-