Problem with text when deploying
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 24
- Joined: Thu May 15, 2014 4:40 pm
Problem with text when deploying
Hello there, I made a simple game for two players. In the application there is a label "Player1 is on move" or "Player1 is on move", which detects who is on move. The problem is that during test it looks fine. I tried it on my tablet (Android) - works fine. But surprisingly when I make a standalone for Windows, this label looks horrible. You can see the problem in the pictures - during test and after making standalone for Windows. What could be the problem?
Re: Problem with text when deploying
Hi ChessGredon,
This looks to me like just the field width is being clipped.
Have you tried increasing the size of the field?
It happens going from Windows to Mac as well.
Simon
Edit: on closer inspection I see that it isn't just the width but some of letters are getting clipped as well.
Do you have liveCode on the Windows machine? Can you try it in the IDE on Windows?
This looks to me like just the field width is being clipped.
Have you tried increasing the size of the field?
It happens going from Windows to Mac as well.
Simon
Edit: on closer inspection I see that it isn't just the width but some of letters are getting clipped as well.
Do you have liveCode on the Windows machine? Can you try it in the IDE on Windows?
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 24
- Joined: Thu May 15, 2014 4:40 pm
Re: Problem with text when deploying
How do I fix this? Also it should be noticed that the "Start" button has also changed his appearance. Perhaps some standalone settings went wrong? When I resize it, it is still with the same problem (but on Android works fine). To resize my objects to fit different resolutions, I used http://forums.runrev.com/viewtopic.php?f=8&t=14859 . Could this be the reason? If you want I can share the stack so that you can see where is the problem.
Re: Problem with text when deploying
I wonder why the font is changed for the standalone.
To test to see whether the resize script is contributing to this problem try deleting it from the stack, or commenting it out.
What version of LiveCode are you using? There have been several bugs reported, and some corrected, regarding text rendering problems in standalones in Windows 7 and 8. Perhaps you can isolate your problem by starting with a card that has only the problematic text field. Build it as a Windows standalone to see if that renders as expected. If it look right, add the script for that field, if it has one. Then, keep doing this while adding one additional control until the problem presents itself again.
To test to see whether the resize script is contributing to this problem try deleting it from the stack, or commenting it out.
What version of LiveCode are you using? There have been several bugs reported, and some corrected, regarding text rendering problems in standalones in Windows 7 and 8. Perhaps you can isolate your problem by starting with a card that has only the problematic text field. Build it as a Windows standalone to see if that renders as expected. If it look right, add the script for that field, if it has one. Then, keep doing this while adding one additional control until the problem presents itself again.
Re: Problem with text when deploying
Sure!If you want I can share the stack so that you can see where is the problem.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 24
- Joined: Thu May 15, 2014 4:40 pm
Re: Problem with text when deploying
I removed the resizing script, but still the same problem. I can't attach the .livecode file. How can I post the stack?
Re: Problem with text when deploying
Hi,
Best regards
Jean-Marc
Just zip your stack and clic to "upload attachment" belowI can't attach the .livecode file. How can I post the stack?
Best regards
Jean-Marc
https://alternatic.ch
-
- Posts: 24
- Joined: Thu May 15, 2014 4:40 pm
Re: Problem with text when deploying
The stack is in the archive. Can you tell me what's wrong?
- Attachments
-
- Logipoint.rar
- (8.6 KiB) Downloaded 294 times
Re: Problem with text when deploying
Hi ChessGredon,
Yes, there is a problem in the standalone you can report it here:
http://quality.runrev.com/
A workaround for now is just setting a font instead of the default system font, Arial still looks good as cross platform (there is also Times New roman, Trebuchet MS, Verdana and a few others).
Also taking the italic off works with the default font.
Simon
Yes, there is a problem in the standalone you can report it here:
http://quality.runrev.com/
A workaround for now is just setting a font instead of the default system font, Arial still looks good as cross platform (there is also Times New roman, Trebuchet MS, Verdana and a few others).
Also taking the italic off works with the default font.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!