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
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?
Please provide a self-contained, complete example which I can
Russell Shaw wrote:
Werner LEMBERG wrote:
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?
Please provide a