1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-09-24 06:02:42 +01:00

Reorganized rasterization. Now everything is independent.

This commit is contained in:
Filippo Scognamiglio
2014-06-23 16:25:41 +02:00
parent 69843f3ef8
commit 1693e51d89
8 changed files with 253 additions and 163 deletions

View File

@@ -416,6 +416,9 @@ void KTerminalDisplay::setVTFont(const QFont& f)
// Disabling kerning saves some computation when rendering text.
font.setKerning(false);
// Konsole cannot handle non-integer font metrics
font.setStyleStrategy(QFont::StyleStrategy(font.styleStrategy() | QFont::ForceIntegerMetrics));
//QWidget::setFont(font);
m_font = font;
fontChange(font);