~calebccff/pbsplash

line split mid-word instead of hanging

The line splitting implementation would look behind to find a space to
split on. This does not work if the line is one long word (like a URL),
and this implementation would hang as a result.

Add support for splitting mid-word in this case and prevent pbsplash
from hanging.
52cb0ae6 — Caleb Connolly 1 year, 11 months ago
nanosvgrast: small cleanup
706888ca — Caleb Connolly 2 years ago 0.3.0
last few cleanups
3c96de11 — Caleb Connolly 2 years ago
add timespec lib, decouple animation from frambuffer rate
4a98f0a0 — Caleb Connolly 2 years ago
finish refactor, zero allocs to make valgrind happy
7b714e43 — Caleb Connolly 2 years ago
factor out message printing, use const where possible
d7e9eca3 — Caleb Connolly 2 years ago
filled circles, factor out physical size calculations, slightly adjust bottom text
22f07eb6 — Caleb Connolly 2 years ago 0.2.3
increase logo size slightly, fix text getting cut off
83ab7e73 — Caleb Connolly 2 years ago
limit logo to 25mm, move text to lower
9d9633e1 — Caleb Connolly 2 years ago
terrible logo scaling hacks

Probably breaks landscape devices?
cc37eea1 — Caleb Connolly 2 years ago
text: half space char width
Add argument to disable animation

For displaying error messages, let's not show the loading animation.
1ab85c2a — Caleb Connolly 2 years ago
TEST: animate: thicker circle outline
435f8a79 — Caleb Connolly 2 years ago
adjust sizes/positions
Support message line at the bottom
nsvgGetTextShapes: fix uninitialized values

Use calloc to zero ret, because ret[i] does not get written if
NSVG_FLAGS_VISIBLE is unset. Found with valgrind.
nanosvg: build implementation in extra c file

Speed up development iterations by building the nanosvg implementation
only once. Especially on the PinePhone it takes a bit.
include: add missing declarations

Add nsvgGetTextShapes() and nsvgRasterizeText() declarations outside of
the _IMPLEMENTATION areas, so the headerfiles can be used without
having _IMPLEMENTATION set.
Tweak the animation and placement

* Move the animation between the logo and the text
* Move text further below
* Change circles to 3 (like ...) and increase speed to 5
* Change circles radius, distance, amplitude
* Draw empty circles instead of full circles, to be used with a logo
  that also has an outline
animate: fix fill_rect height
Next
Do not follow this link