In the function isyntax_init_level_offsets, I believe in level 0 we also need to set width and height, so perhaps we can set them (otherwise libisyntax_level_get_width and libisyntax_level_get_height will return 0.
In my experiment with an isyntax file, it looked like that there is an offset in level 0 as well.
In the function isyntax_init_level_offsets, I believe in level 0 we also need to set
widthandheight, so perhaps we can set them (otherwiselibisyntax_level_get_widthandlibisyntax_level_get_heightwill return 0.In my experiment with an isyntax file, it looked like that there is an offset in level 0 as well.