Skip to content
Permalink
Browse files
rechange the basic resolution
  • Loading branch information
olivierdalang committed Feb 6, 2013
1 parent 61f044e commit c5ea64eec58143bf7a3cdf21e05d21c37b644ce9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/composer/qgscomposerlabel.cpp
@@ -107,7 +107,7 @@ double QgsComposerLabel::htmlUnitsToMM()
}

//TODO : fix this more precisely so that the label's default text size is the same with or without "display as html"
return ( mComposition->printResolution() / 96.0 ); //webkit seems to assume a standard dpi of 96
return ( mComposition->printResolution() / 72.0 ); //webkit seems to assume a standard dpi of 72
}

void QgsComposerLabel::setText( const QString& text )

0 comments on commit c5ea64e

Please sign in to comment.