org.foray.render.ps
Class PSFont

java.lang.Object
  extended by org.foray.render.ps.PSFont

public class PSFont
extends Object

Class representing a PostScript /Font object. A more complete object expressing the base font name and encoding of a font along with an internal name for the font used within streams of content. Fonts are specified on page 198 and onwards of the PDF 1.3 spec.


Constructor Summary
PSFont(org.axsl.font.FontUse fontUse, int count)
          Create the /Font object.
 
Method Summary
 org.axsl.font.FontUse getFontUse()
          Returns the encapsulated FontUse instance.
 String getName()
          Get the internal name used for this font, in the form "Fx", where "x" is the font number used in this document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSFont

public PSFont(org.axsl.font.FontUse fontUse,
              int count)
Create the /Font object.

Parameters:
fontUse - The FontUse instance which is the basis for this PostScript font.
count - The sequentially-assigned font number for this font.
Method Detail

getName

public String getName()
Get the internal name used for this font, in the form "Fx", where "x" is the font number used in this document.

Returns:
The internal name for this font.

getFontUse

public org.axsl.font.FontUse getFontUse()
Returns the encapsulated FontUse instance.

Returns:
Returns the FontUse.


Copyright © 2017. All rights reserved.