fix cache

add font propertie to rust text paint
layout improvements
This commit is contained in:
2023-05-28 01:10:53 +02:00
parent b671f9ee47
commit 1baa3ae736
18 changed files with 176 additions and 84 deletions

View File

@@ -138,6 +138,7 @@ function buildText(
type: "Fill",
color,
},
fontName: "Arial",
size,
align: "Center",
},
@@ -202,6 +203,7 @@ function buildStaggeredText(
stagger: 0.05,
letter: {
paint: {
fontName: "Arial",
style: {
type: "Fill",
color,