i = 0; i &lt; face-&gt;num_fixed_sizes; i++ )
    {
      size = preferred_sizes[i].size;

      error = FT_Set_Pixel_Sizes( face, size, size );
      &lt;error handling omitted&gt;

      // check whether we have a glyph in a bitmap strike
      error = FT_Load_Glyph( face,
                             glyph_index,
                             FT_LOAD_SBITS_ONLY          |
                             FT_LOAD_BITMAP_METRICS_ONLY );
      if ( error == FT_Err_Invalid_Argument )
        continue;
      else 