Class PdfFont
java.lang.Object
com.lowagie.text.pdf.PdfFont
- All Implemented Interfaces:
Comparable
Deprecated.
PdfFont is the Pdf Font object.
Limitation: in this class only base 14 Type 1 fonts (courier, courier bold, courier oblique, courier boldoblique,
helvetica, helvetica bold, helvetica oblique, helvetica boldoblique, symbol, times roman, times bold, times italic,
times bolditalic, zapfdingbats) and their standard encoding (standard, MacRoman, (MacExpert,) WinAnsi) are
supported.
This object is described in the 'Portable Document Format Reference Manual version 1.3' section 7.7
(page 198-203).
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Compares thisPdfFontwith another(package private) static PdfFontDeprecated.(package private) BaseFontgetFont()Deprecated.(package private) voidsetHorizontalScaling(float hScale) Deprecated.(package private) voidDeprecated.(package private) floatsize()Deprecated.Returns the size of this font.(package private) floatwidth()Deprecated.Returns the approximative width of 1 character of this font.(package private) floatwidth(int character) Deprecated.Returns the width of a certain character of this font.(package private) floatDeprecated.
-
Field Details
-
image
-
hScale
protected float hScaleDeprecated. -
font
-
size
private float sizeDeprecated.the size.
-
-
Constructor Details
-
PdfFont
PdfFont(BaseFont bf, float size) Deprecated.
-
-
Method Details
-
getDefaultFont
Deprecated. -
compareTo
Deprecated.Compares thisPdfFontwith another- Specified by:
compareToin interfaceComparable- Parameters:
object- the otherPdfFont- Returns:
- a value
-
size
float size()Deprecated.Returns the size of this font.- Returns:
- a size
-
width
float width()Deprecated.Returns the approximative width of 1 character of this font.- Returns:
- a width in Text Space
-
width
float width(int character) Deprecated.Returns the width of a certain character of this font.- Parameters:
character- a certain character- Returns:
- a width in Text Space
-
width
Deprecated. -
getFont
BaseFont getFont()Deprecated. -
setImage
Deprecated. -
setHorizontalScaling
void setHorizontalScaling(float hScale) Deprecated.
-