Skip to content

v0.5.0

Choose a tag to compare

@edemaine edemaine released this 19 Mar 21:02
· 6 commits to main since this release
  • FontWebappSVG offers a new way to specify fonts: renderLine instead of renderChar
    • For rendering an entire line of text at once, instead of an individual character
    • Can return an array of glyphs, each as would be returned from renderChar (e.g. for special ligature processing or other context-sensitive characters)
    • Can return a single glyph for the entire line
    • Does not support spaceWidth; you need to process spaces yourself

Full Changelog: v0.4.1...v0.5.0