Skip to content
Permalink
Browse files
rechange the basic resolution
  • Loading branch information
olivierdalang committed Feb 6, 2013
1 parent 61f044e commit c5ea64e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.