Skip to content

PdfUnicodeTrueTypeFont Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines an Unicode TrueType font.

C#
public class PdfUnicodeTrueTypeFont : PdfTrueTypeFont

Inheritance: Object → PdfFont → PdfTrueTypeFont → PdfUnicodeTrueTypeFont

Remarks

An Unicde TrueType font can display all Unicode characters.

Constructors

Name Description
PdfUnicodeTrueTypeFont(String,Double,Boolean) Initializes a new PdfUnicodeTrueTypeFont object.
PdfUnicodeTrueTypeFont(String,Double,Boolean,PdfTrueTypeFontFeatures) Initializes a new PdfUnicodeTrueTypeFont object.
PdfUnicodeTrueTypeFont(String,Int32,Double,Boolean) Initializes a new PdfUnicodeTrueTypeFont object.
PdfUnicodeTrueTypeFont(String,Int32,Double,Boolean,PdfTrueTypeFontFeatures) Initializes a new PdfUnicodeTrueTypeFont object.
PdfUnicodeTrueTypeFont(Stream,Double,Boolean) Initializes a new PdfUnicodeTrueTypeFont object.
PdfUnicodeTrueTypeFont(Stream,Double,Boolean,PdfTrueTypeFontFeatures) Initializes a new PdfUnicodeTrueTypeFont object.
PdfUnicodeTrueTypeFont(Stream,Int32,Double,Boolean) Initializes a new PdfUnicodeTrueTypeFont object.
PdfUnicodeTrueTypeFont(Stream,Int32,Double,Boolean,PdfTrueTypeFontFeatures) Initializes a new PdfUnicodeTrueTypeFont object.
PdfUnicodeTrueTypeFont(PdfUnicodeTrueTypeFont) Initializes a new PdfUnicodeTrueTypeFont object.
PdfUnicodeTrueTypeFont(PdfUnicodeTrueTypeFont,Double) Initializes a new PdfUnicodeTrueTypeFont object.

Properties

Name Description
Bold Gets or sets a value indicating whether the font is bold.
(inherited from PdfTrueTypeFont)
CharacterSpacing Gets or sets the character spacing to be used by this font.
(inherited from PdfFont)
CosFont Gets the COS font dictionary.
(inherited from PdfFont)
EnableFontSubset Gets or sets a value indicating whether this font must be subset or not.
(inherited from PdfTrueTypeFont)
EnableTextCopy Gets or sets a value indicating whether the font supports text copy/paste operations.
FontFeatures Gets the font features used for font creation.
HorizontalScaling Gets or sets the text horizontal scaling to be used by this font.
(inherited from PdfFont)
Italic Gets or sets a value indicating whether the font is italic.
(inherited from PdfTrueTypeFont)
Metrics Gets the font metrics.
(inherited from PdfFont)
Name Gets the name of this font.
(inherited from PdfTrueTypeFont)
Size Gets or sets the font size.
(inherited from PdfFont)
Strikethrough Gets or sets a value indicating whether the font is strikethrough.
(inherited from PdfFont)
StrikethroughOffset Gets or sets the strikethrough offset.
(inherited from PdfFont)
TextRenderingMode Gets or sets the text rendering mode.
(inherited from PdfFont)
Underline Gets or sets a value indicating whether the font is underlined.
(inherited from PdfFont)

Methods

Name Description
EncodeString Encodes the given text to a byte array based on font's encoding.
(inherited from PdfTrueTypeFont)
GetCharWidth Gets the width of the given character when drawn with this font object.
(inherited from PdfTrueTypeFont)
GetGlyphEmWidth Gets the Em width of the given glyph when drawn with this font object.
(inherited from PdfTrueTypeFont)
GetGlyphOutline Gets the outline of the specified character, given as a Unicode code point.
(inherited from PdfTrueTypeFont)
UpdateCharsSubset Updates the set of characters that must be subset in the final font data.
(inherited from PdfTrueTypeFont)
UpdateGlyphsSubset Updates the set of glyphs that must be subset in the final font data.
(inherited from PdfTrueTypeFont)