org.freehep.postscript.operators
Class FontOperator
java.lang.Object
  
org.freehep.postscript.types.PSObject
      
org.freehep.postscript.types.PSSimple
          
org.freehep.postscript.types.PSOperator
              
org.freehep.postscript.operators.AbstractOperator
                  
org.freehep.postscript.operators.FontOperator
- All Implemented Interfaces: 
 - Cloneable
 
public abstract class FontOperator
- extends AbstractOperator
 
Font Operators for PostScript Processor
- Author:
 
  - Mark Donszelmann
 
 
 
| Fields inherited from class org.freehep.postscript.types.PSSimple | 
log | 
 
| Fields inherited from class org.freehep.postscript.types.PSObject | 
name | 
 
 
| 
Method Summary | 
protected  void | 
defineFont(PSDictionary fontDirectory,
           PSName key,
           PSDictionary font)
 
            | 
protected  PSDictionary | 
findFont(DictionaryStack dictStack,
         PSName key)
 
            | 
protected  PSGlyph | 
getCachedGlyph(PSDictionary font,
               PSName name)
 
            | 
protected  PSDictionary | 
makeFont(PSDictionary font,
         double[] matrix)
 
            | 
static void | 
register(PSDictionary dict)
 
            | 
protected  void | 
setFont(OperandStack os,
        PSDictionary font)
 
            | 
protected  void | 
show(OperandStack os,
     int cc)
 
            | 
protected  void | 
show(OperandStack os,
     int cc,
     PSName name)
 
            | 
protected  void | 
show(OperandStack os,
     PSGState gs,
     PSDictionary font,
     int cc,
     PSName name)
 
            | 
static float | 
stringWidth(OperandStack os,
            int cc)
 
            | 
protected static float | 
stringWidth(PSDictionary font,
            PSName name)
 
            | 
 
 
 
 
 
fontCache
protected static FontCache fontCache
currentGlyph
protected PSGlyph currentGlyph
FontOperator
public FontOperator()
register
public static void register(PSDictionary dict)
 
findFont
protected PSDictionary findFont(DictionaryStack dictStack,
                                PSName key)
 
defineFont
protected void defineFont(PSDictionary fontDirectory,
                          PSName key,
                          PSDictionary font)
 
makeFont
protected PSDictionary makeFont(PSDictionary font,
                                double[] matrix)
 
setFont
protected void setFont(OperandStack os,
                       PSDictionary font)
 
getCachedGlyph
protected PSGlyph getCachedGlyph(PSDictionary font,
                                 PSName name)
 
show
protected void show(OperandStack os,
                    int cc)
 
show
protected void show(OperandStack os,
                    int cc,
                    PSName name)
 
show
protected void show(OperandStack os,
                    PSGState gs,
                    PSDictionary font,
                    int cc,
                    PSName name)
 
stringWidth
public static float stringWidth(OperandStack os,
                                int cc)
 
stringWidth
protected static float stringWidth(PSDictionary font,
                                   PSName name)
 
Copyright © 2001-2009 FreeHEP. All Rights Reserved.