intarsys CWT library

de.intarsys.cwt.font.truetype
Class TTFontSerializer

java.lang.Object
  extended by de.intarsys.cwt.font.truetype.TTFontSerializer

public class TTFontSerializer
extends Object


Constructor Summary
TTFontSerializer()
           
 
Method Summary
 TTFont getFont()
           
 void write_loca(de.intarsys.tools.randomaccess.IRandomAccess random, int[] locations, boolean shortFormat)
           
 void write_name(de.intarsys.tools.randomaccess.IRandomAccess random, TTNameRecord[] names)
           
 void write(de.intarsys.tools.randomaccess.IRandomAccess random, TTFont pFont)
           
 void writeByte(de.intarsys.tools.randomaccess.IRandomAccess random, int value)
           
 void writeBytes(de.intarsys.tools.randomaccess.IRandomAccess random, byte[] value, int off, int len)
           
 void writeInt(de.intarsys.tools.randomaccess.IRandomAccess random, int value)
           
 void writeShort(de.intarsys.tools.randomaccess.IRandomAccess random, int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TTFontSerializer

public TTFontSerializer()
Method Detail

getFont

public TTFont getFont()

write

public void write(de.intarsys.tools.randomaccess.IRandomAccess random,
                  TTFont pFont)
           throws IOException
Throws:
IOException

write_loca

public void write_loca(de.intarsys.tools.randomaccess.IRandomAccess random,
                       int[] locations,
                       boolean shortFormat)
                throws IOException
Throws:
IOException

write_name

public void write_name(de.intarsys.tools.randomaccess.IRandomAccess random,
                       TTNameRecord[] names)
                throws IOException
Throws:
IOException

writeByte

public void writeByte(de.intarsys.tools.randomaccess.IRandomAccess random,
                      int value)
               throws IOException
Throws:
IOException

writeBytes

public void writeBytes(de.intarsys.tools.randomaccess.IRandomAccess random,
                       byte[] value,
                       int off,
                       int len)
                throws IOException
Throws:
IOException

writeInt

public void writeInt(de.intarsys.tools.randomaccess.IRandomAccess random,
                     int value)
              throws IOException
Throws:
IOException

writeShort

public void writeShort(de.intarsys.tools.randomaccess.IRandomAccess random,
                       int value)
                throws IOException
Throws:
IOException

intarsys CWT library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.