C# Class iTextSharp.text.pdf.TrueTypeFont

Inheritance: BaseFont
Afficher le fichier Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Protected Properties

Свойство Type Description
GlyphWidths int[]
allNameEntries string[][]
bboxes int[][]
cff bool
cffLength int
cffOffset int
cmap10 int[]>.Dictionary
cmap31 int[]>.Dictionary
cmapExt int[]>.Dictionary
directoryOffset int
familyName string[][]
fileName string
fontName string
fullName string[][]
head FontHeader
hhea HorizontalHeader
isFixedPitch bool
italicAngle double
justNames bool
kerning IntHashtable
os_2 WindowsMetrics
rf RandomAccessFileOrArray
style string
tables int[]>.Dictionary
ttcIndex string
underlinePosition int
underlineThickness int

Private Properties

Свойство Type Description
CheckCff void
FillTables void
GetAllNames string[][]
GetNames string[][]
GetRawWidth int
Process void
ReadBbox void
ReadCMaps void
ReadFormat0 int[]>.Dictionary
ReadFormat12 int[]>.Dictionary
ReadFormat4 int[]>.Dictionary
ReadFormat6 int[]>.Dictionary
ReadKerning void
TrueTypeFont System
WriteFont void

Méthodes publiques

Méthode Description
AddRangeUni ( int[]>.Dictionary longTag, bool includeMetrics, bool subsetp ) : void
GetFontDescriptor ( PdfIndirectReference fontStream, string subsetPrefix, PdfIndirectReference cidset ) : PdfDictionary
GetFontDescriptor ( int key, float fontSize ) : float
GetFullFont ( ) : byte[]
GetFullFontStream ( ) : PdfStream
GetKerning ( int char1, int char2 ) : int
GetMetricsTT ( int c ) : int[]
HasKernPairs ( ) : bool
ReadCffFont ( ) : byte[]
SetKerning ( int char1, int char2, int kern ) : bool

Méthodes protégées

Méthode Description
CompactRanges ( List ranges ) : int[]
GetFontBaseType ( PdfIndirectReference fontDescriptor, string subsetPrefix, int firstChar, int lastChar, byte shortTag ) : PdfDictionary
GetGlyphWidth ( int glyph ) : int
GetRawCharBBox ( int c, String name ) : int[]
GetTTCName ( string name ) : string
ReadGlyphWidths ( ) : void
ReadStandardString ( int length ) : string
ReadUnicodeString ( int length ) : string
TrueTypeFont ( ) : System

Private Methods

Méthode Description
CheckCff ( ) : void
FillTables ( ) : void
GetAllNames ( ) : string[][]
GetNames ( int id ) : string[][]
GetRawWidth ( int c, string name ) : int
Process ( byte ttfAfm, bool preload ) : void
ReadBbox ( ) : void
ReadCMaps ( ) : void
ReadFormat0 ( ) : int[]>.Dictionary
ReadFormat12 ( ) : int[]>.Dictionary
ReadFormat4 ( ) : int[]>.Dictionary
ReadFormat6 ( ) : int[]>.Dictionary
ReadKerning ( ) : void
TrueTypeFont ( string ttFile, string enc, bool emb, byte ttfAfm, bool justNames, bool forceRead ) : System
WriteFont ( PdfWriter writer, PdfIndirectReference piref, Object parms ) : void

Method Details

AddRangeUni() public méthode

public AddRangeUni ( int[]>.Dictionary longTag, bool includeMetrics, bool subsetp ) : void
longTag int[]>.Dictionary
includeMetrics bool
subsetp bool
Résultat void

CompactRanges() protected static méthode

protected static CompactRanges ( List ranges ) : int[]
ranges List
Résultat int[]

GetFontBaseType() protected méthode

protected GetFontBaseType ( PdfIndirectReference fontDescriptor, string subsetPrefix, int firstChar, int lastChar, byte shortTag ) : PdfDictionary
fontDescriptor PdfIndirectReference
subsetPrefix string
firstChar int
lastChar int
shortTag byte
Résultat PdfDictionary

GetFontDescriptor() public méthode

