#formatted #renderer #femtovg #text #pukram

femto-formatting

A simple renderer for formatted text using pukram for femtovg

6 releases (breaking)

0.6.0 Aug 6, 2023
0.4.1 Apr 1, 2023
0.4.0 Feb 4, 2023
0.3.0 Oct 8, 2022
0.1.0 Sep 30, 2021

#761 in Graphics APIs


Used in vngine

MIT/Apache

7KB
147 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

~7.5MB
~149K SLoC