Newhaven Products > TFTs

Display Font related issue

(1/1)

darshana:
Sir,
Im working on Newhavens 2.4 inch display (ST7789S controller, 240X320) certain letters on creating font appears to be stepped ( for example W) this letter does not appear to be smooth, similar is the case with other slanting letters, is it the limitation of the hardware that creates this look for the font. Please do reply for the same.

Saurabh_B:
Hello Darshana,

Fonts and other graphics are controlled by the software and the controller that write to the display.
The onboard display controller will only show what is loaded onto the RAM.

Could you show me what you are displaying currently for the letters?

darshana somarajan:
Sir,
Sorry for the delay as I was mapped to some other work and now I am back to the loop, I am using bitmap format
Arial Narrow 14pts W
const uint_8 arialNarrow_14ptBitmaps[] =
{
   // @0 'W' (13 pixels wide)
   0x82, 0x08, // #     #     #
   0x82, 0x08, // #     #     #
   0x85, 0x08, // #    # #    #
   0x85, 0x08, // #    # #    #
   0x85, 0x08, // #    # #    #
   0x48, 0x90, //  #  #   #  #
   0x48, 0x90, //  #  #   #  #
   0x48, 0x90, //  #  #   #  #
   0x48, 0xD0, //  #  #   ## #
   0x50, 0x50, //  # #     # #
   0x50, 0x50, //  # #     # #
   0x50, 0x50, //  # #     # #
   0x20, 0x20, //   #       # 
   0x20, 0x20, //   #       # 
};

Ted_M:
Hi Darshana,

I hope you have resolved this.  If not, please take a look at the U8glib for some examples:

https://github.com/olikraus/u8glib

https://code.google.com/archive/p/u8glib/

Navigation

[0] Message Index

Go to full version