From f1b5b8bad8dec7180711f06891daa4836f764138 Mon Sep 17 00:00:00 2001 From: Ramon Moraes Date: Sun, 16 Mar 2025 18:32:56 -0300 Subject: [PATCH] README.md - adds guide to fix lack of spacing on vscode I don't know if this happens to anyone else but if I don't explicitly set my "terminal.integrated.letterSpacing" to 1 the font will render like there is a zero (or a -1) on the spacing inside the VSCode terminal window. To fix it we just need to set the property "terminal.integrated.letterSpacing" to 1 and font will render properly. This commit adds a quick guide (with screenshots) about how to fix the issue described above. --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index d0b9fb0..3a4e6f3 100644 --- a/README.md +++ b/README.md @@ -156,6 +156,23 @@ will want to use CozetteVector there. In applications that do support bitmap fonts, you will want to use the normal, bitmap Cozette (unless it's too small for you, in which case, CozetteVector scales better). +#### VSCode Letter Spacing + +Sometimes the font might render without proper space betweening the characters (font size set to 13): + +![vscode-before-letterspacing](https://github.com/user-attachments/assets/a26eab50-a92e-4a9d-b72f-bbdfcd8b7be7) + +To fix this you need to set (in your settings): +- terminal.integrated.letterSpacing to 1 + +![vscode-settings-fix-incorrect-letterspacing](https://github.com/user-attachments/assets/1936c07a-f45b-4476-8d49-bd489ff9b9ae) + +After that your terminal should look like this (font size set to 13): + +![vscode-after-letterspacing](https://github.com/user-attachments/assets/dbd9e722-8503-45cd-aac3-c8fcc9fc2c1e) + +_Note: VSCode also provides the option editor.letterSpacing which adjusts the spacing for the file editor._ + #### Kitty **[4e554c4c](https://github.com/4e554c4c) made [an AUR package for `kitty` patched to support bitmap fonts](https://aur.archlinux.org/packages/kitty-bitmap/).**