Mercurial > octave-dspies
comparison libgui/qterminal/libqterminal/unix/TerminalView.cpp @ 18670:8b566ad1f88a gui-release
maint: Periodic merge of stable to gui-release.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 24 Apr 2014 08:40:40 -0700 |
parents | 992b6354c8c6 5fb180e37d7c |
children | 78fac67300e8 c59745865c7f |
comparison
equal
deleted
inserted
replaced
18665:777281eeb3d4 | 18670:8b566ad1f88a |
---|---|
209 | 209 |
210 // experimental optimization. Konsole assumes that the terminal is using a | 210 // experimental optimization. Konsole assumes that the terminal is using a |
211 // mono-spaced font, in which case kerning information should have an effect. | 211 // mono-spaced font, in which case kerning information should have an effect. |
212 // Disabling kerning saves some computation when rendering text. | 212 // Disabling kerning saves some computation when rendering text. |
213 // font.setKerning(false); | 213 // font.setKerning(false); |
214 | |
215 font.setStyleStrategy ( QFont::StyleStrategy(font.styleStrategy() | |
216 | QFont::ForceIntegerMetrics) ); | |
214 | 217 |
215 QWidget::setFont(font); | 218 QWidget::setFont(font); |
216 fontChange(font); | 219 fontChange(font); |
217 } | 220 } |
218 } | 221 } |