Text resolution in Windows standalone?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Text resolution in Windows standalone?
Hi -
I have just created a "draft" standalone version of my project to test how it looks and works on various computers.
I created my project on a Mac, so I have become accustomed to the look of the graphics, text and so on. Opening the draft standalone on a Windows PC is quite different (to be expected), the biggest difference is the text resolution.
On the PC, the text in my standalone's text fields (locked fields with instructional text), looks jagged. Is there any way to improve the look of the text on a PC?
I'm using Arial because I figured Arial is universal.
Any ideas welcome.
Peter
I have just created a "draft" standalone version of my project to test how it looks and works on various computers.
I created my project on a Mac, so I have become accustomed to the look of the graphics, text and so on. Opening the draft standalone on a Windows PC is quite different (to be expected), the biggest difference is the text resolution.
On the PC, the text in my standalone's text fields (locked fields with instructional text), looks jagged. Is there any way to improve the look of the text on a PC?
I'm using Arial because I figured Arial is universal.
Any ideas welcome.
Peter
Re: Text resolution in Windows standalone?
Hi Peter...
You could change the font depending on what platform you are running on...
Hope it helps...
Dixie
You could change the font depending on what platform you are running on...
Code: Select all
on preOpenCard
if platform() = "MacOS" then
repeat with count = 1 to the number of fields of this card
set the textFont of field count to "lucida Grande"
end repeat
else
repeat with count = 1 to the number of fields of this card
set the textFont of field count to "Tahoma"
end repeat
end if
end preOpenCard
Dixie
Re: Text resolution in Windows standalone?
Hi Dixie,
Thanks for the suggestion. Are you suggesting that changing the font from Arial (to Tahoma for example) would result in a better rendering of the font?
And - would all Windows systems have Tahoma already installed?
Cheers,
Peter
Thanks for the suggestion. Are you suggesting that changing the font from Arial (to Tahoma for example) would result in a better rendering of the font?
And - would all Windows systems have Tahoma already installed?
Cheers,
Peter
Re: Text resolution in Windows standalone?
Probably I'm writing something crazy, but...
A LiveCode application can hold a font and use internally? Could be a solution to have the same font in all systems.
A LiveCode application can hold a font and use internally? Could be a solution to have the same font in all systems.
Re: Text resolution in Windows standalone?
For Peters question:
Check the formatForPrinting property, it should be false. Other then that, maybe a screenshot might be helpful to see what you mean, with windows-generated text next to livecode-generated text of the same font?
glpunzi:
Check the revFontLoad and revFontUnload commands. Note that you need to have the full rights to distribute fonts. If you're not sure about it, then chances are you do not have em, because you'd remember the huge payment that you made for those rights!
Check the formatForPrinting property, it should be false. Other then that, maybe a screenshot might be helpful to see what you mean, with windows-generated text next to livecode-generated text of the same font?
glpunzi:
Check the revFontLoad and revFontUnload commands. Note that you need to have the full rights to distribute fonts. If you're not sure about it, then chances are you do not have em, because you'd remember the huge payment that you made for those rights!
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode