1
0
Fork 0
wasp-os/wasp
Daniel Thompson 4ad8273902 draw565: Fix bounding box calculations
wasp-os uses an drawing optimization technique to automatically place
a single pixel line on the right of glyphs when rendering them. This
results in a change to the bounding box for a rendered string (by adding
a single pixel on the right of the final character). Fix the bounding box
calculations accordingly. Among other things this eliminates graphical
artifacts when rendering labels in 2048.

Fixes: #203
Fixes: 58b5c0378e ("draw565: Optimize the string drawing")
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-06-04 10:46:25 +01:00
..
apps Added weather application. 2021-06-03 21:43:38 +01:00
boards draw565: Fix bounding box calculations 2021-06-04 10:46:25 +01:00
drivers st7789: Fix incorrect variable name in ST7789_SPIs. __init__ docstring. 2021-02-20 08:46:59 +00:00
fonts fonts: add 18pt font 2021-03-28 08:59:25 +01:00
modules bma42x-upy: Implement step counter reset 2020-12-30 09:56:22 +00:00
boot.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
draw565.py draw565: Fix bounding box calculations 2021-06-04 10:46:25 +01:00
gadgetbridge.py Added weather application. 2021-06-03 21:43:38 +01:00
icons.py apps: Add DualClock app. 2021-03-27 09:41:54 +00:00
logo.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
main.py Introduction basic notification support 2020-07-19 20:50:33 +01:00
ppg.py apps: heart: Implement a debug mode to copy out raw data 2021-05-05 21:06:39 +01:00
requirements.txt Update requirements.txt 2021-03-09 21:15:02 +00:00
shell.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
steplogger.py apps: steps: Add a history graph 2021-02-25 08:00:03 +00:00
wasp.py MemoryError exception now shows custom message instead of CrashApp. 2021-06-03 21:45:24 +01:00
widgets.py widgets: Add a button with a graphical icon 2021-01-18 21:52:55 +00:00