it.stefanochizzolini.clown.documents.contents.fonts
Class CompositeFont
java.lang.Object
it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
it.stefanochizzolini.clown.documents.contents.fonts.Font
it.stefanochizzolini.clown.documents.contents.fonts.CompositeFont
- Direct Known Subclasses:
- Type0Font, Type2Font
public abstract class CompositeFont
- extends Font
Composite font [PDF:1.6:5.6], also called Type 0 font.
Remarks
Do not confuse it with 'Type 0 CIDFont': the latter is a composite font descendant
describing glyphs based on Adobe Type 1 font format (see Type0Font).
- Since:
- 0.0.8
- 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 |
Methods inherited from class it.stefanochizzolini.clown.documents.contents.fonts.Font |
decode, encode, equals, get, get, getAscent, getAscent, getDescent, getDescent, getFlags, 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 |
CompositeFont
protected CompositeFont(Document context,
it.stefanochizzolini.clown.documents.contents.fonts.OpenFontParser parser)
CompositeFont
protected CompositeFont(PdfDirectObject baseObject)
get
public static CompositeFont get(Document context,
IInputStream fontData)
clone
public CompositeFont clone(Document context)
- Description copied from class:
PdfObjectWrapper
- Gets a clone of the object, registered inside the given document context.
- Specified by:
clone
in class PdfObjectWrapper<PdfDictionary>
- Parameters:
context
- Which document the clone has to be registered in.
getCIDFontDictionary
protected PdfDictionary getCIDFontDictionary()
- Gets the CIDFont dictionary that is the descendant of this composite font.
getDescriptor
protected PdfDictionary getDescriptor()
- Description copied from class:
Font
- Gets the font descriptor.
- Specified by:
getDescriptor
in class Font
loadEncoding
protected void loadEncoding()
onLoad
protected void onLoad()
- Description copied from class:
Font
- Notifies the loading of font information from an existing PDF font structure.
- Specified by:
onLoad
in class Font
Project home page
Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.