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
|
Returns |
Name |
|---|---|
|
|
( |
|
|
( |
|
|
( |
|
|
(
fontDescriptor, |
|
|
( |
|
|
( |
|
|
(
descendant,
toUnicode) |
|
|
() |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
Internal methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
(
writer,
piref, |
Internal Static methods
|
Returns |
Name |
|---|---|
|
|
( |
Details
Inheritance
-
IComparer<int``[]> -
TrueTypeFont
Constructors
TrueTypeFontUnicode
Source code
internal TrueTypeFontUnicode(string ttFile, string enc, bool emb, byte[] ttfAfm, bool forceRead)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
ttFile |
|
|
|
enc |
|
|
|
emb |
|
|
|
ttfAfm |
|
|
|
forceRead |
Methods
GetWidth [1/2]
Source code
public override int GetWidth(int char1)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
char1 |
GetWidth [2/2]
Source code
public override int GetWidth(string text)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
text |
GetToUnicode
Source code
public virtual PdfStream GetToUnicode(object[] metrics)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
metrics |
ToHex
Source code
internal static string ToHex(int n)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
n |
GetCIDFontType2
Source code
public virtual PdfDictionary GetCIDFontType2(PdfIndirectReference fontDescriptor, string subsetPrefix, object[] metrics)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
fontDescriptor |
|
|
|
subsetPrefix |
|
|
|
metrics |
GetFontBaseType
Source code
public virtual PdfDictionary GetFontBaseType(PdfIndirectReference descendant, string subsetPrefix, PdfIndirectReference toUnicode)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
descendant |
|
|
|
subsetPrefix |
|
|
|
toUnicode |
GetCharFromGlyphId
Source code
public virtual int GetCharFromGlyphId(int gid)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
gid |
Compare
Source code
public virtual int Compare(int[] o1, int[] o2)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
o1 |
|
|
|
o2 |
WriteFont
Source code
internal override void WriteFont(PdfWriter writer, PdfIndirectReference piref, object[] parms)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
piref |
|
|
|
parms |
GetFullFontStream
Source code
public override PdfStream GetFullFontStream()
ConvertToBytes [1/2]
Source code
public override byte ConvertToBytes(string text)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
text |
ConvertToBytes [2/2]
Source code
internal override byte ConvertToBytes(int char1)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
char1 |
GetMetricsTT
Source code
public override int GetMetricsTT(int c)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
c |
CharExists
Source code
public override bool CharExists(int c)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
c |
SetCharAdvance
Source code
public override bool SetCharAdvance(int c, int advance)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
c |
|
|
|
advance |
GetCharBBox
Source code
public override int GetCharBBox(int c)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
c |
Generated with ModularDoc