Auto detect and resize text atlas texture.