DynamicPDF by ceTe Software

com.cete.dynamicpdf.text
Class Symbol

java.lang.Object
  extended by com.cete.dynamicpdf.Resource
      extended by com.cete.dynamicpdf.Font
          extended by com.cete.dynamicpdf.text.FormFont
              extended by com.cete.dynamicpdf.text.Symbol

public class Symbol
extends FormFont

Represents the core PDF Symbol font.

Licensing:
This class is a DynamicPDF Generator Community Edition feature.


Method Summary
 void draw(DocumentWriter writer)
          Draws the font definition to the given DocumentWriter object.
 short getAscender()
          Gets the ascender for the font.
 short getDescender()
          Gets the descender for the font.
 java.lang.String getFormFontName()
          Gets the four character name of the font.
 int getGlyphWidth(char glyph)
          Returns the mwidth of a glyph.
 LineBreaker getLineBreaker()
          Gets the default line breaker for the font.
 short getLineGap()
          Gets the line gap for the font.
 java.lang.String getName()
          Gets the name of the font.
 int getRequiredPdfObjects()
          Gets the number of PDF objects required by the Symbol font.
 
Methods inherited from class com.cete.dynamicpdf.Font
getAscender, getBaseLine, getCeTeBullets, getCourier, getCourierBold, getCourierBoldOblique, getCourierOblique, getDefaultLeading, getDescender, getEncoder, getHanyangSystemsGothicMedium, getHanyangSystemsShinMyeongJoMedium, getHeiseiKakuGothicW5, getHeiseiMinchoW3, getHelvetica, getHelveticaBold, getHelveticaBoldOblique, getHelveticaOblique, getKernValue, getLineGap, getMonotypeHeiMedium, getMonotypeSungLight, getResourceType, getSinoTypeSongLight, getSymbol, getTextLines, getTextLines, getTextWidth, getTextWidth, getTimesBold, getTimesBoldItalic, getTimesItalic, getTimesRoman, getZapfDingbats, hasKerning
 
Methods inherited from class com.cete.dynamicpdf.Resource
getUid, newUid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

draw

public void draw(DocumentWriter writer)
Draws the font definition to the given DocumentWriter object.

Specified by:
draw in class Resource
Parameters:
writer - DocumentWriter object to receive the core font's output.
See Also:
DocumentWriter

getGlyphWidth

public int getGlyphWidth(char glyph)
Returns the mwidth of a glyph.

Specified by:
getGlyphWidth in class Font
Parameters:
glyph - char glyph whose mwidth is to be returned.
Returns:
int mwidth of glyph.

getDescender

public short getDescender()
Gets the descender for the font.

Specified by:
getDescender in class Font
Returns:
short descender for the font.

getAscender

public short getAscender()
Gets the ascender for the font.

Specified by:
getAscender in class Font
Returns:
short ascender for the font.

getLineGap

public short getLineGap()
Gets the line gap for the font.

Overrides:
getLineGap in class Font
Returns:
short line gap for the font.

getRequiredPdfObjects

public int getRequiredPdfObjects()
Gets the number of PDF objects required by the Symbol font.

Overrides:
getRequiredPdfObjects in class Resource
Returns:
int number of PDF objects required by the Symbol font.

getName

public java.lang.String getName()
Gets the name of the font.

Specified by:
getName in class Font
Returns:
name of the font.

getFormFontName

public java.lang.String getFormFontName()
Gets the four character name of the font.

Specified by:
getFormFontName in class FormFont
Returns:
Four character name of the font.

getLineBreaker

public LineBreaker getLineBreaker()
Gets the default line breaker for the font.

Specified by:
getLineBreaker in class Font
Returns:
LineBreaker default line breaker for the font.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software