Multivalent API

multivalent.std.adaptor.pdf
Class Fonts

java.lang.Object
  extended by multivalent.std.adaptor.pdf.Fonts

public class Fonts
extends java.lang.Object

Font creation, from PDF description to NFont.

Version:
$Revision: 1.41 $ $Date: 2005/07/26 21:01:23 $

Method Summary
static NFont createFont(Dict fd, PDFReader pdfr, PDF pdf)
          Constructs NFont based on font dictionary, scaled to size pixels.
static java.lang.String getCanonical(java.lang.String name)
          Returns canonical name of font in core 14 font set, or null if none.
static java.lang.String[] getCore14()
           
static boolean isCore14(java.lang.String name)
           
static boolean isSubset(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isCore14

public static boolean isCore14(java.lang.String name)

getCore14

public static java.lang.String[] getCore14()

getCanonical

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


isSubset

public static boolean isSubset(java.lang.String name)

createFont

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

Throws:
java.io.IOException

Multivalent API