WICG / canvas-formatted-text

Other
80 stars 17 forks source link

Access to font MATH tables and curves for larger glyph variants #55

Open marcianx opened 1 year ago

marcianx commented 1 year ago

I wanted to document an additional use-case - math typesetting. This requires access to the MATH font table which includes, among other things:

Standard text rendering APIs are insufficient for rendering both of these because they consume strings (i.e. a sequence of code points), and:

In both of these cases, we need access to the actual paths that constitutes the glyphs so that they may be rendered to the client target (SVG, Canvas, etc).