OldCoder Posted June 17, 2011 Share Posted June 17, 2011 Can anyone help please? Why don't these work for me? I'm using SCAR Divi 3.25.06 and when it didn't work I downloaded the latest SRL. When I couldn't seem to get it to work in my main script I have written a very simple program to test it: -------------------------------- program New; {.include srl/srl.scar} var gettxt: string ; begin gettxt:='dummy' gettxt:= rs_GetCustomSizeUpText ; writeln('Text after=' + gettxt) end. ---------------------------------- but all this returns is the following: ---------------------------------- Successfully compiled (1903 ms) Text after= Successfully executed (32 ms) --------------------------------- Loads of other functions work fine ... after Freddy pointed out that I had to configure RS so that it didn't use hardware acceleration, but this just doesn't seem to be working. Ideas anyone? Quote Link to comment Share on other sites More sharing options...
FHannes Posted June 17, 2011 Share Posted June 17, 2011 You need to install the appropriate fonts and call SetupSRL. Also, don't call rsGetUpText directly if you use SRL, use the SRL funciton to get the uptext, it is preconfigured. This issue is not a bug, moved. Please only post in the development bug section if you are certain the issue is a bug. Quote Link to comment Share on other sites More sharing options...
OldCoder Posted June 18, 2011 Author Share Posted June 18, 2011 No probs, thanks 4 the reply I'll lookup installing the fonts. Quote Link to comment Share on other sites More sharing options...
FHannes Posted June 18, 2011 Share Posted June 18, 2011 This topic may be helpful: http://villavu.com/forum/showthread.php?t=58039 Quote Link to comment Share on other sites More sharing options...
OldCoder Posted June 18, 2011 Author Share Posted June 18, 2011 I'm still struggling. Downloaded fonts & SRL Open Dev (used the "include manager" and that now shows RS2Fonts and SRL Open DEV as installed and updated - also Phoenix although I don't know if this is needed.) Code is now : ------------------------------ program New; {.include srl/srl.scar} var gettxt: string ; begin ClearDebug; SetupSRL; gettxt:='dummy' ; gettxt:= GetUpText ; writeln('gettxt =' + gettxt) end. ----------------------------- Looked at the video, but that thread seems to be about the setup of 3.2.5 alpha - or am I missing the point? Quote Link to comment Share on other sites More sharing options...
FHannes Posted June 18, 2011 Share Posted June 18, 2011 The video was made for the Alpha, but the principle is the same. You have to follow the steps in the video to install the fonts, not use the include manager. Quote Link to comment Share on other sites More sharing options...