Please post link to actual display that you bought.
Please say which library you prefer to use.
Please say what size font you require e.g. height of 8 in pixels
What is a Digital font ?
If you want a font with only digits 0 to 9 say so.
Hi Dave, notes added, sorry new to the OLED, my understanding it is the library that holds the fonts, thus thats what I am looking for - is this the correct understanding, I have downloaded all the libraries I can find
once I understand if a font (or I can create one) exists, then I can understand the need and write questions to ask, yes 3 year member, but 2 days on OLED
Oliver has an excellent Wiki. And a wide range of numeric fonts.
He supports a wide range of hardware screens. e.g. 128x64 SSD1306
It is always wise to post links to your actual hardware because libraries are often specific to certain displays. However U8g2lib supports almost every monochrome display.
Hi Dave thanks, yes this has the 7 Seg display, Awesome, and it works but is 42 px high, next thing I have to work out is how to edit the code (if I can) to make it 30 px high ??
There are plenty of attractive numeric fonts in U8g2. Available in many sizes.
It looks as if U8g2 only has this monster 26x42 "ugly" font.
From a practical point of view, it would be simpler to just use Adafruit_SSD1306 library. And very straightforward to create a 30-pixel ugly font. Adafruit_SSD1306 updates the whole screen seamlessly.
Unlike TFT libraries that draw directly to the screen which means you "see" the previous digit being re-drawn.
Put your brain into gear. If you have a 128x64 OLED there are practical difficulties in fitting "big" digits on the screen.
e.g. 1 line with 4 digits that are 32x64
e.g. 2 lines with 8 digits that are 16x32
Bear in mind that the lit pixels will be smaller. You have to allow a space between each digit.
You can convert a TTF font on your PC for U8g2 format.
Or convert most other font formats to Adafruit FreeFont format.
It can be a bit fiddly to do the conversion. But if you can show the exact font with exact size that you want to use, someone might do it for you.
If you want a "normal" font with letters 32-127 there are online tools.
For restricted fonts like digits-only, you need to use command line tools. (Or someone might do it for you)
In practice, I would choose the "most attractive" font that comes with your library e.g. U8g2 or Adafruit_GFX.
If none are suitable, be clear about exactly what "custom" font you want.