mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
There is no font attribute on Path#style.
This commit is contained in:
parent
6211bc7ed6
commit
4c93ce546a
1 changed files with 0 additions and 3 deletions
|
@ -147,9 +147,6 @@ var SvgExporter = this.SvgExporter = new function() {
|
|||
svg = createElement('text');
|
||||
svg.setAttribute('x', path.getPoint().getX());
|
||||
svg.setAttribute('y', path.getPoint().getY());
|
||||
if (path.style.font != undefined) {
|
||||
svg.setAttribute('font', path.style.font);
|
||||
}
|
||||
if (path.characterStyle.font != undefined) {
|
||||
svg.setAttribute('font-family', path.characterStyle.font);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue