DynamicPDF by ceTe Software

com.cete.dynamicpdf.text
Class Helvetica

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.CoreLatinFont
                  extended by com.cete.dynamicpdf.text.Helvetica

public class Helvetica
extends CoreLatinFont

Represents the core PDF Helvetica font.

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


Constructor Summary
Helvetica(SingleByteEncoder encoder)
          Initializes a new instance of the Helvetica font class.
 
Method Summary
 java.lang.String getFormFontName()
          Gets the four character name of the font.
 float GetKernValue(char left, char right)
          Returns the kern value correspoding to the given glyph combination.
 boolean hasKerning()
          Indicates whether the given font is having Kerning pairs or not.
 
Methods inherited from class com.cete.dynamicpdf.text.CoreLatinFont
draw, getAscender, getDescender, getGlyphWidth, getLineBreaker, getLineGap, getName, getRequiredPdfObjects, getSingleByteEncoder
 
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
 
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
 

Constructor Detail

Helvetica

public Helvetica(SingleByteEncoder encoder)
Initializes a new instance of the Helvetica font class.

Parameters:
encoder - Single byte encoding to use for the font.
Method Detail

getFormFontName

public java.lang.String getFormFontName()
Description copied from class: FormFont
Gets the four character name of the font.

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

hasKerning

public boolean hasKerning()
Description copied from class: Font
Indicates whether the given font is having Kerning pairs or not.

Overrides:
hasKerning in class Font
Returns:
Bool indicating presence of kern pairs.

GetKernValue

public float GetKernValue(char left,
                          char right)
Returns the kern value correspoding to the given glyph combination.

Parameters:
left - Left glyph.
right - Right glyph.
Returns:
Kern value correponds to the combination given.

DynamicPDF by ceTe Software

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