Font: fix a logic error in an iteration loop