Skip to content

Commit

Permalink
Small tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed May 12, 2024
1 parent 7c73a8a commit b939e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svg.go
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ func (svg *svgParser) getFontFace() *FontFace {
}
svg.fonts[svg.state.fontFamily] = fontFamily
}
fontSize := svg.state.fontSize * 72.0 / 25.4 // pt/mm
fontSize := svg.state.fontSize * ptPerMm
return fontFamily.Face(fontSize, svg.ctx.Style.Fill.Color)
}

Expand Down

0 comments on commit b939e6d

Please sign in to comment.