#femtovg #formatted #renderer #text #pukram

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

#190 in Graphics APIs

Download history 1/week @ 2024-07-26 27/week @ 2024-09-13 142/week @ 2024-09-20 20/week @ 2024-09-27 4/week @ 2024-10-04

193 downloads per month
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

~8.5MB
~173K SLoC