Navigation Menu

Skip to content

Commit

Permalink
rechange the basic resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierdalang committed Feb 6, 2013
1 parent 61f044e commit c5ea64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerlabel.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit c5ea64e

Please sign in to comment.