C# 클래스 PdfSharp.Fonts.OpenType.FontData

Represents an Open Type Font font in memory.
파일 보기 프로젝트 열기: DavidS/MigraDoc 1 사용 예제들

공개 메소드들

메소드 설명
AddTable ( PdfSharp.Fonts.OpenType.OpenTypeFontTable fontTable ) : void

Adds the specified table to this font image.

CreateFontSubSet ( object>.Dictionary glyphs, bool cidFont ) : FontData

Creates a new font image that is a subset of this font image containing only the specified glyphs.

FontData ( PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPdfFontOptions options ) : System

Initializes a new instance of the FontData class.

FontData ( byte data ) : System

Initializes a new instance of the FontData class.

Read ( byte buffer ) : void

Reads the specified buffer.

Read ( byte buffer, int offset, int length ) : void

Reads the specified buffer.

ReadByte ( ) : byte

Reads a System.Byte.

ReadBytes ( int size ) : byte[]

Reads a System.Byte[] with the specified size.

ReadFWord ( ) : short

Reads a System.Int16.

ReadFixed ( ) : Int32

Reads a System.Int32.

ReadLong ( ) : int

Reads a System.Int32.

ReadLongDate ( ) : long

Reads a System.Int64.

ReadShort ( ) : short

Reads a System.Int16.

ReadString ( int size ) : string

Reads a System.String with the specified size.

ReadTag ( ) : string

Reads a System.Char[4] as System.String.

ReadUFWord ( ) : ushort

Reads a System.UInt16.

ReadULong ( ) : uint

Reads a System.UInt32.

ReadUShort ( ) : ushort

Reads a System.UInt16.

Seek ( string tag ) : int
SeekOffset ( int offset ) : int

비공개 메소드들

메소드 설명
Compile ( ) : void

Compiles the font to its binary representation.

CreateGdiFontImage ( PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPdfFontOptions options ) : void

Create the font image using GDI+ functionality.

CreateWpfFontData ( PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPdfFontOptions options ) : void

Create the font image using WPF functionality.

FontData ( FontData fontData ) : System

Shallow copy for font subset.

Read ( ) : void

Reads all required tables from the font data.

메소드 상세

AddTable() 공개 메소드

Adds the specified table to this font image.
public AddTable ( PdfSharp.Fonts.OpenType.OpenTypeFontTable fontTable ) : void
fontTable PdfSharp.Fonts.OpenType.OpenTypeFontTable
리턴 void

CreateFontSubSet() 공개 메소드

Creates a new font image that is a subset of this font image containing only the specified glyphs.
public CreateFontSubSet ( object>.Dictionary glyphs, bool cidFont ) : FontData
glyphs object>.Dictionary
cidFont bool
리턴 FontData

FontData() 공개 메소드

Initializes a new instance of the FontData class.
public FontData ( PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPdfFontOptions options ) : System
font PdfSharp.Drawing.XFont
options PdfSharp.Drawing.XPdfFontOptions
리턴 System

FontData() 공개 메소드

Initializes a new instance of the FontData class.
public FontData ( byte data ) : System
data byte
리턴 System

Read() 공개 메소드

Reads the specified buffer.
public Read ( byte buffer ) : void
buffer byte
리턴 void

Read() 공개 메소드

Reads the specified buffer.
public Read ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
리턴 void

ReadByte() 공개 메소드

Reads a System.Byte.
public ReadByte ( ) : byte
리턴 byte

ReadBytes() 공개 메소드

Reads a System.Byte[] with the specified size.
public ReadBytes ( int size ) : byte[]
size int
리턴 byte[]

ReadFWord() 공개 메소드

Reads a System.Int16.
public ReadFWord ( ) : short
리턴 short

ReadFixed() 공개 메소드

Reads a System.Int32.
public ReadFixed ( ) : Int32
리턴 System.Int32

ReadLong() 공개 메소드

Reads a System.Int32.
public ReadLong ( ) : int
리턴 int

ReadLongDate() 공개 메소드

Reads a System.Int64.
public ReadLongDate ( ) : long
리턴 long

ReadShort() 공개 메소드

Reads a System.Int16.
public ReadShort ( ) : short
리턴 short

ReadString() 공개 메소드

Reads a System.String with the specified size.
public ReadString ( int size ) : string
size int
리턴 string

ReadTag() 공개 메소드

Reads a System.Char[4] as System.String.
public ReadTag ( ) : string
리턴 string

ReadUFWord() 공개 메소드

Reads a System.UInt16.
public ReadUFWord ( ) : ushort
리턴 ushort

ReadULong() 공개 메소드

Reads a System.UInt32.
public ReadULong ( ) : uint
리턴 uint

ReadUShort() 공개 메소드

Reads a System.UInt16.
public ReadUShort ( ) : ushort
리턴 ushort

Seek() 공개 메소드

public Seek ( string tag ) : int
tag string
리턴 int

SeekOffset() 공개 메소드

public SeekOffset ( int offset ) : int
offset int
리턴 int