[Kst] extragear/graphics/kst/kst
Barth Netterfield
netterfield at astro.utoronto.ca
Thu Oct 20 14:48:55 CEST 2005
SVN commit 472315 by netterfield:
reset font sizes on draw if we are using resolution enhancement.
M +11 -0 kst2dplot.cpp
--- trunk/extragear/graphics/kst/kst/kst2dplot.cpp #472314:472315
@@ -2331,6 +2331,17 @@
x_px = p.window().width();
y_px = p.window().height();
+ if (resolutionEnhancement>1) {
+ // if we have boosted resolution for printing, reset the font sizes....
+ _xLabel->updateAbsFontSize(x_px, y_px);
+ _yLabel->updateAbsFontSize(x_px, y_px);
+ _topLabel->updateAbsFontSize(x_px, y_px);
+ _xTickLabel->updateAbsFontSize(x_px, y_px);
+ _yTickLabel->updateAbsFontSize(x_px, y_px);
+ _fullTickLabel->updateAbsFontSize(x_px, y_px);
+ }
+
+
if (type != P_PRINT && type != P_EXPORT) {
updateScale();
}
More information about the Kst
mailing list