Render text with FreeType instead of SDL_ttf

SDL_ttf's synthetic bold is too thick. This change involves implementing
a custom bolding algorithm that looks close to the one used by Windows
GDI.
This commit is contained in:
kichikuou
2026-09-05 16:24:48 +09:00
parent bc8b52cb4a
commit 1b6cba2cc1
10 changed files with 250 additions and 124 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
- name: Install Deps
run: |
sudo apt update
sudo apt install libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libwebp-dev libportmidi-dev libcjson-dev asciidoctor gettext
sudo apt install libsdl2-dev libfreetype-dev libsdl2-mixer-dev libwebp-dev libportmidi-dev libcjson-dev asciidoctor gettext
- name: Build
run: |