Skip to content

select fonts in Display.print

Hinerk requested to merge hinerk/firmware:more_fonts into master

implementing a new epic method epic_disp_print_adv and improving display.print with new font parameter.

epic_disp_print_adv behaves like epic_disp_print but also takes a new key font, which takes a number to select the font. The font name is verbalized using a new typedef enum FontName. The enum names correlate to the fonts under gfx/fonts. On MicroPython side, in the display module constants were defined in order to provide names instead of numbers

Merge request reports