This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GFX library fonts

I want to use in my project tft 1.8 display with st7735 controller. I used the standard GFX example from SDK 14.1 and everything is working fine, but the picture is incorrectly displayed and I found only two fonts. Can I find additional fonts for the GFX library somewhere?

Parents
  • I use the dot factory to generate additional fonts for my display. They have a good amount of fonts available. I never used the GFX example from nordic though so you might have to do some slight alterations to make the generated output compatible. www.eran.io/.../

  • Regarding clearing the display, yes you must do it as the LCD will save the previous drawing in RAM, However in order to save time i simply overwrite it rather than clearing then drawing, (assuming the next drawing is of the same size, otherwise i clear the extra portions and then overwrite the rest)

    My algorithm takes way less than 300 ms to draw images and even less for primitive objects, but in my library i dont have any draw line or circles. I simply use fonts/letters & Icons (Bluetooth, Battery level, Company logo,...) What communication method do you use with your LCD? I uses 8080 Series communication and recently just switched to 4 Wire SPI ( but had to hack it by adding an external resistor to function with nordics sdk library) as the LCD SPI is non-conventional 4 wire (At least from my opinion)

Reply
  • Regarding clearing the display, yes you must do it as the LCD will save the previous drawing in RAM, However in order to save time i simply overwrite it rather than clearing then drawing, (assuming the next drawing is of the same size, otherwise i clear the extra portions and then overwrite the rest)

    My algorithm takes way less than 300 ms to draw images and even less for primitive objects, but in my library i dont have any draw line or circles. I simply use fonts/letters & Icons (Bluetooth, Battery level, Company logo,...) What communication method do you use with your LCD? I uses 8080 Series communication and recently just switched to 4 Wire SPI ( but had to hack it by adding an external resistor to function with nordics sdk library) as the LCD SPI is non-conventional 4 wire (At least from my opinion)

Children
No Data
Related