freetype: fix incorrect font path in embedFile (#636)
This commit is contained in:
parent
e832784e6b
commit
81fce62133
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ test {
|
||||||
}
|
}
|
||||||
|
|
||||||
const firasans_font_path = sdkPath("/../upstream/assets/FiraSans-Regular.ttf");
|
const firasans_font_path = sdkPath("/../upstream/assets/FiraSans-Regular.ttf");
|
||||||
const firasans_font_data = @embedFile(sdkPath("/../upstream/assets/FiraSans-Regular.ttf"));
|
const firasans_font_data = @embedFile("../upstream/assets/FiraSans-Regular.ttf");
|
||||||
|
|
||||||
test "create face from file" {
|
test "create face from file" {
|
||||||
const lib = try ft.Library.init();
|
const lib = try ft.Library.init();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue