alxhoff / FreeRTOS-Emulator

POSIX based FreeRTOS emulator with SDL2 graphics interface and multiple async communications interfaces, aiming to make it possible to teach FreeRTOS without embedded hardware using similar processes
https://alxhoff.github.io/FreeRTOS-Emulator/
GNU General Public License v3.0
60 stars 105 forks source link

[FEATURE] Custom Fonts #56

Closed PhilippvK closed 4 years ago

PhilippvK commented 4 years ago

Is your feature request related to a problem? Please describe. You can not change the Font easily or use multiple fonts in one program.

Describe the solution you'd like Best Option: Implement a way to change fonts on the fly.

Describe alternatives you've considered At least allow overwriting the default font (by using #ifndef DEFAULT_FONT ... in TUM_Draw.h.

alxhoff commented 4 years ago

good idea

PhilippvK commented 4 years ago

Similar situation exists for the Waveforms. At the moment they only can be defined in the libraries itself or am I wrong?

alxhoff commented 4 years ago

yer i think so. i'll look into a solution. Maybe some sort of auxiliary init function that takes in a custom font/audio

PhilippvK commented 4 years ago

Hm, I would prefer to be able to use more than one font (and font size) during program execution. Do not feel forced to implement it, if its to complex. Its just a nice to have thing.

alxhoff commented 4 years ago

i'll make a font API now