papermario icon indicating copy to clipboard operation
papermario copied to clipboard

Reset the font after a message ends

Open Wrymouth opened this issue 2 years ago • 2 comments

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.

Wrymouth avatar Jul 15 '23 12:07 Wrymouth

This would be a one-liner fix in the python file

bates64 avatar Jul 17 '23 12:07 bates64

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

bates64 avatar Jul 17 '23 12:07 bates64