svg-flatten: Add forwarding logic for usvg font options

This commit is contained in:
jaseg 2021-09-30 20:37:32 +02:00
parent bc54e8233f
commit 2616cf46ff
5 changed files with 106 additions and 35 deletions

View file

@ -159,7 +159,7 @@ MU_TEST(test_complex_example_from_paper) {
}
int render_svg(const char *in_svg, const char *out_png) {
const char *command_line[] = {nullptr, in_svg, out_png, nullptr};
vector<string> command_line = {in_svg, out_png};
return run_cargo_command("resvg", command_line, "RESVG");
}