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

Quick Search    Search Deep

org.apache.batik.svggen.font.table
Class CmapFormat0  view CmapFormat0 download CmapFormat0.java

java.lang.Object
  extended byorg.apache.batik.svggen.font.table.CmapFormat
      extended byorg.apache.batik.svggen.font.table.CmapFormat0

public class CmapFormat0
extends CmapFormat

Simple Macintosh cmap table, mapping only the ASCII character set to glyphs.

Version:
$Id: CmapFormat0.java,v 1.4 2004/09/01 09:35:23 deweese Exp $

Field Summary
private  int first
           
private  int[] glyphIdArray
           
private  int last
           
 
Fields inherited from class org.apache.batik.svggen.font.table.CmapFormat
format, length, version
 
Constructor Summary
protected CmapFormat0(java.io.RandomAccessFile raf)
           
 
Method Summary
 int getFirst()
           
 int getLast()
           
 int mapCharCode(int charCode)
           
 
Methods inherited from class org.apache.batik.svggen.font.table.CmapFormat
create, getFormat, getLength, getVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

glyphIdArray

private int[] glyphIdArray

first

private int first

last

private int last
Constructor Detail

CmapFormat0

protected CmapFormat0(java.io.RandomAccessFile raf)
               throws java.io.IOException
Method Detail

getFirst

public int getFirst()
Specified by:
getFirst in class CmapFormat

getLast

public int getLast()
Specified by:
getLast in class CmapFormat

mapCharCode

public int mapCharCode(int charCode)
Specified by:
mapCharCode in class CmapFormat