mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00:00
Merge #17257: gui: disable font antialiasing for QR image address
e156b9d8b974f57253306b693a03aa80322ebc6c 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 (693e40090ae7af52585ce1a6136a4bd56318fac7):  PR (e156b9d8b974f57253306b693a03aa80322ebc6c):  ACKs for top commit: laanwj: ACK e156b9d8b974f57253306b693a03aa80322ebc6c Tree-SHA512: 32aeb2ffe8164a1006f80e76c6e413fcb88e32ced42d2b2af69cca908bd32673f3e379184be917f1870864b940db943e7f46a7ecb0779343d5d129b381660c38
This commit is contained in:
commit
be50469217
@ -71,6 +71,7 @@ bool QRImageWidget::setQR(const QString& data, const QString& text)
|
||||
|
||||
if (!text.isEmpty()) {
|
||||
QFont font = GUIUtil::fixedPitchFont();
|
||||
font.setStyleStrategy(QFont::NoAntialias);
|
||||
QRect paddedRect = qrAddrImage.rect();
|
||||
|
||||
// calculate ideal font size
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user