is there any fontsize between 1 and 2 ?

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
gosbrut
 
Posts: 74
Joined: Thu Feb 20, 2014 5:36 pm

is there any fontsize between 1 and 2 ?

Post by gosbrut »

Hi,
I want to use setTextSize for the tft 2.8 to print text with font size smaller than 2 and bigger than 1, like 1.5, is it possible ?

User avatar
adafruit_support_bill
 
Posts: 88144
Joined: Sat Feb 07, 2009 10:11 am

Re: is there any fontsize between 1 and 2 ?

Post by adafruit_support_bill »

Not with the standard library. You would have to define a custom font.

gosbrut
 
Posts: 74
Joined: Thu Feb 20, 2014 5:36 pm

Re: is there any fontsize between 1 and 2 ?

Post by gosbrut »

How to?
Is there a manual, tutorial or some info for custom font?

User avatar
adafruit_support_bill
 
Posts: 88144
Joined: Sat Feb 07, 2009 10:11 am

Re: is there any fontsize between 1 and 2 ?

Post by adafruit_support_bill »

There is no manual or tutorial for that. I don't know of anyone that has done this successfully. In addition to creating the font bitmap, you would need to modify the GFX library to work with your new font.

Currently the font consists of 5x7 pixel caracters and the character drawing code is hard-coded for this size.

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

Return to “Other Products from Adafruit”