1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-11-01 07:32:17 +00:00

Simplify the unholy overengineered mess of rasterization.

This commit is contained in:
Filippo Scognamiglio
2014-09-10 00:59:53 +02:00
parent 39bb5f5ee9
commit 639fd53a19
8 changed files with 161 additions and 150 deletions

View File

@@ -30,6 +30,7 @@ Item{
property var fontScalingList: [0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5]
property int pixelSize: _font.pixelSize * _scaling
property int lineSpacing: pixelSize * _font.lineSpacing
property real screenScaling: 1.0
//In this configuration lineSpacing is proportional to pixelSize.