DynamicPDF by ceTe Software

com.cete.dynamicpdf.text
Class TimesBold

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.TimesBold

public class TimesBold
extends CoreLatinFont

Represents the core PDF Times Bold font.

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


Constructor Summary
TimesBold(SingleByteEncoder encoder)
          Initializes a new instance of the TimesBold 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()
          Returns whether the font has inbuilt kerning pairs.
 
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, 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

TimesBold

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

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

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.

hasKerning

public boolean hasKerning()
Returns whether the font has inbuilt kerning pairs.

Overrides:
hasKerning in class Font
Returns:
true, if the font has inbuilt kerning pair.

getKernValue

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

Overrides:
getKernValue in class Font
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