Use 18 instead of 14 when the font size is missing

This commit is contained in:
DD 2018-08-16 14:30:29 -04:00
parent 5f15b961a0
commit 58095a50c8

View file

@ -128,7 +128,7 @@ class SvgRenderer {
textElement.setAttribute('alignment-baseline', 'text-before-edge');
// If there's no font size provided, provide one.
if (!textElement.getAttribute('font-size')) {
textElement.setAttribute('font-size', '14');
textElement.setAttribute('font-size', '18');
}
// If there's no font-family provided, provide one.
if (!textElement.getAttribute('font-family')) {