Packageorg.purepdf.pdf.fonts
Classpublic class DocumentFont
InheritanceDocumentFont Inheritance BaseFont Inheritance it.sephiroth.utils.ObjectHash



Public Properties
 PropertyDefined By
 InheritedbuiltinFonts14 : HashMap
[static] [read-only]
BaseFont
 InheritedcompressionLevel : int
BaseFont
 Inheritedencoding : String
[read-only]
BaseFont
 InheritedfontSpecific : Boolean
BaseFont
 InheritedfontType : int
[read-only]
BaseFont
  indirectReference : PdfIndirectReference
[read-only]
DocumentFont
 Inheritedsubset : Boolean
BaseFont
Protected Properties
 PropertyDefined By
 Inherited_builtinFonts14 : HashMap
[static]
BaseFont
 InheritedcharBBoxes : Vector.<Vector.<int>>
BaseFont
 Inherited_compressionLevel : int
BaseFont
 Inheriteddifferences : Vector.<String>
BaseFont
 InheriteddirectTextToByte : Boolean = false
BaseFont
 Inheritedembedded : Boolean
BaseFont
 Inherited_encoding : String
BaseFont
 InheritedfastWinansi : Boolean = false
BaseFont
 InheritedfontCache : HashMap
[static]
BaseFont
 Inherited_fontSpecific : Boolean = true
BaseFont
 Inherited_fontType : int
BaseFont
 InheritedforceWidthsOutput : Boolean = false
BaseFont
 InheritedspecialMap : Object
BaseFont
 Inherited_subset : Boolean = true
BaseFont
 InheritedsubsetRanges : Vector.<Vector.<int>>
BaseFont
 InheritedunicodeDifferences : Vector.<int>
BaseFont
 Inheritedwidths : Vector.<int>
BaseFont
Public Methods
 MethodDefined By
  
DocumentFont
 Inherited
addSubsetTange(range:Vector.<int>):void
BaseFont
 Inherited
charExists(c:int):Boolean
BaseFont
 Inherited
convertToByte(char1:int):Bytes
Converts a char to a Bytes according to the font's encoding.
BaseFont
 Inherited
convertToBytes(char1:String):Bytes
Converts a char to a Bytes according to the font's encoding.
BaseFont
 Inherited
createFont(name:String, encoding:String, embedded:Boolean, cached:Boolean, ttfAfm:Vector.<int> = null, pfb:Vector.<int> = null, noThrow:Boolean = false, forceRead:Boolean = false):BaseFont
[static] Creates a new font.
BaseFont
 Inherited
[static] Creates a unique subset prefix to be added to the font name when the font is embedded and subset.
BaseFont
 Inherited
getCharBBox(c:int):Vector.<int>
BaseFont
 Inherited
getFamilyFontName():Vector.<Vector.<String>>
BaseFont
 Inherited
getFontDescriptor(key:int, fontSize:Number):Number
BaseFont
 Inherited
BaseFont
 Inherited
getKerning(char1:int, char2:int):int
Gets the kerning between two Unicode chars
BaseFont
 Inherited
BaseFont
 Inherited
getUnicodeDifferences(index:int):int
BaseFont
 Inherited
BaseFont
 Inherited
getWidth(code:Object):int
Gets the width of a char in normalized 1000 units Possible input parameters are: String,int
BaseFont
 Inherited
getWidthPoint(code:Object, fontSize:Number):Number
Gets the width of a char in points.
BaseFont
 Inherited
getWidthPointKerned(text:String, fontSize:Number):Number
Gets the width of a string in points taking kerning into account
BaseFont
 Inherited
hasKernPairs():Boolean
Checks if the font has any kerning pairs
BaseFont
 Inherited
setKerning(char1:int, char2:int, kern:int):Boolean
BaseFont
 Inherited
writeFont(writer:PdfWriter, ref:PdfIndirectReference, params:Vector.<Object>):void
BaseFont
Protected Methods
 MethodDefined By
 Inherited
_getWidthI(code:int):int
BaseFont
 Inherited
_getWidthS(text:String):int
BaseFont
 Inherited
BaseFont
 Inherited
getBaseName(name:String):String
[static] Gets the fontname without the modifiers Bold, Italic or BoldItalic.
BaseFont
 Inherited
getRawCharBBox(c:int, name:String):Vector.<int>
BaseFont
 Inherited
getRawWidth(c:int, name:String):int
Gets the width from the font according to the Unicode char c or the name
BaseFont
 Inherited
normalizeEncoding(enc:String):String
[static] Normalize the encoding name
BaseFont
Public Constants
 ConstantDefined By
 InheritedAdobeCNS1_UCS2 : String = Adobe-CNS1-UCS2
[static]
BaseFont
 InheritedAdobeGB1_UCS2 : String = Adobe-GB1-UCS2
[static]
BaseFont
 InheritedAdobeJapan1_UCS2 : String = Adobe-Japan1-UCS2
[static]
BaseFont
 InheritedAdobeKorea1_UCS2 : String = Adobe-Korea1-UCS2
[static]
BaseFont
 InheritedASCENT : int = 1
[static]
BaseFont
 InheritedAWT_ASCENT : int = 9
[static]
BaseFont
 InheritedAWT_DESCENT : int = 10
[static]
BaseFont
 InheritedAWT_LEADING : int = 11
[static]
BaseFont
 InheritedAWT_MAXADVANCE : int = 12
[static]
BaseFont
 InheritedBBOXLLX : int = 5
[static]
BaseFont
 InheritedBBOXLLY : int = 6
[static]
BaseFont
 InheritedBBOXURX : int = 7
[static]
BaseFont
 InheritedBBOXURY : int = 8
