FIX:romove font style preview
Change-Id: I1e8f2ffd94db967f17fa561fd5c56a20f718631b
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user