Interesting question. I am not 100% certain. But I think 'on' sounds a bit strange; I've never seen it before.
I would usually Say 'on' or "at" which are the same. You can choose one and use it. Personally I prefer to say, her physics is weak. Physics is her weakest subject.