don't go into an endless loop upon finding a bad character in a truetype font