File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ var defaults = {
5959 svg : false , // return svg output?
6060 mathoidStyle : false , // return mathoidStyle tag for remote image?
6161 png : false , // return png image (as data: URL)?
62- dpi : 144 , // dpi for png image
62+ dpi : 180 , // dpi for png image
6363
6464 speakText : false , // add spoken annotations to svg output?
6565 speakRuleset : "mathspeak" , // set speech ruleset (default (chromevox rules), mathspeak)
@@ -507,7 +507,7 @@ function GetSVG(result) {
507507//
508508function GetPNG ( result ) {
509509 var s = new Readable ( ) ;
510- var pngScale = 2 ;
510+ var pngScale = data . dpi / 90 ; // 90 DPI is the effective setting used by librsvg
511511 var svgFile = result . svgfile ; result . svgfile = undefined ;
512512 var width = result . width ; result . width = undefined ;
513513 var height = result . height ; result . height = undefined ;
Original file line number Diff line number Diff line change 11{
22 "name" : " mathoid-mathjax-node" ,
3- "version" : " 0.6.3 " ,
3+ "version" : " 0.6.4 " ,
44 "description" : " API's for calling MathJax from node.js" ,
55 "keywords" : [
66 " MathJax" ,
You can’t perform that action at this time.
0 commit comments