Open SamuelDidoszak opened 3 years ago
Which example are you trying to run and how? What’s your OS?
i have the same problem, Windows 11 lwjgl example
I can't reproduce it, unfortunately. Can you debug it a little? Does it point to the right file? Does that file exists? You can do that by modifying Scene.java and replacing file
function with this:
public static String file(String path) {
String res = "../scenes/" + path;
try {
java.io.File file = new java.io.File(res).getCanonicalFile();
System.out.println(file + ": " + file.exists());
} catch (java.io.IOException e) {
e.printStackTrace();
}
return res;
}
P.S. Can you also try https://github.com/HumbleUI/Skija and see if the problem also exists there? This repo is not updated anymore
Calling a native method
_nMakeFromFile
from Typeface class causes an Access Violation. (Typeface.java 142). It's happening regardless of file and path. The issue arises when trying to create a Scene from Examples. Scene requires initialization ofstatic final Typeface iter
(Scene.java 7).Log file: hs_err_pid512.log