com.lowagie.text.pdf
Class CFFFont
java.lang.Object
com.lowagie.text.pdf.CFFFont
- Direct Known Subclasses:
- CFFFontSubset
- public class CFFFont
- extends Object
CFFFont
public CFFFont(RandomAccessFileOrArray inputbuffer)
getString
public String getString(char sid)
getCID
public byte[] getCID(String fontName)
- get a single CID font. The PDF architecture (1.4)
supports 16-bit strings only with CID CFF fonts, not
in Type-1 CFF fonts, so we convert the font to CID if
it is in the Type-1 format.
Two other tasks that we need to do are to select
only a single font from the CFF package (this again is
a PDF restriction) and to subset the CharStrings glyph
description.
isCID
public boolean isCID(String fontName)
exists
public boolean exists(String fontName)
getNames
public String[] getNames()
Copyright © 2011 EGIZ - E-Government Innovation Center. All Rights Reserved.