@thi.ng/webgl-msdf
Version:
Multi-channel SDF font rendering & basic text layout for WebGL
10 lines • 392 B
TypeScript
import type { MSDFFont, RawGlyphs } from "./api.js";
/**
* Takes a JSON spec produced by the MSDF font generator at
* https://github.com/donmccurdy/msdf-bmfont-web and transforms it into a
* filtered, more compact glyph spec used by the functions of this module.
*
* @param raw -
*/
export declare const convertGlyphs: (raw: RawGlyphs) => MSDFFont;
//# sourceMappingURL=convert.d.ts.map