okay i just think i found a bug.. thats why it did not work. i was using arial
var stat_2;
and create a panel with this:
PANEL* test =
{
pos_x=20; pos_y=20; size_x=200; size_y=120; flags= SHOW;
digits(90,37,\"%5.0f Messages\",Arial#18b,1,stat_2);
digits(90,56,\"%5.0f Messages\",Courier#18b,1,stat_2);
layer=7;
}
then on the console change stat_2=1; then 10; then 100
and they will act very very different... See why i was confused?
Also times font wont work!? (evil, you, told about the space thing, but thats not even stated on the manual is it? and.. the feature says it for aligment.... nothing to do with the text being courier.. i mean, thats not logical!
And im not using spaces, just numbers.
the manual is clear "
TrueType or bitmap character set for the display. Either a predefined FONT, or A6.6 a font filename or Truetype font name with size and style (like "Arial#24bi") can be given. If '*' ist given, the engine standard font is used."
The font could be defined with :
FONT* ac1="Arial#18b";
FONT* ac2="Courier#18b";
but also it wont work! they mess up the alignment...
I will have to postpone the text ui part of the project, because of this issue.