Gjsify LogoGjsify Logo

Hierarchy

  • Buffer

Index

Constructors

Properties

name: string

Methods

  • add_glyph(glyph: number, properties: number, cluster: number): void
  • Appends a glyph to a PangoOTBuffer, with properties identifying which features should be applied on this glyph.

    See [methodPangoOT.Ruleset.add_feature].

    Parameters

    • glyph: number

      the glyph index to add, like a PangoGlyph

    • properties: number

      the glyph properties

    • cluster: number

      the cluster that this glyph belongs to

    Returns void

  • clear(): void
  • destroy(): void
  • Gets the glyph array contained in a PangoOTBuffer.

    The glyphs are owned by the buffer and should not be freed, and are only valid as long as buffer is not modified.

    Returns PangoOT.Glyph[]

  • Exports the glyphs in a PangoOTBuffer into a PangoGlyphString.

    This is typically used after the OpenType layout processing is over, to convert the resulting glyphs into a generic Pango glyph string.

    Parameters

    Returns void

  • set_rtl(rtl: boolean): void
  • Sets whether glyphs will be rendered right-to-left.

    This setting is needed for proper horizontal positioning of right-to-left scripts.

    Parameters

    • rtl: boolean

      %TRUE for right-to-left text

    Returns void

  • set_zero_width_marks(zero_width_marks: boolean): void
  • Sets whether characters with a mark class should be forced to zero width.

    This setting is needed for proper positioning of Arabic accents, but will produce incorrect results with standard OpenType Indic fonts.

    Parameters

    • zero_width_marks: boolean

      %TRUE if characters with a mark class should be forced to zero width

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method