mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX: imgui font display (STUDIO-2786)
Change-Id: Ie99262b6f0fe859c52becc344c0c9369d47d0f04 (cherry picked from commit e0073704189483f98a3d51d28bee0bf8b51a8742)
This commit is contained in:
parent
d3b722c12d
commit
70bbaa4337
1 changed files with 1 additions and 0 deletions
|
@ -2067,6 +2067,7 @@ void ImGuiWrapper::init_font(bool compress)
|
|||
ImVector<ImWchar> basic_ranges;
|
||||
ImFontAtlas::GlyphRangesBuilder builder;
|
||||
builder.AddRanges(m_glyph_ranges);
|
||||
builder.AddRanges(ImGui::GetIO().Fonts->GetGlyphRangesDefault());
|
||||
#ifdef __APPLE__
|
||||
if (m_font_cjk)
|
||||
// Apple keyboard shortcuts are only contained in the CJK fonts.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue