Hierarchy

Index

Constructors

constructor

Properties

ARGS_ARE_XY_VALUES

ARGS_ARE_XY_VALUES: number = 2

ARG_1_AND_2_ARE_WORDS

ARG_1_AND_2_ARE_WORDS: number = 1

ASC

ASC: number

CH

CH: number

CharPdfNames

CharPdfNames: string[]

ChildFontsMap

ChildFontsMap: number[]

DESC

DESC: number

GlyphBackList

GlyphBackList: number[]

GlyphList

GlyphList: number[]

GlyphMap

GlyphMap: number[]

GlyphMapsList

GlyphMapsList: number[][] = null

GlyphWidths

GlyphWidths: number[]

ItalicAngle

ItalicAngle: number

LLX

LLX: number

LLY

LLY: number

LineGap

LineGap: number

MORE_COMPONENTS

MORE_COMPONENTS: number = 32

MacAscend

MacAscend: number

MacDescend

MacDescend: number

MacLineGap

MacLineGap: number

MappedSymbolsCount

MappedSymbolsCount: number

NeedSyntBold

NeedSyntBold: boolean

NeedSyntItalic

NeedSyntItalic: boolean

NtmFlags

NtmFlags: number

OVERLAP_COMPOUND

OVERLAP_COMPOUND: number = 1024

PdfFontName

PdfFontName: string[] = ["Helvetica","Helvetica-Bold","Helvetica-Oblique","Helvetica-BoldOblique","Times-Roman","Times-Bold","Times-Italic","Times-BoldItalic","Courier","Courier-Bold","Courier-Oblique","Courier-BoldOblique","Symbol","ZapfDingbats"]

ROUND_XY_TO_GRID

ROUND_XY_TO_GRID: number = 4

SCALED_COMPONENT_OFFSET

SCALED_COMPONENT_OFFSET: number = 2048

StemV

StemV: number

StrikeoutPosition

StrikeoutPosition: number

StrikeoutSize

StrikeoutSize: number

SymsToPDF

SymsToPDF: number[]

TablesNames

TablesNames: string[] = ["head", // + +"hhea", // + +"hmtx", // + +"maxp", // + +"cmap", // +"OS/2", // +"post", // +"cvt ", // ++ ++"fpgm", // ++ ++"glyf", // + +"loca", // + +"prep", // ++ ++"name" // this table required for Windows]

UNSCALED_COMPONENT_OFFSET

UNSCALED_COMPONENT_OFFSET: number = 4096

URX

URX: number

URY

URY: number

USE_MY_METRICS

USE_MY_METRICS: number = 512

UnderscorePosition

UnderscorePosition: number

UnderscoreSize

UnderscoreSize: number

UnicodeMap

UnicodeMap: number[]

UnicodeMapBack

UnicodeMapBack: number[]

UnicodeMapsList

UnicodeMapsList: number[][] = null

UseUnicode

UseUnicode: boolean

WE_HAVE_AN_X_AND_Y_SCALE

WE_HAVE_AN_X_AND_Y_SCALE: number = 64

WE_HAVE_A_SCALE

WE_HAVE_A_SCALE: number = 8

WE_HAVE_A_TWO_BY_TWO

WE_HAVE_A_TWO_BY_TWO: number = 128

WE_HAVE_INSTRUCTIONS

WE_HAVE_INSTRUCTIONS: number = 256

WIDTHS

WIDTHS: number[] = null

Widths

Widths: number[]

XH

XH: number

factor

factor: number = 1

firstMappedSymbol

firstMappedSymbol: number = 64

fontList

fontList: pfontInfo[]

fonts

fonts: PdfFontInfo[] = null

forceUseUnicode

forceUseUnicode: boolean = true

maxSymbols

maxSymbols: number = 32767

standardPdfFonts

standardPdfFonts: boolean = true

tmASC

tmASC: number

tmDESC

tmDESC: number

tmExternal

tmExternal: number

Accessors

currentFont

  • get currentFont(): number
  • set currentFont(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

Methods

InitFontsData

  • InitFontsData(report: StiReport): void
  • Parameters

    • report: StiReport

    Returns void

clear

  • clear(): void
  • Returns void

getCharToGlyphTable

  • getCharToGlyphTable(buff: Uint8Array, fontName: string): number[]
  • Parameters

    • buff: Uint8Array
    • fontName: string

    Returns number[]

getFontDataBuf

  • getFontDataBuf(font: Font, report: StiReport): any
  • Parameters

    • font: Font
    • report: StiReport

    Returns any

getFontDataFromGdi

  • getFontDataFromGdi(font: Font, report: StiReport): any
  • Parameters

    • font: Font
    • report: StiReport

    Returns any

getFontMetrics

  • getFontMetrics(font: Font, currentFontInfo: PdfFontInfo, glyphMap: number[], report: StiReport): void
  • Parameters

    • font: Font
    • currentFontInfo: PdfFontInfo
    • glyphMap: number[]
    • report: StiReport

    Returns void

getFontNumber

  • getFontNumber(incomingFont: Font): number
  • Parameters

    • incomingFont: Font

    Returns number

reduceFontSize

  • reduceFontSize(buff: Uint8Array, fontName: string, remakeGlyphTable: boolean): MemoryStream
  • Parameters

    • buff: Uint8Array
    • fontName: string
    • remakeGlyphTable: boolean

    Returns MemoryStream

storeGlyphsInMap

  • storeGlyphsInMap(sb: string): void
  • Parameters

    • sb: string

    Returns void

storeUnicodeSymbolsInMap

  • storeUnicodeSymbolsInMap(st: string): void
  • Parameters

    • st: string

    Returns void

Static isFontStimulsoft

  • isFontStimulsoft(name: string): boolean
  • Parameters

    • name: string

    Returns boolean

Generated using TypeDoc