Other fonts available? #270
-
I've started using the text-capabilities with the matrixpanel. But I can only make 1 font work, the FreeSansBold12pt7b which is used in the ChainedPanels example, using the virtualDisp. All attempts at other fonts fail to compile, saying the font wasn't declared in the scope. Any tips? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
You have to add the header file for each font. Maybe that working font was added somewhere in the example. |
Beta Was this translation helpful? Give feedback.
-
When you used the default font, was there no noise? |
Beta Was this translation helpful? Give feedback.
-
My congratulations. |
Beta Was this translation helpful? Give feedback.
-
The one can use this library to benefit from u8g2 massive list of fonts and international diacritics / UTF-8 printing and line width calculation. I am using this library on top of virtualDisplay. This snippet may be of use:
Then we can use u8g2 functions to print etc. |
Beta Was this translation helpful? Give feedback.
You have to add the header file for each font. Maybe that working font was added somewhere in the example.