org.pdfclown.documents.contents.fonts
Class Type3Font
java.lang.Object
org.pdfclown.objects.PdfObjectWrapper<PdfDictionary>
org.pdfclown.documents.contents.fonts.Font
org.pdfclown.documents.contents.fonts.SimpleFont
org.pdfclown.documents.contents.fonts.Type3Font
- All Implemented Interfaces:
- Cloneable, IPdfObjectWrapper
@PDF(value=PDF10)
public final class Type3Font
- extends SimpleFont
Type 3 font [PDF:1.6:5.5.4].
- Since:
- 0.0.8
- Version:
- 0.1.2, 12/21/12
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Nested classes/interfaces inherited from class org.pdfclown.documents.contents.fonts.Font |
Font.FlagsEnum |
Method Summary |
Type3Font |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
double |
getAscent()
Gets the unscaled vertical offset from the baseline to the ascender line (ascent). |
double |
getDescent()
Gets the unscaled vertical offset from the baseline to the descender line (descent). |
protected void |
loadEncoding()
|
Methods inherited from class org.pdfclown.documents.contents.fonts.Font |
decode, encode, equals, get, get, get, getAscent, getDescent, getFlags, getHeight, getHeight, getHeight, getHeight, getKernedWidth, getKerning, getKerning, getKerning, getLineHeight, getLineHeight, getName, getScalingFactor, getWidth, getWidth, getWidth, getWidth, hashCode, isSymbolic, load, wrap |
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
checkCompatibility, delete, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
clone
public Type3Font clone(Document context)
- Description copied from class:
PdfObjectWrapper
- Gets a clone of the object, registered inside the given document context.
- Overrides:
clone
in class PdfObjectWrapper<PdfDictionary>
- Parameters:
context
- Which document the clone has to be registered in.
getAscent
public double getAscent()
- Description copied from class:
Font
- Gets the unscaled vertical offset from the baseline to the ascender line (ascent).
The value is a positive number.
- Overrides:
getAscent
in class Font
getDescent
public double getDescent()
- Description copied from class:
Font
- Gets the unscaled vertical offset from the baseline to the descender line (descent).
The value is a negative number.
- Overrides:
getDescent
in class Font
loadEncoding
protected void loadEncoding()
- Specified by:
loadEncoding
in class SimpleFont
Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.