Caleb Connolly
f8193eb745
animated logo support
...
Drop the wavy circles and expect to be provided a series of SVGs to
animate the logo.
2023-11-26 10:50:00 +01:00
Caleb Connolly
1a6bb17cb1
drm: make optional
...
Make DRM configurable at build time to avoid increasing the size of
pbsplash. DRM support is not yet suitable to be enabled by default, but
it's nice to have it merged in so the code doesn't bitrot.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
2023-11-26 10:37:00 +01:00
Caleb Connolly
96d181885e
font fixes for iosevka
...
The font handling was somewhat hardcoded for OpenSans, make some
adjustments for iosevka.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
2023-11-26 10:02:08 +01:00
Caleb Connolly
26b0fe1b22
nanosvg: move to C file
...
no need to keep this in a header.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
2023-11-21 04:16:13 +00:00
Caleb Connolly
3a71d0437b
drm working
...
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
2023-11-21 02:49:38 +00:00
Caleb Connolly
01af13950c
WIP: vendor tfblib + clang-format
...
We only need a subset of it, to iterate faster and integrate features
like in-line rotation let's vendor it for now.
Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-07-28 20:15:06 +01:00
Caleb Connolly
52cb0ae649
nanosvgrast: small cleanup
2023-03-06 00:28:35 +00:00
Caleb Connolly
3c96de11dd
add timespec lib, decouple animation from frambuffer rate
2023-02-20 02:25:27 +00:00
Caleb Connolly
4a98f0a0cf
finish refactor, zero allocs to make valgrind happy
2023-02-20 01:25:37 +00:00
Caleb Connolly
7b714e433e
factor out message printing, use const where possible
2023-02-19 16:54:25 +00:00
Caleb Connolly
cc37eea120
text: half space char width
2022-08-06 19:35:04 +01:00
Oliver Smith
a1df67dfce
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.
2022-08-06 18:45:51 +01:00
Oliver Smith
36b0e6780b
include: add missing declarations
...
Add nsvgGetTextShapes() and nsvgRasterizeText() declarations outside of
the _IMPLEMENTATION areas, so the headerfiles can be used without
having _IMPLEMENTATION set.
2022-08-06 18:44:53 +01:00
Oliver Smith
2d79d8ad6a
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
2022-08-06 18:44:29 +01:00
Caleb Connolly
3c25e1ba44
support newlines + automatic line splitting
2022-08-06 18:34:10 +01:00
Caleb Connolly
a5af6e1a50
nanosvg: fix some dodgy checks
2022-07-05 14:07:33 +01:00
Martijn Braam
b6625648c9
DPI scaling for the dots
2022-07-05 13:22:08 +01:00
Caleb Connolly
ec1bfbd2fd
lots of fixes, add animations!
2022-03-11 02:26:04 +00:00
Caleb Connolly
768aefef93
functional implementation 🥳
2022-02-23 01:20:05 +00:00
Caleb Connolly
c13d5fd6ba
sorta works
...
things run, text and logos work, it's a start
2022-01-23 21:25:19 +00:00
Caleb Connolly
1d29b4d87a
wip svg font rendering
...
works with built in draw_svg stuff, trying to support nsvgrast
2022-01-23 04:41:15 +00:00
Caleb Connolly
2844142e1b
initial svg rendering
...
messsy
2022-01-22 22:27:56 +00:00
Caleb Connolly
062a665899
move to meson, use tfblib as an external dependency
...
needs: https://github.com/vvaltchev/tfblib/pull/4
2022-01-22 20:46:04 +00:00