After installing gnome-shell, the font size of my program appears small

This would need other users to share experience. For running application at startup, we have several cases listed in Jetson Nano FAQ
Q: How to autorun an app or commands at startup?

What we have tried is to put the command in ~/.xsessionrc Not sure if this is applicable in your use-case and can avoid the issue.