> >> I use code like this
> >>
> >> gid = FT_Get_Char_Index(face, 'x');
> >> FT_Load_Glyph(face, gid, FT_LOAD_DEFAULT);
> >> xWidth = face->glyph->metrics.width;
> >>
> >> successfully to compute the widths of different characters. I tried
> >> to do the same for spaces (using ' ' instead of 'x') but that always
> >> gives me a width of zero.
> >
> > Which FreeType version? Please try the latest one; there has been
> > problems with the metrics of the space glyph.
>
> I am using FT 2.3.4. Should I try CVS?
Hmm, I'm not aware of a problem with FT 2.3.4. Have you tried
ftstring with the font?
Werner
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype