u8g2-copy/doc/u8g2.txt

52 lines
1.4 KiB
Plaintext
Raw Normal View History

2015-11-09 02:02:19 +08:00
2016-01-01 16:49:32 +08:00
U8glib V2: Name and project goals
https://github.com/olikraus/u8g2
U8g2 = Universal 8bit Graphics
[U]niversal: Support for many displays ans development platforms
[8]bit: Initial focus had been 8 bit microcontroller systems
[g]raphics": U8g2 is a graphics library with focus on monochrome graphics displays
[2]: Second generation and successor of u8glib
2015-11-09 02:02:19 +08:00
U8glib V2: Features and Limitations
2015-11-14 19:32:43 +08:00
- Arduino Standard Libs
- Full Memory Buffer
2015-12-09 04:30:14 +08:00
- 3-wire-SPI
2015-11-14 19:32:43 +08:00
2015-11-09 02:02:19 +08:00
- Unicode Support
Unicode plane 0 (Basic Multilingual Plane, BMP, glyphs with 0x0000-0xffff)
is fully supported.
Limitation: Unicode planes > 0 are not supported
- UTF-8 Support
2 and 3 byte sequences are detected and handled.
Limitation:
2015-11-10 05:30:06 +08:00
Behavior for sequences with more than 3 bytes is unknown.
2015-11-28 03:23:32 +08:00
2016-01-01 16:49:32 +08:00
- Large number of fonts
2015-12-23 16:04:24 +08:00
- Compilation speed improved (font data)
2015-11-28 03:23:32 +08:00
2015-12-25 23:42:45 +08:00
- "Text only" sub library: U8x8
2015-11-28 03:23:32 +08:00
- less RAM/ROM usage
- Hardware supported display flip
- Better hardware support
2015-12-23 16:04:24 +08:00
u8g vs. u8g2
2016-01-01 16:49:32 +08:00
- begin() must be called (optional in u8g)
2015-12-23 17:44:20 +08:00
- constructor contains name of communicaton interface and
also contains the display orientation as first argument
2016-01-03 23:18:15 +08:00
- u8g2.drawStr90 does not exist any more use
2016-01-03 20:20:48 +08:00
void u8g2_SetFontDirection(u8g2_t *u8g2, uint8_t dir);
2016-01-03 23:18:15 +08:00
- Font transparency was defined in the .begin() statement. This is now
handled by setFontMode
- getHeight() renamed to getDisplayHeight()
- getWidth() renamed to getDisplayWidth()