It's the same test function that in texture_font_get_glyph, but you can't use "continue" in the second 'for' bloc.