Skip to content
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

Use Consolas on Windows for PasswordEdit #1229

Merged
merged 1 commit into from
Nov 26, 2017

Conversation

phoerious
Copy link
Member

Resolves #1226

Description

The default monospace font on Windows is Courier New, which has a few very similar characters. This PR tries to use Consolas instead when KeePassXC is compiled for Windows. Other platforms are unchanged.

Motivation and context

Courier New has very similar characters, e.g. I (lowercase L) and 1, which was a problem for the PasswordEdit field.

How has this been tested?

Compiled on Windows, correct Consolars font is shown.

Types of changes

  • ✅ Bug fix (non-breaking change which fixes an issue)

Checklist:

  • ✅ I have read the CONTRIBUTING document. [REQUIRED]
  • ✅ My code follows the code style of this project. [REQUIRED]
  • ✅ All new and existing tests passed. [REQUIRED]
  • ✅ I have compiled and verified my code with -DWITH_ASAN=ON. [REQUIRED]

@phoerious phoerious added this to the v2.2.3 milestone Nov 26, 2017
@phoerious phoerious requested a review from a team November 26, 2017 16:12
@phoerious phoerious merged commit 8905fe5 into release/2.2.3 Nov 26, 2017
@phoerious phoerious deleted the hotfix/1226-windows-monospace-font branch November 26, 2017 16:53
droidmonkey added a commit that referenced this pull request Dec 12, 2017
- Prevent database corruption when locked [#1219]
- Fixes apply button not saving new entries [#1141]
- Switch to Consolas font on Windows for password edit [#1229]
- Multiple fixes to AppImage deployment [#1115, #1228]
- Fixes multiple memory leaks [#1213]
- Resize message close to 16x16 pixels [#1253]
phoerious added a commit that referenced this pull request Dec 13, 2017
- Prevent database corruption when locked [#1219]
- Fixes apply button not saving new entries [#1141]
- Switch to Consolas font on Windows for password edit [#1229]
- Multiple fixes to AppImage deployment [#1115, #1228]
- Fixes multiple memory leaks [#1213]
- Resize message close to 16x16 pixels [#1253]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants