Different font type by OS

Connect size with wxFont
This commit is contained in:
Filip Sykala 2021-10-26 18:56:19 +02:00
parent ae5f594e1e
commit 706d963f7f
5 changed files with 238 additions and 118 deletions
src/libslic3r

View file

@ -134,7 +134,8 @@ std::optional<Emboss::Glyph> Private::get_glyph(
FontItem Private::create_font_item(std::wstring name, std::wstring path) {
return FontItem(boost::nowide::narrow(name.c_str()),
boost::nowide::narrow(path.c_str()));
boost::nowide::narrow(path.c_str()),
FontItem::Type::file_path);
}
ExPolygons Private::dilate_to_unique_points(ExPolygons &expolygons)