mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
[Emboss] Fix issue that font search not working on macOS (#12531)
Fix issue that font search not working on macOS
This commit is contained in:
@@ -3401,8 +3401,11 @@ bool load(Facenames &facenames) {
|
|||||||
|
|
||||||
facenames.hash = data.hash;
|
facenames.hash = data.hash;
|
||||||
facenames.faces.reserve(data.good.size());
|
facenames.faces.reserve(data.good.size());
|
||||||
for (const wxString &face : data.good)
|
facenames.faces_names.reserve(data.good.size());
|
||||||
|
for (const wxString &face : data.good) {
|
||||||
facenames.faces.push_back({face});
|
facenames.faces.push_back({face});
|
||||||
|
facenames.faces_names.push_back(face.utf8_string());
|
||||||
|
}
|
||||||
facenames.bad = data.bad;
|
facenames.bad = data.bad;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user