disabled font upscaling, works better with low dpi

This commit is contained in:
Turánszki János
2023-04-12 08:56:56 +02:00
parent ebbf64b63f
commit 492f78c6fd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ namespace wi::font
constexpr int heightfromhash(int32_t hash) { return int((hash >> 0) & 0x3FF); }
static wi::unordered_set<int32_t> pendingGlyphs;
static wi::SpinLock glyphLock;
static const float upscaling = 2;
static const float upscaling = 1;
static const float upscaling_rcp = 1.0f / upscaling;
struct ParseStatus
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wi::version
// minor features, major updates, breaking compatibility changes
const int minor = 71;
// minor bug fixes, alterations, refactors, updates
const int revision = 192;
const int revision = 193;
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);