UNPKG

string-to-svg

Version:

Convert text to SVG path without native dependence.

10 lines (7 loc) 438 B
import { Font } from 'opentype.js'; export { Font } from 'opentype.js'; import { S as STSOptionsWithFont } from './index-e3039ff1.js'; export { A as Anchor, g as getD, a as getHeight, b as getMetrics, c as getPath, d as getWidth } from './index-e3039ff1.js'; declare function loadFont(font: ArrayBuffer): Font; declare function getSVG(text: string, options: STSOptionsWithFont): string; export { STSOptionsWithFont, getSVG, loadFont };