Some more texture parsing code for chars