[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Text.FontDescriptor

Class FontDescriptor

Namespace
GrapeCity.Documents.Pdf.Text
Assembly
GcDocs.Pdf.dll

Specifies metrics and other attributes of a FontSimple or a CIDFont as a whole, as distinct from the metrics of individual glyphs. These font metrics provide information that enables a consumer application to synthesize a substitute font or select a similar font when the font program is unavailable.

public class FontDescriptor : PdfDictWrapper, IPdfDict
Inheritance
object
FontDescriptor
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Extension Methods

Properties

Ascent

Gets the maximum height above the baseline reached by glyphs in this font, excluding the height of glyphs for accented characters.

public float? Ascent { get; }

Property Value

float?

AvgWidth

Gets the average width of glyphs in the font.

public float? AvgWidth { get; }

Property Value

float?

CapHeight

Gets the vertical coordinate of the top of flat capital letters, measured from the baseline.

public float? CapHeight { get; }

Property Value

float?

Descent

Gets the maximum depth below the baseline reached by glyphs in this font. The value is a negative number.

public float? Descent { get; }

Property Value

float?

Flags

Gets the flags defining various characteristics of the font.

public FontDescriptorFlags? Flags { get; }

Property Value

FontDescriptorFlags?

FontBBox

Gets a rectangle expressed in the glyph coordinate system, specifying the font bounding box. This is the smallest rectangle enclosing the shape that would result if all of the glyphs of the font were placed with their origins coincident and then filled.

public RectangleF? FontBBox { get; }

Property Value

System.Drawing.RectangleF?

FontFamily

Gets the preferred font family name. For example, for the font Times Bold Italic, the FontFamily is Times.

public string FontFamily { get; }

Property Value

string

FontStretch

Gets the font stretch value.

public PdfEnum<FontStretch>? FontStretch { get; }

Property Value

PdfEnum<FontStretch>?

FontWeight

Gets the weight (thickness) component of the fully-qualified font name or font specifier.

public FontWeight? FontWeight { get; }

Property Value

FontWeight?

ItalicAngle

Gets the angle, expressed in degrees counterclockwise from the vertical, of the dominant vertical strokes of the font.

public float? ItalicAngle { get; }

Property Value

float?

Leading

Gets the spacing between baselines of consecutive lines of text.

public float? Leading { get; }

Property Value

float?

MaxWidth

Gets the maximum width of glyphs in the font.

public float? MaxWidth { get; }

Property Value

float?

StemH

Gets the thickness, measured vertically, of the dominant horizontal stems of glyphs in the font.

public float? StemH { get; }

Property Value

float?

StemV

Gets the thickness, measured horizontally, of the dominant vertical stems of glyphs in the font.

public float? StemV { get; }

Property Value

float?

XHeight

Gets the font's x height: the vertical coordinate of the top of flat non ascending lowercase letters (like the letter x), measured from the baseline, in fonts that have Latin characters.

public float? XHeight { get; }

Property Value

float?