148 Commits

Author SHA1 Message Date
Jason von Nieda
fd68f69d20
Fix #103 by disabling subpixel rendering.
Newer versions of FreeType enable subpixel rendering by default. This makes fonts look terrible on displays that don't support it, like the LCDs this library is targeting. This change disables the subpixel rendering and improves the clarity of fonts.

See https://github.com/adafruit/Adafruit-GFX-Library/issues/103#issuecomment-443031001 for more information.
2018-11-29 17:35:18 -06:00
Phillip Burgess
85cc1d9508 Move 'writeCommand' and others from protected to pricate (eyes code and others are using these) 2018-11-29 11:59:07 -08:00
Phillip Burgess
03cf2d917e Round rects; limit radius to 1/2 minor axis 1.3.4 2018-11-26 13:41:26 -08:00
Phillip Burgess
9bdc390458 Fixes for WICED Feather hardware SPI 1.3.3 2018-11-16 22:09:07 -08:00
Phillip Burgess
882290442a Some incomplete WICED work; not bumping version # yet 2018-11-15 19:14:23 -08:00
Phillip Burgess
33158b3986 Allow GFX code to compile on WICED w/o SPIClass 1.3.2 2018-11-09 15:15:01 -08:00
Phillip Burgess
0521944f9f Fix fillCircleHelper for SSD1306 INVERT mode
Function would previously draw certain line segments repeatedly; minor performance drain on most displays, but especially problematic for SSD1306's INVERT drawing mode.
1.3.1
2018-11-08 15:01:27 -08:00
ladyada
96f5acf6ee auto-run latest 1.3.0 2018-11-03 17:47:29 -04:00
ladyada
f5e164945b add support for selective SPI device! 2018-11-03 17:39:10 -04:00
Limor "Ladyada" Fried
3a14516a76
Merge pull request #183 from theintel/master
Fixed error from fontconvert.c when compiling example sketch of adafruit OLED display
2018-10-17 12:50:36 -07:00
Muhammad Arifur Rahman
4a2757c893
Fixed error when compiling example sketch of adafruit OLED display
When compiling the example sketch for adafruit OLED display, the sketch refers to Adafruit_GFX and consequently to fontconvert.c
This file includes a header file named ft2build.h, which many of the compilers fail to find, resulting in compilation error.
Check the discussion on this issue: https://github.com/adafruit/Adafruit-GFX-Library/issues/88

Simply adding two lines solves the problem.
2018-10-18 01:28:59 +06:00
Limor "Ladyada" Fried
5b672ff1c6
Update README.md 2018-08-12 17:01:16 -04:00
Limor "Ladyada" Fried
6e4ac5df70
Update library.properties 1.2.9 2018-08-12 16:58:34 -04:00
ladyada
ff8129f8d6 compilers dont like this 2018-08-12 15:45:35 -04:00
Phillip Burgess
a34c5947d9 SPITFT: don't USE_FAST_PINIO on WICED 1.2.8 2018-08-10 23:22:53 -07:00
Limor "Ladyada" Fried
f379d7070c
Merge pull request #130 from vortigont/dev
Added String overload to getTextBounds() #90
2018-08-10 08:37:32 -07:00
Limor "Ladyada" Fried
ac82adb99c
Merge pull request #173 from veekoo/fixed_some_warnings
Added a cast to int_16 since height and width are uint_16s.
2018-08-09 07:09:37 -07:00
Ville Karaila
675c972170 Added a cast to int_16 since height and width are uint_16s.
Note: Consider harmonizing types since uints might spill if someone
invents a 64k wide or high oled.. Jk. Changing h and w might be nice
tho, but keeping changes at minimum here.
2018-08-08 16:53:58 -07:00
Emil Muratov
15344e4ff9 Add doxygen for getTextBounds()
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2018-08-09 00:06:59 +03:00
Emil Muratov
05df41d963 Added String overload to getTextBounds() #90 2018-08-06 17:25:57 +03:00
Limor "Ladyada" Fried
1e6251e367
Merge pull request #169 from tablatronix/esp8266-undef-USE_FAST_PINIO
esp use_fast_pinio undef
2018-07-27 10:07:24 -07:00
Shawn A
6e9ad92b95 esp use_faast_pinio undef
This was never an issue until include macro was moved to below the definition, masked before 1.2.6
2018-07-27 11:55:29 -05:00
Limor "Ladyada" Fried
b9dfb41bc8
Merge pull request #168 from KurtE/build_on_opencm_opencr
Fix compile errors USE_FAST_PINIO + compile on Robotis boards
2018-07-26 10:43:23 -07:00
Kurt Eckhardt
a21e561673 Fix compile errors USE_FAST_PINIO + compile on Robotis boards
There were a couple of compile issus when you are trying to use a different board which requires you not to use fast pinio.  In particular Robotis OpenCM9.04 as well as the OpenCR 1.0 boards.

