From: Ben Pfaff Date: Tue, 29 Dec 2020 18:46:16 +0000 (-0800) Subject: spv-css-parser: The font-size is really "px" even though it says "pt". X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b315faf626c929de36b04df0848b93b0014e2d35;p=pspp spv-css-parser: The font-size is really "px" even though it says "pt". --- 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 */