From 017927416b6d64d18ba41c2d40abb1b96cfe1748 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Tue, 5 Mar 2024 17:52:52 +0100 Subject: [PATCH] generate-font-image-previews: Fix wrong previews [why] 0xProto (and possibly others) use a default font for the previews. [how] We need to put the font family names in quotes... Reported-by: Lucy Phipps Signed-off-by: Fini Jastrow --- bin/scripts/lib/template-font-preview.svg | 4 ++-- bin/scripts/lib/template-font-preview2.svg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/scripts/lib/template-font-preview.svg b/bin/scripts/lib/template-font-preview.svg index bf46cdd74..738bea575 100644 --- a/bin/scripts/lib/template-font-preview.svg +++ b/bin/scripts/lib/template-font-preview.svg @@ -30,7 +30,7 @@ id="text4136" y="100.93363" x="62.857143" - style="font-style:normal;font-weight:normal;font-size:27.5px;line-height:125%;font-family:sans-serif;text-decoration: underline;text-decoration-line: underline;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + style="font-style:normal;font-weight:normal;font-size:27.5px;line-height:125%;font-family:'sans-serif';text-decoration: underline;text-decoration-line: underline;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" xml:space="preserve">