com.gnostice.pdfone.readers
Class TtfReader
java.lang.Object
com.gnostice.pdfone.readers.TtfReader
- public final class TtfReader
- extends Object
fileReader
public static TtfReader fileReader(String fileName,
long offset)
throws IOException,
PdfException
- Throws:
IOException
PdfException
getGlyphWidthFromCMAP
public int getGlyphWidthFromCMAP(int c)
getFontItalicAngle
public double getFontItalicAngle()
getFontBaseName
public String getFontBaseName()
throws IOException,
PdfException
- Throws:
IOException
PdfException
getFontWidths
public int[] getFontWidths(int firstChar,
int lastChar)
getFontBBox
public int[] getFontBBox()
getFontStyle
public int getFontStyle()
getFontFlags
public int getFontFlags()
getFontAscent
public int getFontAscent()
getFontDescent
public int getFontDescent()
getFontCapHeight
public int getFontCapHeight()
getFontHeight
public double getFontHeight()
getFontAvgWidth
public int getFontAvgWidth()
getFontUnderlinePosition
public short getFontUnderlinePosition()
getFontUnderlineThickness
public short getFontUnderlineThickness()
getFontMaxwidth
public int getFontMaxwidth()
createStream
public PdfStream createStream(byte embedType,
Hashtable charCodesUsed)
throws IOException,
PdfException
- Throws:
IOException
PdfException
createStream
public PdfStream createStream(byte embedType,
int[] charCodesUsed,
int firstChar,
int lastChar)
throws IOException,
PdfException
- Throws:
IOException
PdfException
getMacOrWinCharMetrics
public int[] getMacOrWinCharMetrics(int charCode)
isCompositeGlyf
public boolean isCompositeGlyf(int charCode)
throws IOException
- Throws:
IOException
dispose
public void dispose()
throws IOException
- Throws:
IOException
To contact our support team, send an e-mail to support@gnostice.com.
© 2006 Gnostice Information Technologies Private Limited. All rights reserved.
www.gnostice.com