Mail Archives: djgpp/1998/05/20/03:04:42
Andrew R. Gillett writes:
>> Then, are your fonts in the correct format for 16-bit color mode? If
>> you set the background to black instead of the 16-bit reserved
>> background color, the background would be lit!
>
>I just used the TTF2PCX converter to create the fonts.
But how do you get these images into your game? If you imported them as
a font in the grabber, they will be loaded as 256 color data. If you are
loading them yourself, they may or may not have been converted into a 16
bit format depending on how you have set the color conversion mode, but
there is no way that the mask color will be correct because TTF2PCX
output an 8 bit image.
You need to make sure that the graphics are being read in a 16 bit
format, and change the background color to the bright pink (max red and
blue, zero green) transparent marker value.
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Miracles are nothing if you've got the wrong intentions" - Mike Keneally
- Raw text -