The class for parsing font data in ASCII format.

BMFontAsciiParser

Implements

  • IBMFontParser<string>

Constructors

Methods

Constructors

Methods

  • The function that parses font data from an ASCII string.

    import { BMFontAsciiParser } from 'three-text-geometry'

    const data: string = ...ascii data...
    const parser = new BMFontAsciiParser();
    const font: BMFont = parser.parse(data)

    Parameters

    • data: string

      string that contains font data.

    Returns BMFont

    Parsed data that conforms to the BMFont interface.

    BMFontAsciiParser