Skip to content

Commit

Permalink
Merge pull request #71 from times/feature/fontWeightSupport
Browse files Browse the repository at this point in the history
Update rvg.js to 1.1.0
  • Loading branch information
Chris Hutchinson committed Dec 13, 2016
2 parents 54dc58b + 469309c commit 98a1a62
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/configurations/sample.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "cardkit",
"version": "2.0.4",
"version": "2.0.5",
"description": "A simple, powerful and fully configurable image editor for web browsers and servers. Optional UI included.",
"main": "cardkit.js",
"homepage": "https://times.github.io/cardkit",
Expand Down Expand Up @@ -67,7 +67,7 @@
"react": "^15.3.2",
"react-color": "^2.3.2",
"react-dom": "^15.3.2",
"rvg.js": "^1.0.5",
"rvg.js": "^1.1.0",
"svg2png": "4.0.0"
}
}
1 change: 1 addition & 0 deletions src/renderers/shared/Card.js
Expand Up @@ -153,6 +153,7 @@ class Card extends React.Component {
y={this.calculateYPosition(layers, layerData)}
fontFamily={layerData.fontFamily}
fontSize={layerData.fontSize}
fontWeight={layerData.fontWeight}
lineHeight={layerData.lineHeight}
textAnchor={layerData.textAnchor}
fill={layerData.fill}
Expand Down

0 comments on commit 98a1a62

Please sign in to comment.