TrueTypeFontUnicode Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf
iTextSharp.text.pdf.TrueTypeFontUnicode[[TrueTypeFontUnicode]]
iTextSharp.text.pdf.TrueTypeFont[[TrueTypeFont]]
end
subgraph System.Collections.Generic
System.Collections.Generic.IComparer_1[[IComparer]]
end
System.Collections.Generic.IComparer_1 --> iTextSharp.text.pdf.TrueTypeFontUnicode
iTextSharp.text.pdf.TrueTypeFont --> iTextSharp.text.pdf.TrueTypeFontUnicode
Members
Methods
Public methods
Internal methods
Internal Static methods
Returns | Name |
---|
string | ToHex (int n) |
Details
Inheritance
Constructors
TrueTypeFontUnicode
Source code
internal TrueTypeFontUnicode(string ttFile, string enc, bool emb, byte[] ttfAfm, bool forceRead)
Arguments
Type | Name | Description |
---|
string | ttFile | |
string | enc | |
bool | emb | |
byte``[] | ttfAfm | |
bool | forceRead | |
Methods
GetWidth [1/2]
Source code
public override int GetWidth(int char1)
Arguments
Type | Name | Description |
---|
int | char1 | |
GetWidth [2/2]
Source code
public override int GetWidth(string text)
Arguments
Type | Name | Description |
---|
string | text | |
GetToUnicode
Source code
public virtual PdfStream GetToUnicode(object[] metrics)
Arguments
Type | Name | Description |
---|
object``[] | metrics | |
ToHex
Source code
internal static string ToHex(int n)
Arguments
GetCIDFontType2
Source code
public virtual PdfDictionary GetCIDFontType2(PdfIndirectReference fontDescriptor, string subsetPrefix, object[] metrics)
Arguments
GetFontBaseType
Source code
public virtual PdfDictionary GetFontBaseType(PdfIndirectReference descendant, string subsetPrefix, PdfIndirectReference toUnicode)
Arguments
GetCharFromGlyphId
Source code
public virtual int GetCharFromGlyphId(int gid)
Arguments
Type | Name | Description |
---|
int | gid | |
Compare
Source code
public virtual int Compare(int[] o1, int[] o2)
Arguments
Type | Name | Description |
---|
int``[] | o1 | |
int``[] | o2 | |
WriteFont
Source code
internal override void WriteFont(PdfWriter writer, PdfIndirectReference piref, object[] parms)
Arguments
GetFullFontStream
Source code
public override PdfStream GetFullFontStream()
ConvertToBytes [1/2]
Source code
public override byte ConvertToBytes(string text)
Arguments
Type | Name | Description |
---|
string | text | |
ConvertToBytes [2/2]
Source code
internal override byte ConvertToBytes(int char1)
Arguments
Type | Name | Description |
---|
int | char1 | |
GetMetricsTT
Source code
public override int GetMetricsTT(int c)
Arguments
CharExists
Source code
public override bool CharExists(int c)
Arguments
SetCharAdvance
Source code
public override bool SetCharAdvance(int c, int advance)
Arguments
Type | Name | Description |
---|
int | c | |
int | advance | |
GetCharBBox
Source code
public override int GetCharBBox(int c)
Arguments
Generated with ModularDoc