mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Use Cousine-Regular as monospaced font.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "../../server/TracyVersion.hpp"
|
||||
|
||||
#include "Arimo.hpp"
|
||||
#include "Cousine.hpp"
|
||||
#include "FontAwesomeSolid.hpp"
|
||||
|
||||
static void glfw_error_callback(int error, const char* description)
|
||||
@@ -124,7 +125,7 @@ int main( int argc, char** argv )
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.Fonts->AddFontFromMemoryCompressedTTF( tracy::Arimo_compressed_data, tracy::Arimo_compressed_size, 15.0f * dpiScale, nullptr, rangesBasic );
|
||||
io.Fonts->AddFontFromMemoryCompressedTTF( tracy::FontAwesomeSolid_compressed_data, tracy::FontAwesomeSolid_compressed_size, 14.0f * dpiScale, &configMerge, rangesIcons );
|
||||
auto fixedWidth = io.Fonts->AddFontDefault();
|
||||
auto fixedWidth = io.Fonts->AddFontFromMemoryCompressedTTF( tracy::Cousine_compressed_data, tracy::Cousine_compressed_size, 15.0f * dpiScale );
|
||||
|
||||
ImGui::StyleColorsDark();
|
||||
auto& style = ImGui::GetStyle();
|
||||
|
||||
Reference in New Issue
Block a user