Font highlighting!
Displaying 1-2 of 2 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Overkill

Many have claimed that Verge can't do font highlighting, and until recently I believed these people. Even though I had access to the Verge source code, and had even edited and looked inside the font routines in the past.

So can Verge color fonts on its own?! You tell me:


...

What?

Whaaaaaaaat?!

We had it all this time, yet it was undocumented, and as a result all these people were complaining about the lack of this feature? People went out of their way to make their own font highlighting libraries when they never needed to?

Who was responsible for this screwup? :(

This hurts my head in so many ways.

Okay... deep breaths, it's IN THERE, and from the looks of it has been for years. So you don't need your magical separate library.

See?

PrintString(0, 30, screen, fnt, "Hello @1World@, it @2works@!"
+ chr('\n') + "I am @3highlighting things in my text@!");
So yeah, the at sign, followed by a number (where 1 is the second font set, 2 is the third font set, and so on). Use it. And here's the font that corresponded to those indices in that test.


Just thought I'd announce this one. Now get out there and highlight all your important quest-related text, and color your healing digits!

Posted on 2008-06-06 23:02:50 (last edited on 2008-06-06 23:03:57)

rpgking

I say it's a conspiracy! We were led to believe that Verge3 was less awesome than it truly was. :(

Anyway, it's cool that font subsets were builtin all along. This news came like 4 years too late...unless it was added later :D

Posted on 2008-06-07 01:51:45


Displaying 1-2 of 2 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.