They are STM32 based __arm__ boards but do not have the support for setting/clearing IO pins using memory mapped access to one location.

First thing I ran into was the code in the #else casue was using
#undefine
which is not valid, should be #undef

Second issue is once this define was undefined, the #defines for SPI_CS_HIGH
and SPI_CS_LOW did not compile as there was no ; at the end of the digitalWrite.
Probably worked earlier until somone put this statement into a {} pair
2018-07-26 10:36:31 -07:00
Phillip Burgess
7be0b493c3 Allow obscure-but-needed case of no TFT chip select (-1) 1.2.7 2018-07-17 21:48:54 -07:00
Phillip Burgess
1ea46e2f5c Fix for Teensy 3.x boards 1.2.6 2018-07-17 18:34:21 -07:00
ladyada
b2cc77a13b woops accidentally slowed down bitbang SPI 2018-07-14 23:05:47 -04:00
ladyada
d5d6804100 guards! 1.2.5 2018-07-14 17:04:11 -04:00
ladyada
7f2d11709c fix inlineing complaints for writepixel 2018-07-14 16:57:42 -04:00
ladyada
9beb188013 bump again 2018-07-14 16:02:01 -04:00
ladyada
cf1e1b0521 woops turns out some SPI displays dont use this format, so make it virtual 2018-07-14 16:01:33 -04:00
ladyada
f573e032cd bump for release 1.2.4 2018-07-14 15:43:40 -04:00
ladyada
ebb199c1e4 fixed fastio for esp, undef for anything else 2018-07-14 15:39:11 -04:00
ladyada
640e5a06e5 fix color565 2018-07-14 15:30:31 -04:00
ladyada
17f7f3ca50 add mocktest 2018-07-14 15:27:47 -04:00
ladyada
5614790a99 *falls over* 2018-07-14 15:21:57 -04:00
ladyada
df54898306 more doxy, add a travis 2018-07-14 14:24:10 -04:00
ladyada
ed59d3ea4a more doxy 2018-07-14 13:05:06 -04:00
ladyada
836a499055 doxy gfxfont 2018-07-14 12:37:42 -04:00
ladyada
4de9ba8f14 doxy gitignore 2018-07-14 12:30:23 -04:00
ladyada
0ae3442ac8 add travistag 2018-07-14 12:27:03 -04:00
ladyada
57860992d4 support optimized bitbang spi 2018-07-14 02:08:49 -04:00
ladyada
0d06686d45 move invert display and setaddrwindow to superclass 2018-07-14 02:02:02 -04:00
ladyada
7667d32f75 some inlining 2018-05-28 23:53:59 -04:00
Phillip Burgess
7d73ae8214 Disable SPITFT code if using ATtiny85, update version # v1.2.3 2018-01-08 11:59:27 -08:00
Phillip Burgess
1e0d64f11a Add roadmap notes to README 2017-12-26 20:08:21 -08:00
ladyada
d4ea436155 added generic SPI TFT wrapper 2017-09-25 22:35:26 -04:00
Paint Your Dragon
b8ca7d16ba Merge pull request #126 from rbultman/master
Set yAdvance to glyph height if face height is zero
2017-05-25 20:32:10 -07:00
Rob Bultman
ceca9ac409 Set yAdvance to glyph height if face height is zero. 2017-05-23 15:56:51 -04:00
Rob Bultman
bffb1aae70 Adding gitignore 2017-05-23 15:55:58 -04:00