com.lowagie.text.pdf
Class CFFFont

java.lang.Object
  extended bycom.lowagie.text.pdf.CFFFont
Direct Known Subclasses:
CFFFontSubset

public class CFFFont
extends Object


Constructor Summary
CFFFont(RandomAccessFileOrArray inputbuffer)
           
 
Method Summary
 boolean exists(String fontName)
           
 byte[] getCID(String fontName)
          get a single CID font.
 String[] getNames()
           
 String getString(char sid)
           
 boolean isCID(String fontName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CFFFont

public CFFFont(RandomAccessFileOrArray inputbuffer)
Method Detail

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.