Gnostice PDFOne
Pro. Ed. v1.41


com.gnostice.pdfone.readers
Class TtfReader

java.lang.Object
  extended bycom.gnostice.pdfone.readers.TtfReader

public final class TtfReader
extends Object


Method Summary
 PdfStream createStream(byte embedType, Hashtable charCodesUsed)
           
 PdfStream createStream(byte embedType, int[] charCodesUsed, int firstChar, int lastChar)
           
 void dispose()
           
static TtfReader fileReader(String fileName, long offset)
           
 int getFontAscent()
           
 int getFontAvgWidth()
           
 String getFontBaseName()
           
 int[] getFontBBox()
           
 int getFontCapHeight()
           
 int getFontDescent()
           
 int getFontFlags()
           
 double getFontHeight()
           
 double getFontItalicAngle()
           
 int getFontMaxwidth()
           
 int getFontStyle()
           
 short getFontUnderlinePosition()
           
 short getFontUnderlineThickness()
           
 int[] getFontWidths(int firstChar, int lastChar)
           
 int getGlyphWidthFromCMAP(int c)
           
 int[] getMacOrWinCharMetrics(int charCode)
           
 boolean isCompositeGlyf(int charCode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

Gnostice PDFOne
Pro. Ed. v1.41

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