Skip to main content
Skip table of contents

Type1Font

Type1Font Internal class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.Type1Font[[Type1Font]]
  iTextSharp.text.pdf.BaseFont[[BaseFont]]
  class iTextSharp.text.pdf.BaseFont abstractStyle;
  end
iTextSharp.text.pdf.BaseFont --> iTextSharp.text.pdf.Type1Font

Members

Properties

Public properties
TypeNameMethods
string``[][]AllNameEntriesget
string``[][]FamilyFontNameget
string``[][]FullFontNameget
stringPostscriptFontNameget, set

Methods

Internal methods
ReturnsName
intGetRawWidth(int c, string name)
voidWriteFont(PdfWriter writer, PdfIndirectReference piref, object``[] parms)
Public methods
ReturnsName
PdfDictionaryGetFontDescriptor(...)
PdfStreamGetFullFontStream()
intGetKerning(int char1, int char2)
boolHasKernPairs()
voidProcess(RandomAccessFileOrArray rf)
voidSetFontDescriptor(int key, float value)
boolSetKerning(int char1, int char2, int kern)
Protected methods
ReturnsName
int``[]GetRawCharBBox(int c, string name)

Details

Inheritance

Constructors

Type1Font

Source code

internal Type1Font(string afmFile, string enc, bool emb, byte[] ttfAfm, byte[] pfb, bool forceRead)
Arguments
TypeNameDescription
stringafmFile
stringenc
boolemb
byte``[]ttfAfm
byte``[]pfb
boolforceRead

Methods

GetRawWidth

Source code

internal override int GetRawWidth(int c, string name)
Arguments
TypeNameDescription
intc
stringname
GetKerning

Source code

public override int GetKerning(int char1, int char2)
Arguments
TypeNameDescription
intchar1
intchar2
Process

Source code

public virtual void Process(RandomAccessFileOrArray rf)
Arguments
TypeNameDescription
RandomAccessFileOrArrayrf
GetFullFontStream

Source code

public override PdfStream GetFullFontStream()
GetFontDescriptor [1/2]

Source code

public virtual PdfDictionary GetFontDescriptor(PdfIndirectReference fontStream)
Arguments
TypeNameDescription
PdfIndirectReferencefontStream
WriteFont

Source code

internal override void WriteFont(PdfWriter writer, PdfIndirectReference piref, object[] parms)
Arguments
TypeNameDescription
PdfWriterwriter
PdfIndirectReferencepiref
object``[]parms
GetFontDescriptor [2/2]

Source code

public override float GetFontDescriptor(int key, float fontSize)
Arguments
TypeNameDescription
intkey
floatfontSize
SetFontDescriptor

Source code

public override void SetFontDescriptor(int key, float value)
Arguments
TypeNameDescription
intkey
floatvalue
HasKernPairs

Source code

public override bool HasKernPairs()
SetKerning

Source code

public override bool SetKerning(int char1, int char2, int kern)
Arguments
TypeNameDescription
intchar1
intchar2
intkern
GetRawCharBBox

Source code

protected override int GetRawCharBBox(int c, string name)
Arguments
TypeNameDescription
intc
stringname

Properties

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.