11 years ago.

How to change text size?

Could you please help me. If i use gOled.setTextSize(2) - no image on display.

If i use gOled.setTextSize(1) - all ok.

Question relating to:

1 Answer

10 years, 11 months ago.

Hi Dimitry,

You need to add the WANT_ABSTRACTS define, then you will be able to use text sizes greater than 1.

I have published a fork of the library with that set.

Dan

Accepted Answer

Thanks Dan for answering this.

Dimitry, since you Accepted this Answer, I have made several changes, including documentation and I2C import.

You may want to update to the current revision and look in the Adafruit_GFX_config.h file for GFX_SIZEABLE_TEXT or GFX_WANT_ABSTRACTS

Cheers

posted by Neal Horman 26 Oct 2014