multivalent.std.adaptor.pdf

Class FontPDF

public class FontPDF extends Object

Font creation, from PDF description to NFont.

Version: $Revision: 1.24 $ $Date: 2003/12/17 17:04:58 $

Method Summary
static NFontcreateFont(Dict fd, 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.

Method Detail

createFont

public static NFont createFont(Dict fd, 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.