jPodRenderer PDF library

de.intarsys.pdf.platform.cwt.font
Class PDFontTrueTypeTools

java.lang.Object
  extended by de.intarsys.pdf.platform.cwt.font.PDFontTrueTypeTools

public class PDFontTrueTypeTools
extends Object


Constructor Summary
PDFontTrueTypeTools()
           
 
Method Summary
static de.intarsys.cwt.font.truetype.TTFont getTTFont(de.intarsys.pdf.font.PDFont pdFont)
           
static void setTTFont(de.intarsys.pdf.font.PDFont pdFont, de.intarsys.cwt.font.truetype.TTFont ttFont)
           
static void subset(de.intarsys.pdf.font.PDFont pdFont)
          Subset the font program for pdFont and restrict to the range of chars defined in the font meta information.
static void subset(de.intarsys.pdf.font.PDFont pdFont, Set<de.intarsys.pdf.font.PDGlyphs> used)
          Subset the font program for pdFont and restrict to the glyphs in used
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFontTrueTypeTools

public PDFontTrueTypeTools()
Method Detail

getTTFont

public static de.intarsys.cwt.font.truetype.TTFont getTTFont(de.intarsys.pdf.font.PDFont pdFont)

setTTFont

public static void setTTFont(de.intarsys.pdf.font.PDFont pdFont,
                             de.intarsys.cwt.font.truetype.TTFont ttFont)

subset

public static void subset(de.intarsys.pdf.font.PDFont pdFont)
                   throws IOException
Subset the font program for pdFont and restrict to the range of chars defined in the font meta information.

Parameters:
pdFont -
Throws:
IOException
de.intarsys.cwt.font.truetype.TrueTypeException

subset

public static void subset(de.intarsys.pdf.font.PDFont pdFont,
                          Set<de.intarsys.pdf.font.PDGlyphs> used)
                   throws IOException,
                          de.intarsys.cwt.font.truetype.TrueTypeException
Subset the font program for pdFont and restrict to the glyphs in used

Parameters:
pdFont -
used -
Throws:
IOException
de.intarsys.cwt.font.truetype.TrueTypeException

jPodRenderer PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.