[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] Ascii Space
From: |
Russell Shaw |
Subject: |
[ft] Ascii Space |
Date: |
Mon, 31 Jul 2006 17:34:06 +1000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1 |
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?
- [ft] Ascii Space,
Russell Shaw <=