impr: Replace Firacode with JetbrainsMono font
This commit is contained in:
parent
528a8b5b46
commit
50eea0a4f1
@ -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 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:
|
This license is copied below, and is also available with a FAQ at:
|
||||||
http://scripts.sil.org/OFL
|
https://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
BIN
plugins/fonts/romfs/fonts/JetBrainsMono.ttf
Normal file
BIN
plugins/fonts/romfs/fonts/JetBrainsMono.ttf
Normal file
Binary file not shown.
Binary file not shown.
@ -322,7 +322,7 @@ namespace hex::fonts {
|
|||||||
if (pixelPerfectFont)
|
if (pixelPerfectFont)
|
||||||
defaultFont = fontAtlas.addDefaultFont();
|
defaultFont = fontAtlas.addDefaultFont();
|
||||||
else
|
else
|
||||||
defaultFont = fontAtlas.addFontFromRomFs("fonts/firacode.ttf", fontSize * 1.1, true, ImVec2());
|
defaultFont = fontAtlas.addFontFromRomFs("fonts/JetBrainsMono.ttf", 16, true, ImVec2());
|
||||||
|
|
||||||
if (!fontAtlas.build()) {
|
if (!fontAtlas.build()) {
|
||||||
log::fatal("Failed to load default font!");
|
log::fatal("Failed to load default font!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user