PdfSharp-WPF
1.31.7289
|
Represents an Open Type Font font in memory. More...
Classes | |
struct | OffsetTable |
Represents the font offset table. | |
Public Member Functions | |
FontData (XFont font, XPdfFontOptions options) | |
Initializes a new instance of the FontData class. More... | |
FontData (byte[] data) | |
Initializes a new instance of the FontData class. More... | |
void | AddTable (OpenTypeFontTable fontTable) |
Adds the specified table to this font image. More... | |
FontData | CreateFontSubSet (Dictionary< int, object > glyphs, bool cidFont) |
Creates a new font image that is a subset of this font image containing only the specified glyphs. More... | |
int | Seek (string tag) |
int | SeekOffset (int offset) |
byte | ReadByte () |
Reads a System.Byte. More... | |
short | ReadShort () |
Reads a System.Int16. More... | |
ushort | ReadUShort () |
Reads a System.UInt16. More... | |
int | ReadLong () |
Reads a System.Int32. More... | |
uint | ReadULong () |
Reads a System.UInt32. More... | |
Fixed | ReadFixed () |
Reads a System.Int32. More... | |
short | ReadFWord () |
Reads a System.Int16. More... | |
ushort | ReadUFWord () |
Reads a System.UInt16. More... | |
long | ReadLongDate () |
Reads a System.Int64. More... | |
string | ReadString (int size) |
Reads a System.String with the specified size. More... | |
byte[] | ReadBytes (int size) |
Reads a System.Byte[] with the specified size. More... | |
void | Read (byte[] buffer) |
Reads the specified buffer. More... | |
void | Read (byte[] buffer, int offset, int length) |
Reads the specified buffer. More... | |
string | ReadTag () |
Reads a System.Char[4] as System.String. More... | |
Properties | |
byte[] | Data [get] |
Gets the bytes that represents the font data. More... | |
bool | CanRead [get] |
bool | CanWrite [get] |
int | Position [get, set] |
Represents an Open Type Font font in memory.
PdfSharp.Fonts.OpenType.FontData.FontData | ( | XFont | font, |
XPdfFontOptions | options | ||
) |
Initializes a new instance of the FontData class.
PdfSharp.Fonts.OpenType.FontData.FontData | ( | byte[] | data | ) |
Initializes a new instance of the FontData class.
void PdfSharp.Fonts.OpenType.FontData.AddTable | ( | OpenTypeFontTable | fontTable | ) |
Adds the specified table to this font image.
FontData PdfSharp.Fonts.OpenType.FontData.CreateFontSubSet | ( | Dictionary< int, object > | glyphs, |
bool | cidFont | ||
) |
Creates a new font image that is a subset of this font image containing only the specified glyphs.
void PdfSharp.Fonts.OpenType.FontData.Read | ( | byte[] | buffer | ) |
Reads the specified buffer.
void PdfSharp.Fonts.OpenType.FontData.Read | ( | byte[] | buffer, |
int | offset, | ||
int | length | ||
) |
Reads the specified buffer.
byte PdfSharp.Fonts.OpenType.FontData.ReadByte | ( | ) |
Reads a System.Byte.
byte [] PdfSharp.Fonts.OpenType.FontData.ReadBytes | ( | int | size | ) |
Reads a System.Byte[] with the specified size.
Fixed PdfSharp.Fonts.OpenType.FontData.ReadFixed | ( | ) |
Reads a System.Int32.
short PdfSharp.Fonts.OpenType.FontData.ReadFWord | ( | ) |
Reads a System.Int16.
int PdfSharp.Fonts.OpenType.FontData.ReadLong | ( | ) |
Reads a System.Int32.
long PdfSharp.Fonts.OpenType.FontData.ReadLongDate | ( | ) |
Reads a System.Int64.
short PdfSharp.Fonts.OpenType.FontData.ReadShort | ( | ) |
Reads a System.Int16.
string PdfSharp.Fonts.OpenType.FontData.ReadString | ( | int | size | ) |
Reads a System.String with the specified size.
string PdfSharp.Fonts.OpenType.FontData.ReadTag | ( | ) |
Reads a System.Char[4] as System.String.
ushort PdfSharp.Fonts.OpenType.FontData.ReadUFWord | ( | ) |
Reads a System.UInt16.
uint PdfSharp.Fonts.OpenType.FontData.ReadULong | ( | ) |
Reads a System.UInt32.
ushort PdfSharp.Fonts.OpenType.FontData.ReadUShort | ( | ) |
Reads a System.UInt16.
int PdfSharp.Fonts.OpenType.FontData.Seek | ( | string | tag | ) |
int PdfSharp.Fonts.OpenType.FontData.SeekOffset | ( | int | offset | ) |
|
get |
|
get |
|
get |
Gets the bytes that represents the font data.
|
getset |