From b315faf626c929de36b04df0848b93b0014e2d35 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 29 Dec 2020 10:46:16 -0800 Subject: [PATCH] spv-css-parser: The font-size is really "px" even though it says "pt". --- src/output/spv/spv-css-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/spv/spv-css-parser.c b/src/output/spv/spv-css-parser.c index c3a7118ccc..19b0b4715f 100644 --- a/src/output/spv/spv-css-parser.c +++ b/src/output/spv/spv-css-parser.c @@ -126,7 +126,7 @@ css_decode_key_value (const char *key, const char *value, font->typeface = xstrdup (value); } else if (!strcmp (key, "font-size")) - font->size = atoi (value); + font->size = atoi (value) * 3 / 4; /* fg_color, bg_color */ -- 2.30.2