Closed daanggc closed 5 months ago
This is a good idea. Though, I would change the following:
For the monospace fonttype it is:
+ - DejaVu Sans Mono
- Courier
- Courier New
- System fallback for DejaVu Sans Mono
possibly swapping the order of Courier and Courier New.
This is a good idea. Though, I would change the following:
For the monospace fonttype it is: + - DejaVu Sans Mono - Courier - Courier New - System fallback for DejaVu Sans Mono
possibly swapping the order of Courier and Courier New.
I agree and have updated the code.
I also added the font install command to the docker file and with the antialiasing from PR #218, the docker container produces this result:
I ran into the same issue as #204; the dockerized environment is missing the required fonts, and getting those there is a pain.
So I made a fallback structure that looks for available fonts in the following order:
For the monospace fonttype it is:
Now you get a close result on most environments. Especially the docker container can profit from this, with the command
apt install fonts-roboto
you can use Roboto Condensed and that should give this result: