mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 06:06:01 +08:00
Fix for non windows build
This commit is contained in:
parent
cbd0a27f13
commit
b7d136d205
@ -371,7 +371,7 @@ FontList Emboss::get_font_list_by_folder() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
Emboss::FontList Emboss::get_font_list() {
|
FontList Emboss::get_font_list() {
|
||||||
// not implemented
|
// not implemented
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
@ -477,7 +477,6 @@ std::optional<Emboss::Glyph> Emboss::letter2glyph(const Font &font,
|
|||||||
{
|
{
|
||||||
auto font_info_opt = Privat::load_font_info(font);
|
auto font_info_opt = Privat::load_font_info(font);
|
||||||
if (!font_info_opt.has_value()) return {};
|
if (!font_info_opt.has_value()) return {};
|
||||||
stbtt_fontinfo *font_info = &(*font_info_opt);
|
|
||||||
return Privat::get_glyph(*font_info_opt, (int) letter, flatness);
|
return Privat::get_glyph(*font_info_opt, (int) letter, flatness);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user