public class PDFontTrueTypeTools extends Object
| Constructor and Description |
|---|
PDFontTrueTypeTools() |
| Modifier and Type | Method and Description |
|---|---|
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 |
public static de.intarsys.cwt.font.truetype.TTFont getTTFont(de.intarsys.pdf.font.PDFont pdFont)
public static void setTTFont(de.intarsys.pdf.font.PDFont pdFont,
de.intarsys.cwt.font.truetype.TTFont ttFont)
public static void subset(de.intarsys.pdf.font.PDFont pdFont)
throws IOException
pdFont and restrict to the range
of chars defined in the font meta information.pdFont - IOExceptionde.intarsys.cwt.font.truetype.TrueTypeExceptionpublic static void subset(de.intarsys.pdf.font.PDFont pdFont,
Set<de.intarsys.pdf.font.PDGlyphs> used)
throws IOException,
de.intarsys.cwt.font.truetype.TrueTypeException
pdFont and restrict to the
glyphs in usedpdFont - used - IOExceptionde.intarsys.cwt.font.truetype.TrueTypeExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.