multivalent.std.adaptor.pdf

Class Fonts

public class Fonts extends Object

Font creation, from PDF description to NFont.

Version: $Revision: 1.30 $ $Date: 2004/02/07 03:16:55 $

Method Summary
static NFontcreateFont(Dict fd, PDFReader pdfr, PDF pdf)
Constructs java.awt.Font based on font dictionary, scaled to size pixels.
static StringgetCanonical(String name)
Returns canonical name of font in core 14 font set, or null if none.
static booleanisCore14(String name)
static booleanisSubset(String name)

Method Detail

createFont

public static NFont createFont(Dict fd, PDFReader pdfr, PDF pdf)
Constructs java.awt.Font based on font dictionary, scaled to size pixels.

getCanonical

public static String getCanonical(String name)
Returns canonical name of font in core 14 font set, or null if none.

isCore14

public static boolean isCore14(String name)

isSubset

public static boolean isSubset(String name)