Author Topic: Fonts with Symbols  (Read 2938 times)

Revva

  • Guest
Fonts with Symbols
« on: August 21, 2012, 09:00:36 PM »
Hi Aren,

I have problems with displaying symbols in the font. I was able to display one symbol when i tried the feature in the starting. After modifying the text file for all other symbols it stopped showing any of them . I tried deleting the font and creating it again but still no change . I lost the symbol display for the the previous one also which was showing . How can i resolve this problem ?

PhilipC

  • Guest
Re: Fonts with Symbols
« Reply #1 on: August 22, 2012, 10:02:35 AM »
I have a feeling some step was missed when adding the symbol to the texture/ definition file. You have followed the directions exactly?

Revva

  • Guest
Re: Fonts with Symbols
« Reply #2 on: August 22, 2012, 08:30:45 PM »
Hi,

I have actually followed all the steps which were in the tutorial. The only thing which i dont know about is the way the symbol is copied on to the
texture with the rgba channel .

this is the line which i am using right now "symbol sequence=#COIN       x=394     y=472       width=30    height=30"

Revva

  • Guest
Re: Fonts with Symbols
« Reply #3 on: August 22, 2012, 10:45:43 PM »
finally got it working . The problem is with the parser. I had a extra \t in between x and y values which was not trimmed. That's the reason why the "y" value was blank and it was not calculating it properly .

I guess this should be mentioned somewhere as a warning while importing the symbols. so people don't make mistakes :) .

Now the UI looks nice with lots and lots of symbols :).