Fix for non windows build
This commit is contained in:
parent
cbd0a27f13
commit
b7d136d205
1 changed files with 3 additions and 4 deletions
|
@ -371,7 +371,7 @@ FontList Emboss::get_font_list_by_folder() {
|
|||
}
|
||||
|
||||
#else
|
||||
Emboss::FontList Emboss::get_font_list() {
|
||||
FontList Emboss::get_font_list() {
|
||||
// not implemented
|
||||
return {};
|
||||
}
|
||||
|
@ -477,7 +477,6 @@ std::optional<Emboss::Glyph> Emboss::letter2glyph(const Font &font,
|
|||
{
|
||||
auto font_info_opt = Privat::load_font_info(font);
|
||||
if (!font_info_opt.has_value()) return {};
|
||||
stbtt_fontinfo *font_info = &(*font_info_opt);
|
||||
return Privat::get_glyph(*font_info_opt, (int) letter, flatness);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue