Problem using color fonts

1 post / 0 new
jap
jap's picture
Offline
Last seen: 2 months 2 weeks ago
Joined: 2011-06-04 05:53
Problem using color fonts

Hi,

I'm trying to use a color font but I can't get the font colors right. I've set my window's rastport property RPTAG_RemapColorFonts to TRUE with SetRPAttrs() but it doesn't seem to do the trick. (The window is on Workbench screen.)

I open the font with OpenDiskFont() and assign it to the window's rastport with SetFont().

Single color fonts print fine, as you can see from the screenshot. I've used rastport property RPTAG_APenColor to set the single color font color.

IMAGE(https://live.staticflickr.com/65535/52968989837_c91839642e_c.jpg)