Re: [ft-devel] patch requested for freetype2/internal header usage (using font_bbox)

2006-01-24 Thread david turner
Hi Drew, I think your option A would probably be safe. But if you do think providing the API would be generally useful, then let me know when it's implemented, I could upgrade the Xprint to use it in the future. I don't think it is useful for ordinary users of the library. The programs

Re: [ft-devel] patch requested for freetype2/internal header usage (using font_bbox)

2006-01-24 Thread Drew Parsons
On Tue, 2006-01-24 at 11:50 +0100, david turner wrote: Hi Drew, I suspect I can remove the (int) cast here too, since the face-bbox values are already integers, would that be correct? the values are longs. Apart from that, you're correct ! Good-o. But wait, there is more: the

Re: [ft-devel] patch requested for freetype2/internal header usage (using font_bbox)

2006-01-24 Thread Drew Parsons
On Tue, 2006-01-24 at 12:46 +0100, david turner wrote: So, the correct, non-buggy code would be: else { fprintf(out, /FontBBox [%ld %ld %ld %ld] def\n, ti-ttface-bbox-xMin, ^^ Is

Re: [ft-devel] patch requested for freetype2/internal header usage (using font_bbox)

2006-01-24 Thread David Turner
Drew Parsons a écrit : OK. In that case you mean the 65536 needs to removed from the other 3 coords. That is I want: else { fprintf(out, /FontBBox [%ld %ld %ld %ld] def\n, ti-ttface-bbox-xMin, ti-ttface-bbox-yMin, ti-ttface-bbox-xMax,

[ft-devel] Re: [ft] Optimizing FT_Init_FreeType

2006-01-24 Thread David Turner
Atif Gulzar a écrit : Is it possible to optimize FT_Init_FreeType to load FT_Library only for TrueType fonts? Or it makes no difference? What do you mean by optimizing. A/ Do you want to make the function faster ? B/ Do you want to reduce the size of the library, by only compiling selected