[static]
BaseFont
 InheritedCACHED : Boolean = true
[static]
BaseFont
 InheritedCAPHEIGHT : int = 2
[static]
BaseFont
 InheritedCHAR_RANGE_ARABIC : Vector.<int>
[static]
BaseFont
 InheritedCHAR_RANGE_CYRILLIC : Vector.<int>
[static]
BaseFont
 InheritedCHAR_RANGE_HEBREW : Vector.<int>
[static]
BaseFont
 InheritedCHAR_RANGE_LATIN : Vector.<int>
[static]
BaseFont
 InheritedCID_NEWLINE : String = U7fff
[static]
BaseFont
 InheritedCOURIER : String = Courier.afm
[static]
BaseFont
 InheritedCOURIER_BOLD : String = Courier-Bold.afm
[static]
BaseFont
 InheritedCOURIER_BOLDOBLIQUE : String = Courier-BoldOblique.afm
[static]
BaseFont
 InheritedCOURIER_OBLIQUE : String = Courier-Oblique.afm
[static]
BaseFont
 InheritedCP1250 : String = Cp1250
[static]
BaseFont
 InheritedCP1252 : String = Cp1252
[static]
BaseFont
 InheritedCP1257 : String = Cp1257
[static]
BaseFont
 InheritedDESCENT : int = 3
[static]
BaseFont
 InheritedEMBEDDED : Boolean = true
[static]
BaseFont
 InheritedFONT_TYPE_CJK : int = 2
[static]
BaseFont
 InheritedFONT_TYPE_DOCUMENT : int = 4
[static]
BaseFont
 InheritedFONT_TYPE_T1 : int = 0
[static]
BaseFont
 InheritedFONT_TYPE_T3 : int = 5
[static]
BaseFont
 InheritedFONT_TYPE_TT : int = 1
[static]
BaseFont
 InheritedFONT_TYPE_TTUNI : int = 3
[static]
BaseFont
 InheritedHELVETICA : String = Helvetica.afm
[static]
BaseFont
 InheritedHELVETICA_BOLD : String = Helvetica-Bold.afm
[static]
BaseFont
 InheritedHELVETICA_BOLDOBLIQUE : String = Helvetica-BoldOblique.afm
[static]
BaseFont
 InheritedHELVETICA_OBLIQUE : String = Helvetica-Oblique.afm
[static]
BaseFont
 InheritedIDENTITY_H : String = Identity-H
[static]
BaseFont
 InheritedIDENTITY_V : String = Identity-V
[static]
BaseFont
 InheritedITALICANGLE : int = 4
[static]
BaseFont
 InheritedMACROMAN : String = MacRoman
[static]
BaseFont
 InheritedNOT_CACHED : Boolean = false
[static]
BaseFont
 Inheritednotdef : String = .notdef
[static]
BaseFont
 InheritedNOT_EMBEDDED : Boolean = false
[static]
BaseFont
 InheritedRESOURCE_PATH : String = fonts/
[static]
BaseFont
 InheritedSTRIKETHROUGH_POSITION : int = 15
[static]
BaseFont
 InheritedSTRIKETHROUGH_THICKNESS : int = 16
[static]
BaseFont
 InheritedSUBSCRIPT_OFFSET : int = 18
[static]
BaseFont
 InheritedSUBSCRIPT_SIZE : int = 17
[static]
BaseFont
 InheritedSUPERSCRIPT_OFFSET : int = 20
[static]
BaseFont
 InheritedSUPERSCRIPT_SIZE : int = 19
[static]
BaseFont
 InheritedSYMBOL : String = Symbol.afm
[static]
BaseFont
 InheritedTIMES_BOLD : String = Times-Bold.afm
[static]
BaseFont
 InheritedTIMES_BOLDITALIC : String = Times-BoldItalic.afm
[static]
BaseFont
 InheritedTIMES_ITALIC : String = Times-Italic.afm
[static]
BaseFont
 InheritedTIMES_ROMAN : String = Times-Roman.afm
[static]
BaseFont
 InheritedUNDERLINE_POSITION : int = 13
[static]
BaseFont
 InheritedUNDERLINE_THICKNESS : int = 14
[static]
BaseFont
 InheritedUniCNS_UCS2_H : String = UniCNS-UCS2-H
[static]
BaseFont
 InheritedUniCNS_UCS2_V : String = UniCNS-UCS2-V
[static]
BaseFont
 InheritedUniGB_UCS2_H : String = UniGB-UCS2-H
[static]
BaseFont
 InheritedUniGB_UCS2_V : String = UniGB-UCS2-V
[static]
BaseFont
 InheritedUniJIS_UCS2_H : String = UniJIS-UCS2-H
[static]
BaseFont
 InheritedUniJIS_UCS2_HW_H : String = UniJIS-UCS2-HW-H
[static]
BaseFont
 InheritedUniJIS_UCS2_HW_V : String = UniJIS-UCS2-HW-V
[static]
BaseFont
 InheritedUniJIS_UCS2_V : String = UniJIS-UCS2-V
[static]
BaseFont
 InheritedUniKS_UCS2_H : String = UniKS-UCS2-H
[static]
BaseFont
 InheritedUniKS_UCS2_V : String = UniKS-UCS2-V
[static]
BaseFont
 InheritedWINANSI : String = Cp1252
[static]
BaseFont
 InheritedZAPFDINGBATS : String = ZapfDingbats.afm
[static]
BaseFont
Property Detail
indirectReferenceproperty
indirectReference:PdfIndirectReference  [read-only]


Implementation
    public function get indirectReference():PdfIndirectReference
Constructor Detail
DocumentFont()Constructor
public function DocumentFont()