stefankueng / BowPad

A simple and fast text editor with a ribbon UI
http://tools.stefankueng.com/BowPad.html
GNU General Public License v3.0
593 stars 84 forks source link

tab size and monospace font problems #384

Open stefankueng opened 5 days ago

stefankueng commented 5 days ago

from #376: Some monospaced fonts seem to have an issue with spaces (and it seems line height too). Spaces don't seem to count as a single font space, but less. Example below...

TAB size doesn't seem to work properly in some cases. I use a filetype .mnx to create README files for software I use, with things like how to extract and install portable software, how to update, the author URL and information, etc.. But the tab size is always 8 when I open those files, even tho in the ribbon indicates a size of 4.. This is fixed by setting the size to 3 and then back to 4, but this has to be done every time a file is open.

Font: Consolas | Tab size: 4 2024-06-08 08 56 07

Font: Consolas | Tab size: 4 (after setting the size to 3 and then back to 4) 2024-06-08 08 56 26

Font: Consolas NF3 (This is the same "Consolas" font patched with Nerd Fonts Patcher) 2024-06-08 08 56 44

Font: Consolas NF3 (This is how it looks in EditPlus) 2024-06-08 08 57 08

Font: Consolas NF3 (This is how it looks in Visual Studio Code) 2024-06-08 09 02 20

mdnava commented 5 days ago

I attach the Windows font Consolas and the patched font Consolas NF3 in case they're of use..

Consolas.zip