#formatted-text #text-renderer #femtovg #pukram

femto-formatting

A simple renderer for formatted text using pukram for femtovg

10 releases (5 breaking)

Uses new Rust 2024

0.7.3 Jan 17, 2026
0.7.2 Aug 11, 2025
0.7.1 Feb 19, 2025
0.7.0 Sep 19, 2024
0.1.0 Sep 30, 2021

#2 in #text-renderer


Used in vngine

MIT/Apache

8KB
153 lines

Available formatting:

  • normal
  • *bold*
  • /italic/
  • `mono`
  • ^superscript^
  • |subscript|
  • ^|small|^
  • _underscore_
  • ~strikethrough~

All formattings can be combined. The formatting either ends after a second occurance of the same formatting character or when the line ends. All characters after a \ will be handled as normal.

Dependencies

~4.5–6.5MB
~138K SLoC