Refactor text textures