projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd388a7
)
spv-css-parser: The font-size is really "px" even though it says "pt".
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 29 Dec 2020 18:46:16 +0000
(10:46 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 29 Dec 2020 18:49:07 +0000
(10:49 -0800)
src/output/spv/spv-css-parser.c
patch
|
blob
|
history
diff --git
a/src/output/spv/spv-css-parser.c
b/src/output/spv/spv-css-parser.c
index c3a7118ccc9c84a393254f94696092a957970145..19b0b4715fa7c4d538f5f9d82a87bc750a1542cd 100644
(file)
--- 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 */