Skip to content

Commit 80d9416

Browse files
authored
Improve rendering of large values in ValueEditor (#3675)
Fix issues: #3641, #3625 Partially fix: #3599
1 parent a686e60 commit 80d9416

20 files changed

+128
-23
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ int main(int argc, char *argv[])
2828
QApplication::setOrganizationDomain("redisdesktop.com");
2929
QApplication::setOrganizationName("redisdesktop");
3030

31-
QFontDatabase::addApplicationFont("://fonts/OpenSans-Regular.ttf");
31+
QFontDatabase::addApplicationFont("://fonts/OpenSans.ttc");
3232
QFont defaultFont("OpenSans", 10);
3333
QApplication::setFont(defaultFont);
3434

src/rdm.pro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ win32 {
6060
CONFIG += c++11
6161
RC_FILE += $$PWD/resources/rdm.rc
6262

63+
win32-msvc* {
64+
QMAKE_LFLAGS += /LARGEADDRESSAWARE
65+
}
66+
6367
release: DESTDIR = ./../bin/windows/release
6468
debug: DESTDIR = ./../bin/windows/debug
6569
}

src/resources/fonts.qrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<RCC>
22
<qresource prefix="/">
3-
<file>fonts/OpenSans-Regular.ttf</file>
3+
<file>fonts/OpenSans.ttc</file>
4+
<file>fonts/Inconsolata-Regular.ttf</file>
45
</qresource>
56
</RCC>
78.6 KB
Binary file not shown.
-219 KB
Binary file not shown.
-208 KB
Binary file not shown.
-217 KB
Binary file not shown.
-208 KB
Binary file not shown.
-208 KB
Binary file not shown.
-217 KB
Binary file not shown.

0 commit comments

Comments
 (0)