antialiasing

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
jaibon
Posts: 6
Joined: Sat Jan 29, 2011 2:22 am

antialiasing

Post by jaibon » Sat Jan 29, 2011 2:24 am

Hi!

I am trying to get a good antialiasing for all the texts in my standalone application and I don't know where to adjust the settings or make them be more refined. Right now every letter looks pretty weird.
I am using Arial everywhere and saving as a standalone application for Windows.

Any clues in how to make the texts look nice?

Thanks!!

deebee
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 89
Joined: Mon Jul 19, 2010 6:59 am
Location: Illinois, USA

Re: antialiasing

Post by deebee » Sat Jan 29, 2011 3:04 am

Set your font to segoeUI 12pt for Vista and 7. I believe the the default UI font in XP is Tahoma. I had the same jaggy issues when compiling for windows using Arial.

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: antialiasing

Post by RRobert » Wed Feb 02, 2011 2:50 am

Code: Select all

 switch the platform
          
      case "MacOS"
         set the textFont of this stack to "Lucida Grande"
         set the textSize of this stack to "13"
         break
          
      case "Win32"
         if the systemVersion = "NT 5.1" then
            set the textFont of this stack to "Tahoma"
            set the textSize of this stack to "11"
         else
            set the textFont of this stack to "Segoe UI"
            set the textSize of this stack to "12"
         end if
         break
          
      case "Linux"
         set the textFont of this stack to "Helvetica"
         set the textSize of this stack to "12"
         break
          
   end switch
Robert

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”