Use other fonts on the 2.8" TFT LCD?

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
scoopthepoop
 
Posts: 26
Joined: Sat Mar 10, 2012 9:54 am

Use other fonts on the 2.8" TFT LCD?

Post by scoopthepoop »

I have browsed and searched everything I can think of and cannot find a beginners guide to changing the font. Currently I am using the tft.print("STUFF") to print things to the TFT. Can I use any of the glcd fonts that come with the arduino library to print to the TFT screen?

Thanks

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Use other fonts on the 2.8" TFT LCD?

Post by adafruit »

there are no othter fonts available at this time, and no tutorials. we hope to re-write the GFX library to handle different fonts but there is no ETA when we'll get to that

samv6271
 
Posts: 1
Joined: Mon Nov 19, 2012 2:51 pm

Re: Use other fonts on the 2.8" TFT LCD?

Post by samv6271 »

adafruit wrote:] there is no ETA when we'll get to that
Has changed since your post in June? I would like to change the font. If it helps, all I'm looking for is numbers 0-9 and a decimal point.

corbin
 
Posts: 10
Joined: Sun May 13, 2012 3:43 pm

Re: Use other fonts on the 2.8" TFT LCD?

Post by corbin »

Hi Sam,
I also wanted more fonts. I looked at using the UTFT library...and it worked for my 2.2" adafruit display, however, it only worked using serial mode and was slow. I ported it over to using the hardware SPI pins. It is at:

https://github.com/corbinstreehouse/UTFT_Adafruit_22TFT

You could probably make similar changes for the 2.8 TFT.

It has 3 fonts available standard.

corbin

uno23
 
Posts: 5
Joined: Sat Nov 10, 2012 3:28 pm

Re: Use other fonts on the 2.8" TFT LCD?

Post by uno23 »

Hi Corbin, great work! But in your opinion for the display 2.2" TFT it'is possible to use also the micro SD card?

Best Regards

Marco

andig
 
Posts: 1
Joined: Sat Oct 27, 2012 9:23 am

Re: Use other fonts on the 2.8" TFT LCD?

Post by andig »

Please have a look at https://github.com/guyc/py-gaugette/issues/1 and https://github.com/andig/convert_font. We're working on a python port of the ssd1306 and adafruit gfx libraries for use with the raspberry pi and have already developed additional bitmapped fonts that can be used with the python libraries.
Cheers, Andreas

zxfr
 
Posts: 3
Joined: Fri Feb 01, 2013 11:30 am

Re: Use other fonts on the 2.8" TFT LCD?

Post by zxfr »

Give a try to our UTFT library emulator.

http://pd4ml.com/pixelmeister/

Apart from its main function, it also allows you to import images to rgb565 bitmaps and to convert TTF fonts into a very compact raster format. To support the converted fonts we provide uText library, built on the top of UTFT. (It can be easily ported to any platform, which has means to draw horizontal and vertical lines). The font/text functionality is not limited by a particular character codepage - you can mix any languages in a displayed text.

User avatar
jaycollett
 
Posts: 64
Joined: Thu Jan 07, 2010 10:53 pm

Re: Use other fonts on the 2.8" TFT LCD?

Post by jaycollett »

zxfr,

Tried your software tonight. Doesn't appear to like me. I can't get a simple "Hello World" text to show using an imported font "Georgia" 28point. It keeps saying "cannot print 't' with current font". The 't' is what ever letter I try to print....

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”