RenderCharExpression trouble

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

Post Reply
Imerion
Posts: 200
Joined: Sun Feb 09, 2014 4:42 pm

RenderCharExpression trouble

Post by Imerion »

I seem to have a problem that appeared in one of the later beta versions. My RenderCharExpression :

Code: Select all

CharX += FontMap[ord(subStr(Text, CharI, 1))]*1f/FontData[2]-1;
Has stopped working. Or rather, it produces very odd results, with the letters displayed all over the place. :)

I have attached a sample if anyone wants to see what happens.
Attachments
FontError.zgeproj
(22.15 KiB) Downloaded 624 times
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

Re: RenderCharExpression trouble

Post by rrTea »

I didn't really get a chance to test it properly but when I attempted to just run it I only got a
"SubString called with startpos+NChars>length"
error, does this happen on your end too?
Imerion
Posts: 200
Joined: Sun Feb 09, 2014 4:42 pm

Re: RenderCharExpression trouble

Post by Imerion »

That is interesting. I don't get that message, or any other error.
Post Reply