TSA layout parser: Parse font-related commands before anything else.
TSA layout parser: Parse font-related commands before anything else.

This is to guarantee that any calls to GetTextExtent() return the correct widths.

Also, moving them into their own function to cut down the indentation madness at least a bit.

thpatch/thcrap,thpatch/thcrap,VBChunguk/thcrap,thpatch/thcrap,VBChunguk/thcrap,VBChunguk/thcrap,thpatch/thcrap,thpatch/thcrap