gui: disable font antialiasing for QR image address - #17257
Conversation
More info available here: https://doc.qt.io/qt-5/qfont.html#StyleStrategy-enum
|
That sounds like a platform bug? Would rather not disable antialias (an improvement) because of some platforms doing it wrong... |
I didn't mention a specific platform in the PR description, because disabling has been an improvement on all the platforms I tested. Can you show me where it's a regression in readability? |
|
ACK e156b9d Readability takes precedence here over a debatable "improvement" in rendering. On the longer term someone could figure out the cause, and come up with a better patch, but at least this trivial change we can still sneak into 0.19.0. FWIW this looks is a bitmap font, which really don't lend themselves to anti-aliasing, only vector fonts do. |
|
ACK |
|
Gitian builds for commit 25d7e2e (master):
Gitian builds for commit 7499c796fb447a9de846252a7fa336c684ace90b (master and this pull):
|
e156b9d gui: disable font antialiasing for QR image address (fanquake) Pull request description: The address text inside the QR code is currently fairly blurry / unreadable. Explicitly disabling font antialiasing improves that somewhat. master (693e400):  PR (e156b9d):  ACKs for top commit: laanwj: ACK e156b9d Tree-SHA512: 32aeb2ffe8164a1006f80e76c6e413fcb88e32ced42d2b2af69cca908bd32673f3e379184be917f1870864b940db943e7f46a7ecb0779343d5d129b381660c38
More info available here: https://doc.qt.io/qt-5/qfont.html#StyleStrategy-enum Github-Pull: #17257 Rebased-From: e156b9d Tree-SHA512: 6e36d626215d5e66796bd3935037eef89ae810e4855e321f9f37b90c3be0b61de21cd655f23bc6a29f41038b5179d92578ab19ab89ccd525d9389ab868456827
|
ACK eb5a899. |
More info available here: https://doc.qt.io/qt-5/qfont.html#StyleStrategy-enum Github-Pull: bitcoin#17257 Rebased-From: e156b9d Tree-SHA512: 6e36d626215d5e66796bd3935037eef89ae810e4855e321f9f37b90c3be0b61de21cd655f23bc6a29f41038b5179d92578ab19ab89ccd525d9389ab868456827
|
Reverting suggested in bitcoin-core/gui#71 |

The address text inside the QR code is currently fairly blurry / unreadable. Explicitly disabling font antialiasing improves that somewhat.
master (693e400):

PR (e156b9d):
