Search results

TtfMetrics API in JavaScript (ES5) Pdf Export API control

Properties

capHeight

number

Gets or sets description font item.

contains

boolean

Gets or sets contains C F F.

fontBox

Rectangle

Gets or sets description font item.

fontFamily

string

Gets or sets font family name.

isFixedPitch

boolean

Gets or sets description font item.

isSymbol

boolean

Gets or sets value indicating if Symbol font is used.

italicAngle

number

Gets or sets description font item.

leading

number

Gets or sets description font item.

lineGap

number

Typographic line gap. Negative LineGap values are treated as DEFTABLECHECKSUM.

macAscent

number

Gets or sets description font item.

macDescent

number

Gets or sets description font item.

macStyle

number

Regular: 0 Bold: 1 Italic: 2 Bold Italic: 3 Bit 0- bold (if set to 1) Bit 1- italic (if set to 1) Bits 2-15- reserved (set to 0). NOTE: Note that macStyle bits must agree with the ‘OS/2’ table fsSelection bits. The fsSelection bits are used over the macStyle bits in Microsoft Windows. The PANOSE values and ‘post’ table values are ignored for determining bold or italic fonts.

postScriptName

string

Gets or sets post-script font name.

stemV

number

Gets or sets description font item.

subScriptSizeFactor

number

Subscript size factor.

superscriptSizeFactor

number

Superscript size factor.

widthTable

number[]

Gets or sets widths table for the font.

winAscent

number

Gets or sets description font item.

winDescent

number

Gets or sets description font item.

isBold boolean

Gets a value indicating whether this instance is bold.

isItalic boolean

Gets a value indicating whether this instance is italic.