• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class TtfPostTable

Parsed OpenType "post" table (PostScript compatibility). Contains italic angle and underline metrics used for PDF export and display rendering. Ref: OpenType spec §5.2.11.

Inheritance
object
TtfTableBase
TtfPostTable
Inherited Members
TtfTableBase.Tag
TtfTableBase.RawBytes
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Font.Ttf.Tables
Assembly: DRIT.Drawing.dll
Syntax
public sealed class TtfPostTable : TtfTableBase

Fields

TableTag

The table tag for the post table.

Declaration
public const string TableTag = "post"
Field Value
Type Description
string

Properties

IsFixedPitch

True if the font is monospaced (all glyphs have the same advance width). Zero in the table means proportional; any non-zero value means monospaced.

Declaration
public bool IsFixedPitch { get; }
Property Value
Type Description
bool

ItalicAngle

Italic angle in counter-clockwise degrees from the vertical, in design units. Zero for upright fonts; negative for forward-slanting italic fonts.

Declaration
public double ItalicAngle { get; }
Property Value
Type Description
double

UnderlinePosition

Offset of the top of the underline stroke from the baseline, in design units. Negative values place the underline below the baseline.

Declaration
public short UnderlinePosition { get; }
Property Value
Type Description
short

UnderlineThickness

Thickness of the underline stroke, in design units.

Declaration
public short UnderlineThickness { get; }
Property Value
Type Description
short

Methods

Parse(byte[])

Parses the "post" table from its raw bytes.

Declaration
public static TtfPostTable Parse(byte[] rawBytes)
Parameters
Type Name Description
byte[] rawBytes
Returns
Type Description
TtfPostTable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX