PDA

View Full Version : PowerDraw Font Bug



Paulius
22-03-2003, 03:51 PM
Hey Lifepower, I noticed a problem with fonts when I tryed to write lithuanian letters. The thing is that if a font is renderd with size of 8 or lower all characters(33-255) are ok. When it's size is bigger, craracters with higher numbers become unusable and the higher the size the higher the ammount of unusable characters. I think that the rendered font is split into a couple of textures incorrectly or something. So can this be fixed?

LP
24-03-2003, 01:58 AM
What do you mean higher numbers? Only extended ASCII characters are supported, thus ranging from 0 to 255. Anything else, it might be a bug... if you could provide some code or better EXE to test, it'd really help.

- Lifepower

snorga
24-03-2003, 09:04 AM
I think he means that when seting the font size to higher than 8 some of the characters in the high end does not display proberly.. ie 200-255, and when setting the font even higher the range that does not display properly get bigger ie. 170-255.

Anyway, thats how I read it..

but an exampel would be nice.. :wink:

Paulius
24-03-2003, 05:49 PM
I ment exactly what snorga said. For example I render 2 font files with Ariel font at size 8 and size 64, then i draw a string of characters from 33-255. With 8 sized font everyting is ok, while with 64 sized font instead of every character above 56 i get the same character as 56.

LP
25-03-2003, 01:54 PM
Strange thing, but I thought this bug only existed in PowerDraw 2.x, where there was only one texture for font. In PowerDraw 3.x font may occupy multiple textures, so it's strange you're having this problem. Again, some example is appreciated.

Paulius
25-03-2003, 03:24 PM
Actually I use PowerDraw 2.x, I somehow fear pre-release versions (it is written that 2.42 is the latest stable version), but guess I?¢_~ll have to try 3.x. Anyway thanks for the info.