1
0
mirror of synced 2025-01-10 21:41:53 +01:00

impr: Replace Firacode with JetbrainsMono font

This commit is contained in:
WerWolv 2024-12-28 12:43:34 +01:00
parent 528a8b5b46
commit 50eea0a4f1
4 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
Copyright (c) 2014, The Fira Code Project Authors (https://github.com/tonsky/FiraCode)
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
https://scripts.sil.org/OFL
-----------------------------------------------------------

Binary file not shown.

View File

@ -322,7 +322,7 @@ namespace hex::fonts {
if (pixelPerfectFont)
defaultFont = fontAtlas.addDefaultFont();
else
defaultFont = fontAtlas.addFontFromRomFs("fonts/firacode.ttf", fontSize * 1.1, true, ImVec2());
defaultFont = fontAtlas.addFontFromRomFs("fonts/JetBrainsMono.ttf", 16, true, ImVec2());
if (!fontAtlas.build()) {
log::fatal("Failed to load default font!");