public GetFontDescriptor ( PdfIndirectReference fontStream, string subsetPrefix, PdfIndirectReference cidset ) : PdfDictionary
fontStream PdfIndirectReference
subsetPrefix string
cidset PdfIndirectReference
Résultat PdfDictionary

GetFontDescriptor() public méthode

public GetFontDescriptor ( int key, float fontSize ) : float
key int
fontSize float
Résultat float

GetFullFont() public méthode

public GetFullFont ( ) : byte[]
Résultat byte[]

GetFullFontStream() public méthode

public GetFullFontStream ( ) : PdfStream
Résultat PdfStream

GetGlyphWidth() protected méthode

protected GetGlyphWidth ( int glyph ) : int
glyph int
Résultat int

GetKerning() public méthode

public GetKerning ( int char1, int char2 ) : int
char1 int
char2 int
Résultat int

GetMetricsTT() public méthode

public GetMetricsTT ( int c ) : int[]
c int
Résultat int[]

GetRawCharBBox() protected méthode

protected GetRawCharBBox ( int c, String name ) : int[]
c int
name String
Résultat int[]

GetTTCName() protected static méthode

protected static GetTTCName ( string name ) : string
name string
Résultat string

HasKernPairs() public méthode

public HasKernPairs ( ) : bool
Résultat bool

ReadCffFont() public méthode

public ReadCffFont ( ) : byte[]
Résultat byte[]

ReadGlyphWidths() protected méthode

protected ReadGlyphWidths ( ) : void
Résultat void

ReadStandardString() protected méthode

protected ReadStandardString ( int length ) : string
length int
Résultat string

ReadUnicodeString() protected méthode

protected ReadUnicodeString ( int length ) : string
length int
Résultat string

SetKerning() public méthode

public SetKerning ( int char1, int char2, int kern ) : bool
char1 int
char2 int
kern int
Résultat bool

TrueTypeFont() protected méthode

protected TrueTypeFont ( ) : System
Résultat System

Property Details

GlyphWidths protected_oe property

protected int[] GlyphWidths
Résultat int[]

allNameEntries protected_oe property

protected string[][] allNameEntries
Résultat string[][]

bboxes protected_oe property

protected int[][] bboxes
Résultat int[][]

cff protected_oe property

protected bool cff
Résultat bool

cffLength protected_oe property

protected int cffLength
Résultat int

cffOffset protected_oe property

protected int cffOffset
Résultat int

cmap10 protected_oe property

protected Dictionary cmap10
Résultat int[]>.Dictionary

cmap31 protected_oe property

protected Dictionary cmap31
Résultat int[]>.Dictionary

cmapExt protected_oe property

By James for unicode Ext.B
protected Dictionary cmapExt
Résultat int[]>.Dictionary

directoryOffset protected_oe property

protected int directoryOffset
Résultat int

familyName protected_oe property

protected string[][] familyName
Résultat string[][]

fileName protected_oe property

protected string fileName
Résultat string

fontName protected_oe property

protected string fontName
Résultat string

fullName protected_oe property

protected string[][] fullName
Résultat string[][]

head protected_oe property

protected FontHeader head
Résultat FontHeader

hhea protected_oe property

protected HorizontalHeader hhea
Résultat HorizontalHeader

isFixedPitch protected_oe property

protected bool isFixedPitch
Résultat bool

italicAngle protected_oe property

protected double italicAngle
Résultat double

justNames protected_oe property

protected bool justNames
Résultat bool

kerning protected_oe property

protected IntHashtable kerning
Résultat IntHashtable

os_2 protected_oe property

protected WindowsMetrics os_2
Résultat WindowsMetrics

rf protected_oe property

protected RandomAccessFileOrArray rf
Résultat RandomAccessFileOrArray

style protected_oe property

protected string style
Résultat string

tables protected_oe property

protected Dictionary tables
Résultat int[]>.Dictionary

ttcIndex protected_oe property

protected string ttcIndex
Résultat string

underlinePosition protected_oe property

protected int underlinePosition
Résultat int

underlineThickness protected_oe property

protected int underlineThickness
Résultat int