#femtovg #formatted #renderer #pukram #text

femto-formatting

A simple renderer for formatted text using pukram for femtovg

7 releases (breaking)

0.7.0 Sep 19, 2024
0.6.0 Aug 6, 2023
0.4.1 Apr 1, 2023
0.4.0 Feb 4, 2023
0.1.0 Sep 30, 2021

#338 in Graphics APIs


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

~9MB
~177K SLoC