de.intarsys.pdf.platform.cwt.font
Class PDFontTrueTypeTools
java.lang.Object
de.intarsys.pdf.platform.cwt.font.PDFontTrueTypeTools
public class PDFontTrueTypeTools
- extends Object
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 |
PDFontTrueTypeTools
public PDFontTrueTypeTools()
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
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.