mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-19 06:41:14 -06:00
FIX:romove font style preview
Change-Id: I1e8f2ffd94db967f17fa561fd5c56a20f718631b
This commit is contained in:
parent
4ea3d16fcc
commit
1da9bfcc13
5 changed files with 76 additions and 75 deletions
|
@ -84,11 +84,14 @@ std::vector<std::string> init_occt_fonts()
|
|||
file_type.LowerCase();
|
||||
if (file_type == "ttf" || file_type == "otf" || file_type == "ttc") {
|
||||
g_occt_fonts_maps.insert(std::make_pair(afn->ToCString(), decode_path(font_path.ToCString())));
|
||||
stdFontNames.push_back(afn->ToCString());
|
||||
}
|
||||
}
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(info) << "init_occt_fonts end";
|
||||
// in order
|
||||
for (auto occt_font : g_occt_fonts_maps) {
|
||||
stdFontNames.push_back(occt_font.first);
|
||||
}
|
||||
return stdFontNames;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue