spv-css-parser: The font-size is really "px" even though it says "pt".
[pspp] / src / output / spv / spv-css-parser.c
index c3a7118ccc9c84a393254f94696092a957970145..19b0b4715fa7c4d538f5f9d82a87bc750a1542cd 100644 (file)
@@ -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 */