|
From: <ai...@us...> - 2011-07-06 04:50:43
|
Revision: 11796
http://plplot.svn.sourceforge.net/plplot/?rev=11796&view=rev
Author: airwin
Date: 2011-07-06 04:50:37 +0000 (Wed, 06 Jul 2011)
Log Message:
-----------
Bug fix. Restore currentFontScale default value that was
inadvertently removed by the last commit. This bug affected text for
a number of qt devices.
Modified Paths:
--------------
trunk/bindings/qt_gui/plqt.cpp
Modified: trunk/bindings/qt_gui/plqt.cpp
===================================================================
--- trunk/bindings/qt_gui/plqt.cpp 2011-07-06 02:28:50 UTC (rev 11795)
+++ trunk/bindings/qt_gui/plqt.cpp 2011-07-06 04:50:37 UTC (rev 11796)
@@ -229,9 +229,10 @@
// have the same character size as cairo results (taking into account
// the slightly different actual glyph sizes for the different
// default fonts found by cairo and qt).
- currentFontSize = chrht * POINTS_PER_INCH / 25.4 * 1.45;
- underlined = false;
- overlined = false;
+ currentFontSize = chrht * POINTS_PER_INCH / 25.4 * 1.45;
+ currentFontScale = 1.;
+ underlined = false;
+ overlined = false;
p.setFont( getFont( fci ) );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|