Change test to use font from resources
This commit is contained in:
parent
2a62881c39
commit
a000d12361
Binary file not shown.
@ -126,7 +126,8 @@ TEST_CASE("Emboss text - Times MacOs", "[Emboss]") {
|
|||||||
#include <libslic3r/Utils.hpp>
|
#include <libslic3r/Utils.hpp>
|
||||||
TEST_CASE("Emboss text", "[Emboss]")
|
TEST_CASE("Emboss text", "[Emboss]")
|
||||||
{
|
{
|
||||||
std::string font_path = std::string(TEST_DATA_DIR) + "/fonts/NotoSans-Regular.ttf";
|
std::string resource_dir = std::string(TEST_DATA_DIR) + "/../../resources/";
|
||||||
|
std::string font_path = resource_dir + "fonts/NotoSans-Regular.ttf";
|
||||||
char letter = '%';
|
char letter = '%';
|
||||||
float flatness = 2.;
|
float flatness = 2.;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user