Modify X11 scaling settings from cli or script (Method to help fix font scalling)

For overall scaling, or just fonts? For overall scaling on X11, xrandr can do it. I just replied to a scaling question, the info and link there might help.