validate arguments
support monospace
support yahei and simsun
fixed F5 to F12