StiOpenTypeHelper Class

Namespace: Stimulsoft.Report.Export

Methods

Method Returns Description
copyUint8Array static void  
getCharToGlyphTable static number[]  
reduceFontSize static Stimulsoft.System.IO.MemoryStream  

Method Details

copyUint8Array static

copyUint8Array(source: Uint8Array | number[], from: number, destination: Uint8Array, to: number, count: number): void

Parameters

  • source (Uint8Array | number[])
  • from (number)
  • destination (Uint8Array)
  • to (number)
  • count (number)

getCharToGlyphTable static

getCharToGlyphTable(buff: Uint8Array, fontName: string, fntStyle: FontStyle): number[]

Parameters

  • buff (Uint8Array)
  • fontName (string)
  • fntStyle (FontStyle)

Returns number[]


reduceFontSize static

reduceFontSize(buff: Uint8Array, fontName: string, remakeGlyphTable: boolean, glyphList: number[], glyphMap: number[], fntStyle: FontStyle): Stimulsoft.System.IO.MemoryStream

Parameters

  • buff (Uint8Array)
  • fontName (string)
  • remakeGlyphTable (boolean)
  • glyphList (number[])
  • glyphMap (number[])
  • fntStyle (FontStyle)

Returns Stimulsoft.System.IO.MemoryStream

Fields

Field Type Description
flags any  
lengthGlyf any  
locaOffset any  
needScan any  
needScan any  
offsetBegin any  
offsetBegin any  
offsetBegin any  
offsetBegin any  
offsetEnd any  
offsetEnd any  
offsetEnd any  
offsetEnd any  
offsetGlyf any  
offsetGlyf any  
outputStream any  
remakeGlyphTable any  
tableLength any  
tableLength any