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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user