Hi,
I'm using fonts from: "/usr/share/fonts/truetype/msttcorefonts/arial.ttf"

For all normal printable characters, this works ok:

  error = FT_Get_Glyph(face->glyph, &glyph);
  error = FT_Glyph_To_Bitmap(&glyph, src->rendermode, 0, 1);

However, if the character is a space (ascii 32), then FT_Glyph_To_Bitmap()
fails with error=6 "invalid argument".

Is that normal? Even though there is no visible glyph, shouldn't it give
an all-zeros bitmap of the correct width?


_______________________________________________
Freetype mailing list
Freetype@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to