Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.svggen.font
Class Font  view Font download Font.java

java.lang.Object
  extended byorg.apache.batik.svggen.font.Font

public class Font
extends java.lang.Object

The TrueType font.

Version:
$Id: Font.java,v 1.6 2004/08/18 07:15:18 vhardy Exp $

Field Summary
private  org.apache.batik.svggen.font.table.CmapTable cmap
           
private  org.apache.batik.svggen.font.table.GlyfTable glyf
           
private  org.apache.batik.svggen.font.table.HeadTable head
           
private  org.apache.batik.svggen.font.table.HheaTable hhea
           
private  org.apache.batik.svggen.font.table.HmtxTable hmtx
           
private  org.apache.batik.svggen.font.table.LocaTable loca
           
private  org.apache.batik.svggen.font.table.MaxpTable maxp
           
private  org.apache.batik.svggen.font.table.NameTable name
           
private  org.apache.batik.svggen.font.table.Os2Table os2
           
private  java.lang.String path
           
private  org.apache.batik.svggen.font.table.PostTable post
           
private  org.apache.batik.svggen.font.table.TableDirectory tableDirectory
           
private  org.apache.batik.svggen.font.table.Table[] tables
           
 
Constructor Summary
Font()
          Constructor
 
Method Summary
static Font create()
           
static Font create(java.lang.String pathName)
           
 int getAscent()
           
 org.apache.batik.svggen.font.table.CmapTable getCmapTable()
           
 int getDescent()
           
 Glyph getGlyph(int i)
           
 org.apache.batik.svggen.font.table.HeadTable getHeadTable()
           
 org.apache.batik.svggen.font.table.HheaTable getHheaTable()
           
 org.apache.batik.svggen.font.table.HmtxTable getHmtxTable()
           
 org.apache.batik.svggen.font.table.LocaTable getLocaTable()
           
 org.apache.batik.svggen.font.table.MaxpTable getMaxpTable()
           
 org.apache.batik.svggen.font.table.NameTable getNameTable()
           
 int getNumGlyphs()
           
 org.apache.batik.svggen.font.table.Os2Table getOS2Table()
           
 java.lang.String getPath()
           
 org.apache.batik.svggen.font.table.PostTable getPostTable()
           
 org.apache.batik.svggen.font.table.Table getTable(int tableType)
           
 org.apache.batik.svggen.font.table.TableDirectory getTableDirectory()
           
protected  void read(java.lang.String pathName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

private java.lang.String path

tableDirectory

private org.apache.batik.svggen.font.table.TableDirectory tableDirectory

tables

private org.apache.batik.svggen.font.table.Table[] tables

os2

private org.apache.batik.svggen.font.table.Os2Table os2

cmap

private org.apache.batik.svggen.font.table.CmapTable cmap

glyf

private org.apache.batik.svggen.font.table.GlyfTable glyf

head

private org.apache.batik.svggen.font.table.HeadTable head

hhea

private org.apache.batik.svggen.font.table.HheaTable hhea

hmtx

private org.apache.batik.svggen.font.table.HmtxTable hmtx

loca

private org.apache.batik.svggen.font.table.LocaTable loca

maxp

private org.apache.batik.svggen.font.table.MaxpTable maxp

name

private org.apache.batik.svggen.font.table.NameTable name

post

private org.apache.batik.svggen.font.table.PostTable post
Constructor Detail

Font

public Font()
Constructor

Method Detail

getTable

public org.apache.batik.svggen.font.table.Table getTable(int tableType)

getOS2Table

public org.apache.batik.svggen.font.table.Os2Table getOS2Table()

getCmapTable

public org.apache.batik.svggen.font.table.CmapTable getCmapTable()

getHeadTable

public org.apache.batik.svggen.font.table.HeadTable getHeadTable()

getHheaTable

public org.apache.batik.svggen.font.table.HheaTable getHheaTable()

getHmtxTable

public org.apache.batik.svggen.font.table.HmtxTable getHmtxTable()

getLocaTable

public org.apache.batik.svggen.font.table.LocaTable getLocaTable()

getMaxpTable

public org.apache.batik.svggen.font.table.MaxpTable getMaxpTable()

getNameTable

public org.apache.batik.svggen.font.table.NameTable getNameTable()

getPostTable

public org.apache.batik.svggen.font.table.PostTable getPostTable()

getAscent

public int getAscent()

getDescent

public int getDescent()

getNumGlyphs

public int getNumGlyphs()

getGlyph

public Glyph getGlyph(int i)

getPath

public java.lang.String getPath()

getTableDirectory

public org.apache.batik.svggen.font.table.TableDirectory getTableDirectory()

read

protected void read(java.lang.String pathName)

create

public static Font create()

create

public static Font create(java.lang.String pathName)