A *lot* of import fixes for flatpak (#3909)

* A *lot* of import fixes for flatpak

Aside, thank you @hadess for the majority of these fixes. You are the
base point for a lot of issues fixed during the creation of this
flatpak.

* Use slic3r::load_string_file

Boost 1.84 removed `boost::fs::load_string_file` so use the func located
in Utils.hpp
This commit is contained in:
Aidan 2024-01-31 05:23:29 -06:00 committed by GitHub
parent 4110ecc968
commit 951fc8e98a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
114 changed files with 214 additions and 45 deletions

View file

@ -28,6 +28,8 @@
#include "BRepPrimAPI_MakePrism.hxx"
#include "Font_FontMgr.hxx"
#include <boost/log/trivial.hpp>
namespace Slic3r {
static std::map<std::string, std::string> g_occt_fonts_maps; //map<font_name, font_path>

View file

@ -1,6 +1,8 @@
#ifndef slic3r_Text_Shape_hpp_
#define slic3r_Text_Shape_hpp_
#include "libslic3r/TriangleMesh.hpp"
namespace Slic3r {
class TriangleMesh;
@ -17,4 +19,4 @@ std::map<std::string, std::string> get_occt_fonts_maps();
}; // namespace Slic3r
#endif // slic3r_Text_Shape_hpp_
#endif // slic3r_Text_Shape_hpp_