papermario
papermario copied to clipboard
Reset the font after a message ends
Currently, if you create a message with Font title and then create another message with no font declaration below it, configure(?) will continue to treat it as if it's in the title font. This leads to compilation errors because of characters that the title font does not support.
This is easily fixed by placing the normal font message above the title font message in your msg file, but it's still a little bit silly to me.
This would be a one-liner fix in the python file
I think this requires setting font = 0 around here (when a new message is started)
https://github.com/pmret/papermario/blob/c2c5f15a2a811faf406367d1c0030f6d1385c39d/tools/build/msg/parse_compile.py#L424