CJKFont Internal class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf
iTextSharp.text.pdf.CJKFont[[CJKFont]]
iTextSharp.text.pdf.BaseFont[[BaseFont]]
class iTextSharp.text.pdf.BaseFont abstractStyle;
end
iTextSharp.text.pdf.BaseFont --> iTextSharp.text.pdf.CJKFont
Members
Properties
Internal properties
Type | Name | Methods |
---|
string | UniMap | get |
Public properties
Methods
Public Static methods
Internal Static methods
Public methods
Internal methods
Protected methods
Details
Inheritance
Constructors
CJKFont
Source code
internal CJKFont(string fontName, string enc, bool emb)
Arguments
Type | Name | Description |
---|
string | fontName | |
string | enc | |
bool | emb | |
Methods
GetCompatibleFont
Source code
public static string GetCompatibleFont(string enc)
Arguments
Type | Name | Description |
---|
string | enc | |
IsCJKFont
Source code
public static bool IsCJKFont(string fontName, string enc)
Arguments
Type | Name | Description |
---|
string | fontName | |
string | enc | |
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 | |
GetRawWidth
Source code
internal override int GetRawWidth(int c, string name)
Arguments
Type | Name | Description |
---|
int | c | |
string | name | |
GetKerning
Source code
public override int GetKerning(int char1, int char2)
Arguments
Type | Name | Description |
---|
int | char1 | |
int | char2 | |
WriteFont
Source code
internal override void WriteFont(PdfWriter writer, PdfIndirectReference piref, object[] parms)
Arguments
GetFullFontStream
Source code
public override PdfStream GetFullFontStream()
GetFontDescriptor
Source code
public override float GetFontDescriptor(int key, float fontSize)
Arguments
Type | Name | Description |
---|
int | key | |
float | fontSize | |
CreateMetric
Source code
internal static IntHashtable CreateMetric(string s)
Arguments
Type | Name | Description |
---|
string | s | |
ConvertToHCIDMetrics
Source code
internal static string ConvertToHCIDMetrics(int[] keys, IntHashtable h)
Arguments
ConvertToVCIDMetrics
Source code
internal static string ConvertToVCIDMetrics(int[] keys, IntHashtable v, IntHashtable h)
Arguments
ReadFontProperties
Source code
internal static Dictionary<string, object> ReadFontProperties(string name)
Arguments
Type | Name | Description |
---|
string | name | |
GetUnicodeEquivalent
Source code
public override int GetUnicodeEquivalent(int c)
Arguments
GetCidCode
Source code
public override int GetCidCode(int c)
Arguments
HasKernPairs
Source code
public override bool HasKernPairs()
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 | |
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
GetRawCharBBox
Source code
protected override int GetRawCharBBox(int c, string name)
Arguments
Type | Name | Description |
---|
int | c | |
string | name | |
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 | |
IsIdentity
Source code
public virtual bool IsIdentity()
Properties
UniMap
internal string UniMap { get; }
PostscriptFontName
public override string PostscriptFontName { get; set; }
FullFontName
public override string FullFontName { get; }
AllNameEntries
public override string AllNameEntries { get; }
FamilyFontName
public override string FamilyFontName { get; }
Generated with ModularDoc