Implement support for em in dx and dy attributes and font props for G element

This commit is contained in:
Mikael Sand
2017-06-20 03:15:01 +03:00
parent b094bc80f0
commit 155fa4b6ae
6 changed files with 117 additions and 64 deletions

View File

@@ -74,7 +74,12 @@ const RenderableAttributes = {
...FillAndStrokeAttributes
};
const GroupAttributes = RenderableAttributes;
const GroupAttributes = {
font: {
diff: fontDiffer
},
...RenderableAttributes
};
const UseAttributes = {
href: true,