diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-26 20:13:07 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-26 20:13:07 +0100 |
| commit | 76b6485a33094b40e8f833c32dc84457055062ec (patch) | |
| tree | 667bffc5d38a800204656931ca3693ed3e801016 /src/bones.cpp | |
| parent | Bones: head fallback for headcrab black/fast (diff) | |
| download | hl2h-76b6485a33094b40e8f833c32dc84457055062ec.tar.gz hl2h-76b6485a33094b40e8f833c32dc84457055062ec.zip | |
Fonts: bundle Liberation Sans and register it with fontconfig
- ship assets/LiberationSans-Regular.ttf (+ OFL license/README)
- at startup, resolve the .so path via dladdr, add assets/...ttf to the
current fontconfig config with FcConfigAppFontAddFile, and fall back to
the system Liberation path if the asset is missing
- font creation tries Liberation Sans, then DejaVu Sans/Noto/Tahoma/Verdana/
Arial, so the overlay still renders on installs without the bundled font
Diffstat (limited to 'src/bones.cpp')
0 files changed, 0 insertions, 0 deletions
