[Plib-devel] Re: [PATCH] fntBitmapFont::puts(): set negative coordinates correctly (Part II)
Brought to you by:
sjbaker
From: Melchior F. <mf...@us...> - 2005-07-05 14:56:22
|
* Bram Stolk -- Tuesday 05 July 2005 12:56: > If z-test is off, and z-buffer writes are off, my guess is that > the z coord does not matter. I don't think that z is useful for fntBitmapFonts at all. Their main advantage is the non-blurry, sharp look. They would probably become illegible with any non-zero z. Also, positions of type float don't seem to make much sense. I know that this is necessary for inheritance from fntFont, but they should probably be explicitly converted to integers. And then: fntBitmap don't consider the gap value, which makes setGap() and getGap() useless. I'd need the gap, though, and added it where necessary. But here again the question arises: should gaps be allowed to be floats? I'd convert them to integers before applying. I'll provide another patch if I know the opinion of the plib developers on this int/float question. m. |