Fix wrong font size detection in resComp

Greedy regexp matching is a pitfall..