mirror of
https://github.com/Xevion/time-banner.git
synced 2025-12-06 05:16:47 -06:00
chore: smarter zoom out raster method, simpler svg
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
use std::default;
|
|
||||||
|
|
||||||
use resvg::usvg::fontdb;
|
use resvg::usvg::fontdb;
|
||||||
use resvg::{tiny_skia, usvg};
|
use resvg::{tiny_skia, usvg};
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" font-family="Roboto Mono"
|
<svg xmlns="http://www.w3.org/2000/svg" font-family="Roboto Mono"
|
||||||
font-size="27">
|
font-size="27">
|
||||||
<text x="8" y="27" text-anchor="start">
|
<text text-anchor="start" dy="24">
|
||||||
{{ text }}
|
{{ text }}
|
||||||
</text>
|
</text>
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 162 B |
Reference in New Issue
Block a user