I also thought it's not the problem, but it was. Try creating a TextFormat object with different settings for one of the text fields and see what the result is Sometimes it seems to work not exactly as we expect