Font setcolor

I have my font unit, it stores each letter in pointer.
For setcolor I tried to go through all pointers, and if encountered current color, change it to new. But it's extremely slow. What should I do ?
mitya83Asked:
Who is Participating?
 
jack_p50Commented:
Hey, that's simple! Just add to your putimage routine such thing : when plotting pixel, plot not it's color, but some transtable[it's color], and in transtable you should set on default font color's index needed color. That's all.
0
 
mitya83Author Commented:
Thanks. I like people who answer fast.
0
 
jack_p50Commented:
And I like people who accepts answer fast ;)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.