it.stefanochizzolini.clown.documents.contents.fonts
Class StandardType1Font
java.lang.Object
it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
it.stefanochizzolini.clown.documents.contents.fonts.Font
it.stefanochizzolini.clown.documents.contents.fonts.SimpleFont
it.stefanochizzolini.clown.documents.contents.fonts.Type1Font
it.stefanochizzolini.clown.documents.contents.fonts.StandardType1Font
public class StandardType1Font
- extends Type1Font
Standard Type 1 font [PDF:1.6:5.5.1].
- Version:
- 0.0.8
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Nested classes/interfaces inherited from class it.stefanochizzolini.clown.documents.contents.fonts.Font |
Font.FlagsEnum |
Fields inherited from class it.stefanochizzolini.clown.documents.contents.fonts.Type1Font |
metrics |
Methods inherited from class it.stefanochizzolini.clown.documents.contents.fonts.Font |
decode, encode, equals, get, get, get, getAscent, getDescent, getHeight, getHeight, getHeight, getHeight, getKernedWidth, getKerning, getKerning, getKerning, getLineHeight, getLineHeight, getName, getScalingFactor, getType, getWidth, getWidth, getWidth, getWidth, isSymbolic, load, wrap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardType1Font
public StandardType1Font(Document context,
StandardType1Font.FamilyEnum family,
boolean bold,
boolean italic)
StandardType1Font
public StandardType1Font(PdfDirectObject baseObject)
- For internal use only.
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
getFlags
public EnumSet<Font.FlagsEnum> getFlags()
- Description copied from class:
Font
- Gets the font descriptor flags.
- Overrides:
getFlags
in class Font
getNativeEncoding
protected Map<ByteArray,Integer> getNativeEncoding()
- Overrides:
getNativeEncoding
in class Type1Font
onLoad
protected void onLoad()
- Description copied from class:
Font
- Notifies the loading of font information from an existing PDF font structure.
- Overrides:
onLoad
in class SimpleFont
Project home page
Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.