mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 08:45:58 +08:00
Fix issue 85
This commit is contained in:
parent
e531df6dbb
commit
dd6dfb5567
@ -209,7 +209,7 @@ std::optional<wxFont> WxFontUtils::create_wxFont(const EmbossStyle &style)
|
|||||||
double point_size = static_cast<double>(fp.size_in_mm);
|
double point_size = static_cast<double>(fp.size_in_mm);
|
||||||
wxFontInfo info(point_size);
|
wxFontInfo info(point_size);
|
||||||
if (fp.family.has_value()) {
|
if (fp.family.has_value()) {
|
||||||
auto it = type_to_family.right.find(*fp.style);
|
auto it = type_to_family.right.find(*fp.family);
|
||||||
if (it != type_to_family.right.end()) info.Family(it->second);
|
if (it != type_to_family.right.end()) info.Family(it->second);
|
||||||
}
|
}
|
||||||
if (fp.face_name.has_value()) {
|
if (fp.face_name.has_value()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user