mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Replace Cousine fixed-width font with Fira Code Retina.
This commit is contained in:
parent
fdadb9cb63
commit
10e680e601
@ -278,6 +278,7 @@
|
||||
<ClInclude Include="..\..\..\zstd\zstd_errors.h" />
|
||||
<ClInclude Include="..\..\src\Arimo.hpp" />
|
||||
<ClInclude Include="..\..\src\Cousine.hpp" />
|
||||
<ClInclude Include="..\..\src\FiraCodeRetina.hpp" />
|
||||
<ClInclude Include="..\..\src\FontAwesomeSolid.hpp" />
|
||||
<ClInclude Include="..\..\src\HttpRequest.hpp" />
|
||||
<ClInclude Include="..\..\src\icon.hpp" />
|
||||
|
@ -575,6 +575,9 @@
|
||||
<ClInclude Include="..\..\src\imgui_impl_opengl3_loader.h">
|
||||
<Filter>src</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\FiraCodeRetina.hpp">
|
||||
<Filter>src</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Natvis Include="DebugVis.natvis" />
|
||||
|
File diff suppressed because it is too large
Load Diff
3995
profiler/src/FiraCodeRetina.hpp
Normal file
3995
profiler/src/FiraCodeRetina.hpp
Normal file
File diff suppressed because it is too large
Load Diff
@ -49,7 +49,7 @@
|
||||
|
||||
#include "misc/freetype/imgui_freetype.h"
|
||||
#include "Arimo.hpp"
|
||||
#include "Cousine.hpp"
|
||||
#include "FiraCodeRetina.hpp"
|
||||
#include "FontAwesomeSolid.hpp"
|
||||
#include "icon.hpp"
|
||||
#include "ResolvService.hpp"
|
||||
@ -169,7 +169,7 @@ static void LoadFonts( float scale, ImFont*& cb_fixedWidth, ImFont*& cb_bigFont,
|
||||
io.Fonts->Clear();
|
||||
io.Fonts->AddFontFromMemoryCompressedTTF( tracy::Arimo_compressed_data, tracy::Arimo_compressed_size, 15.0f * scale, &configBasic, rangesBasic );
|
||||
io.Fonts->AddFontFromMemoryCompressedTTF( tracy::FontAwesomeSolid_compressed_data, tracy::FontAwesomeSolid_compressed_size, 14.0f * scale, &configMerge, rangesIcons );
|
||||
fixedWidth = cb_fixedWidth = io.Fonts->AddFontFromMemoryCompressedTTF( tracy::Cousine_compressed_data, tracy::Cousine_compressed_size, 14.0f * scale, &configBasic );
|
||||
fixedWidth = cb_fixedWidth = io.Fonts->AddFontFromMemoryCompressedTTF( tracy::FiraCodeRetina_compressed_data, tracy::FiraCodeRetina_compressed_size, 15.0f * scale, &configBasic );
|
||||
bigFont = cb_bigFont = io.Fonts->AddFontFromMemoryCompressedTTF( tracy::Arimo_compressed_data, tracy::Arimo_compressed_size, 20.0f * scale, &configBasic );
|
||||
io.Fonts->AddFontFromMemoryCompressedTTF( tracy::FontAwesomeSolid_compressed_data, tracy::FontAwesomeSolid_compressed_size, 19.0f * scale, &configMerge, rangesIcons );
|
||||
smallFont = cb_smallFont = io.Fonts->AddFontFromMemoryCompressedTTF( tracy::Arimo_compressed_data, tracy::Arimo_compressed_size, 10.0f * scale, &configBasic );
|
||||
|
Loading…
Reference in New Issue
Block a user