By default, the monospaced font on Windows is Courier New which isn't 
exactly the nicest font for development because of the serifs (plus it is 
rendered extremely thin on HiDPI displays). I expect that the first thing 
everyone has to do on Windows is to change this font to something else.

Since Windows Vista, Microsoft seems to ship a "modern" sans-serif 
monospaced font called Consolas which looks as a much better font for coding.

The rest of the patch just moves existing font configuration for other 
platforms under a single ifdef/elif/else.

For more information about Courier New and Consolas, see

https://learn.microsoft.com/en-us/typography/font-list/consolas
https://learn.microsoft.com/en-us/typography/font-list/courier-new

This is how Courier New looks on a HiDPI machine with the default Geany 
configuration:
![Screenshot 2025-06-09 at 22 31 
11](https://github.com/user-attachments/assets/1a4d2e95-1ce5-4ee3-8802-2867a4b339ea)

The same with Consolas:
![Screenshot 2025-06-09 at 22 32 
37](https://github.com/user-attachments/assets/57cb014d-788d-4d07-9ea5-0b852b797ce2)

Am I right to assume that supporting Windows Vista is enough? Geany requires a 
64bit system on Windows and even though there is some Windows XP version 
supporting it, it was never mainstream and maybe Geany doesn't even support 
it.

You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/4326

-- Commit Summary --

  * Use Consolas as the default font on Windows

-- File Changes --

    M src/keyfile.c (18)

-- Patch Links --

https://github.com/geany/geany/pull/4326.patch
https://github.com/geany/geany/pull/4326.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4326
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/[email protected]>

Reply via email to