Class Font

java.lang.Object
org.apache.batik.svggen.font.Font

public class Font extends Object
The TrueType font.
Version:
$Id: Font.java 1804130 2017-08-04 14:41:11Z ssteiner $
  • Field Details

  • Constructor Details

    • Font

      public Font()
      Constructor
  • Method Details

    • getTable

      public Table getTable(int tableType)
    • getOS2Table

      public Os2Table getOS2Table()
    • getCmapTable

      public CmapTable getCmapTable()
    • getHeadTable

      public HeadTable getHeadTable()
    • getHheaTable

      public HheaTable getHheaTable()
    • getHmtxTable

      public HmtxTable getHmtxTable()
    • getLocaTable

      public LocaTable getLocaTable()
    • getMaxpTable

      public MaxpTable getMaxpTable()
    • getNameTable

      public NameTable getNameTable()
    • getPostTable

      public PostTable getPostTable()
    • getAscent

      public int getAscent()
    • getDescent

      public int getDescent()
    • getNumGlyphs

      public int getNumGlyphs()
    • getGlyph

      public Glyph getGlyph(int i)
    • getPath

      public String getPath()
    • getTableDirectory

      public TableDirectory getTableDirectory()
    • read

      protected void read(String pathName)
      Parameters:
      pathName - Path to the TTF font file
    • create

      public static Font create()
    • create

      public static Font create(String pathName)
      Parameters:
      pathName - Path to the TTF font file