|
|
@ -76,7 +76,7 @@ var parseFont = exports.parseFont = function(str){ |
|
|
|
font.style = captures[2] || 'normal'; |
|
|
|
font.size = parseFloat(captures[3]); |
|
|
|
font.unit = captures[4]; |
|
|
|
font.family = captures[5]; |
|
|
|
font.family = captures[5].replace(/^["']|["']$/g, ''); |
|
|
|
|
|
|
|
// TODO: dpi
|
|
|
|
// TODO: remaining unit conversion
|
|
|
|