Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
aiekick committed Mar 9, 2024
1 parent f96f05e commit 1c60987
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions DemoDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,16 +322,14 @@ void DemoDialog::init(const float& vFontSize) {

// Fonts
{
static const ImWchar icons_ranges_0[] = {0, ICON_MAX_RM, 0};
ImFontConfig icons_config_0;
icons_config_0.GlyphRanges = ImGui::GetIO().Fonts->GetGlyphRangesChineseFull();
// ImGui::GetIO().Fonts->AddFontDefault(&icons_config_0);
//ImGui::GetIO().Fonts->AddFontDefault(&icons_config_0);
}
{
static const ImWchar icons_ranges_1[] = {0, ICON_MAX_RM, 0};
ImFontConfig icons_config_1;
icons_config_1.GlyphRanges = ImGui::GetIO().Fonts->GetGlyphRangesChineseFull();
// ImGui::GetIO().Fonts->AddFontFromFileTTF("HanyiSentyPagodaRegular.ttf", vFontSize, &icons_config_1);
//ImGui::GetIO().Fonts->AddFontFromFileTTF("NotoSansSCRegular.ttf", vFontSize, &icons_config_1);
}
{ // Boboto Font
ImGui::GetIO().Fonts->AddFontFromMemoryCompressedBase85TTF(FONT_ICON_BUFFER_NAME_RM, vFontSize);
Expand Down
2 changes: 1 addition & 1 deletion ImGuiFileDialog

0 comments on commit 1c60987

Please sign in to comment.