> static Font opCall(string path) { > Font f; > f.fptr = loadFont(path.toStringz()); > return s; > } That should be return f; of course.