C# Класс iTextSharp.text.pdf.TrueTypeFont

Наследование: BaseFont
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddRangeUni() публичный метод

public AddRangeUni ( int[]>.Dictionary longTag, bool includeMetrics, bool subsetp ) : void
longTag int[]>.Dictionary
includeMetrics bool
subsetp bool
Результат void

CompactRanges() защищенный статический метод

protected static CompactRanges ( List ranges ) : int[]
ranges List
Результат int[]

GetFontBaseType() защищенный метод

protected GetFontBaseType ( PdfIndirectReference fontDescriptor, string subsetPrefix, int firstChar, int lastChar, byte shortTag ) : PdfDictionary
fontDescriptor PdfIndirectReference
subsetPrefix string
firstChar int
lastChar int
shortTag byte
Результат PdfDictionary

GetFontDescriptor() публичный метод

public GetFontDescriptor ( PdfIndirectReference fontStream, string subsetPrefix, PdfIndirectReference cidset ) : PdfDictionary
fontStream PdfIndirectReference
subsetPrefix string
cidset PdfIndirectReference
Результат PdfDictionary

GetFontDescriptor() публичный метод

public GetFontDescriptor ( int key, float fontSize ) : float
key int
fontSize float
Результат float

GetFullFont() публичный метод

public GetFullFont ( ) : byte[]
Результат byte[]

GetFullFontStream() публичный метод

public GetFullFontStream ( ) : PdfStream
Результат PdfStream

GetGlyphWidth() защищенный метод

protected GetGlyphWidth ( int glyph ) : int
glyph int
Результат int

GetKerning() публичный метод

public GetKerning ( int char1, int char2 ) : int
char1 int
char2 int
Результат int

GetMetricsTT() публичный метод

public GetMetricsTT ( int c ) : int[]
c int
Результат int[]

GetRawCharBBox() защищенный метод

protected GetRawCharBBox ( int c, String name ) : int[]
c int
name String
Результат int[]

GetTTCName() защищенный статический метод

protected static GetTTCName ( string name ) : string
name string
Результат string

HasKernPairs() публичный метод

public HasKernPairs ( ) : bool
Результат bool

ReadCffFont() публичный метод

public ReadCffFont ( ) : byte[]
Результат byte[]

ReadGlyphWidths() защищенный метод

protected ReadGlyphWidths ( ) : void
Результат void

ReadStandardString() защищенный метод

protected ReadStandardString ( int length ) : string
length int
Результат string

ReadUnicodeString() защищенный метод

protected ReadUnicodeString ( int length ) : string
length int
Результат string

SetKerning() публичный метод

public SetKerning ( int char1, int char2, int kern ) : bool
char1 int
char2 int
kern int
Результат bool

TrueTypeFont() защищенный метод

protected TrueTypeFont ( ) : System
Результат System

Описание свойств

GlyphWidths защищенное свойство

protected int[] GlyphWidths
Результат int[]

allNameEntries защищенное свойство

protected string[][] allNameEntries
Результат string[][]

bboxes защищенное свойство

protected int[][] bboxes
Результат int[][]

cff защищенное свойство

protected bool cff
Результат bool

cffLength защищенное свойство

protected int cffLength
Результат int

cffOffset защищенное свойство

protected int cffOffset
Результат int

cmap10 защищенное свойство

protected Dictionary cmap10
Результат int[]>.Dictionary

cmap31 защищенное свойство

protected Dictionary cmap31
Результат int[]>.Dictionary

cmapExt защищенное свойство

By James for unicode Ext.B
protected Dictionary cmapExt
Результат int[]>.Dictionary

directoryOffset защищенное свойство

protected int directoryOffset
Результат int

familyName защищенное свойство

protected string[][] familyName
Результат string[][]

fileName защищенное свойство

protected string fileName
Результат string

fontName защищенное свойство

protected string fontName
Результат string

fullName защищенное свойство

protected string[][] fullName
Результат string[][]

head защищенное свойство

protected FontHeader head
Результат FontHeader

hhea защищенное свойство

protected HorizontalHeader hhea
Результат HorizontalHeader

isFixedPitch защищенное свойство

protected bool isFixedPitch
Результат bool

italicAngle защищенное свойство

protected double italicAngle
Результат double

justNames защищенное свойство

protected bool justNames
Результат bool

kerning защищенное свойство

protected IntHashtable kerning
Результат IntHashtable

os_2 защищенное свойство

protected WindowsMetrics os_2
Результат WindowsMetrics

rf защищенное свойство

protected RandomAccessFileOrArray rf
Результат RandomAccessFileOrArray

style защищенное свойство

protected string style
Результат string

tables защищенное свойство

protected Dictionary tables
Результат int[]>.Dictionary

ttcIndex защищенное свойство

protected string ttcIndex
Результат string

underlinePosition защищенное свойство

protected int underlinePosition
Результат int

underlineThickness защищенное свойство

protected int underlineThickness
Результат int