DocumentFont Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf
iTextSharp.text.pdf.DocumentFont[[DocumentFont]]
iTextSharp.text.pdf.BaseFont[[BaseFont]]
class iTextSharp.text.pdf.BaseFont abstractStyle;
end
iTextSharp.text.pdf.BaseFont --> iTextSharp.text.pdf.DocumentFont
Members
Properties
Public properties
Internal properties
Methods
Public methods
Internal methods
Protected methods
Details
Inheritance
Constructors
DocumentFont [1/3]
Source code
internal DocumentFont(PdfDictionary font)
Arguments
DocumentFont [2/3]
Source code
internal DocumentFont(PRIndirectReference refFont)
Arguments
DocumentFont [3/3]
Source code
internal DocumentFont(PRIndirectReference refFont, PdfDictionary drEncoding)
Arguments
Methods
GetFontDescriptor
Source code
public override float GetFontDescriptor(int key, float fontSize)
Arguments
Type | Name | Description |
---|
int | key | |
float | fontSize | |
GetKerning
Source code
public override int GetKerning(int char1, int char2)
Arguments
Type | Name | Description |
---|
int | char1 | |
int | char2 | |
GetRawWidth
Source code
internal override int GetRawWidth(int c, string name)
Arguments
Type | Name | Description |
---|
int | c | |
string | name | |
HasKernPairs
Source code
public override bool HasKernPairs()
WriteFont
Source code
internal override void WriteFont(PdfWriter writer, PdfIndirectReference refi, object[] param)
Arguments
GetFullFontStream
Source code
public override PdfStream GetFullFontStream()
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 | |
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 | |
CharExists
Source code
public override bool CharExists(int c)
Arguments
GetFontMatrix
Source code
public override double GetFontMatrix()
SetKerning
Source code
public override bool SetKerning(int char1, int char2, int kern)
Arguments
Type | Name | Description |
---|
int | char1 | |
int | char2 | |
int | kern | |
GetCharBBox
Source code
public override int GetCharBBox(int c)
Arguments
IsVertical
Source code
public override bool IsVertical()
GetRawCharBBox
Source code
protected override int GetRawCharBBox(int c, string name)
Arguments
Type | Name | Description |
---|
int | c | |
string | name | |
Properties
FontDictionary
public virtual PdfDictionary FontDictionary { get; }
FamilyFontName
public override string FamilyFontName { get; }
FullFontName
public override string FullFontName { get; }
AllNameEntries
public override string AllNameEntries { get; }
PostscriptFontName
public override string PostscriptFontName { get; set; }
IndirectReference
internal PdfIndirectReference IndirectReference { get; }
Uni2Byte
internal IntHashtable Uni2Byte { get; }
Byte2Uni
internal IntHashtable Byte2Uni { get; }
Diffmap
internal IntHashtable Diffmap { get; }
Generated with ModularDoc