-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix visual quality of text in QR image #71
Conversation
Concept ACK |
f4016dd looks way better on macOS. Can you explain what fixed it? |
|
Looking for Concept (N)ACKs (plus comments if you have them) from designers cc @GBKS @Bosch-0 @johnsBeharry |
Concept ACK from me on fixing visual quality. I'll leave the font discussion to the designers. |
Concept ACK If #79 gets merged and we use an embedded mono font this should be used here. |
Both |
Would prefer to keep the font monospaced |
Concept ACK on fixing the visual quality. A monospace font would be nice, and also a narrow space every 4 characters (like in credit card numbers, some exploration here) for easier comparison, but all of that seems like a different issue. |
Mind sharing your system details? On your screenshots the address string does not even fit in the allocated space... |
Qt GUI 5.14.2 Preferred font https://luke.dashjr.org/education/tonal/glyphs/fonts/Console/ (Note that it is a bitmap font and only supports one size) |
This explains the string size issue. |
It may be best to not add the address to the qrcode image. |
Tested ACK 6954156 - tested on macOS 10.15. Fixes the problem. The font still remains non-HiDPI. The image seems to use a HiDPI resolution but the font isn't rendered in HiDPI. |
6954156 qt: Fix visual quality of text in QR image (Hennadii Stepanov) 8071c75 qt, refactor: Limit scope of QPainter object (Hennadii Stepanov) Pull request description: Master (197450f): ![DeepinScreenshot_select-area_20200824001800](https://user-images.githubusercontent.com/32963518/90988962-96283680-e59f-11ea-8e20-42e9b23033f5.png) This PR (6954156): - macOS 10.15.6 ![Screenshot from 2020-09-07 15-40-30](https://user-images.githubusercontent.com/32963518/92390251-2c716600-f123-11ea-96f0-0e9d35810c76.png) - Linux Mint 20 ![Screenshot from 2020-09-07 15-48-13](https://user-images.githubusercontent.com/32963518/92390272-36936480-f123-11ea-8fee-4de23bb40ed9.png) Fix #54 Fix bitcoin#19103 --- The first commit is easy to review with [`git diff --word-diff`](bitcoin-core/gui@8071c75?w=1). ACKs for top commit: jonasschnelli: Tested ACK 6954156 - tested on macOS 10.15. Fixes the problem. Tree-SHA512: 6ecb3397d2a5094c5f00ee05fc09520751568404e000a8691b6de7e57f38c2d5da628694e5e45a2b4cc302a846bbc00014c40820233eb026d3ebd4f68c2c9913
Master (197450f):
This PR (6954156):
macOS 10.15.6
Linux Mint 20
Fix #54
Fix bitcoin/bitcoin#19103
The first commit is easy to review with
git diff --word-diff
.