Antialias font

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Antialias font

Post by Paul D » Thu Mar 08, 2012 12:15 am

Is there any support for better looking fonts? Rev renders fonts really poorly.

Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Re: Antialias font

Post by Paul D » Mon Mar 12, 2012 9:20 pm

Nothing? Is there a plugin or anything? I really like Roboto fonts but they just look so bad using a label field. :(

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Antialias font

Post by jacque » Mon Mar 12, 2012 9:26 pm

LiveCode has always rendered fonts very well for me. The exception is if your system doesn't have the required font installed, in which case you get some iffy defaults, especially on Windows. You're using only installed fonts, right? Are they ttf?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Re: Antialias font

Post by Paul D » Mon Mar 12, 2012 11:48 pm

Yes, they are installed and ttf. I am on a windows xp machine. Here is an example...

Image

The top is what I made in gimp and imported as a graphic and the bottom is a label field. Both are 15px, Roboto font.

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 264
Joined: Mon May 18, 2009 4:12 am

Re: Antialias font

Post by wsamples » Tue Mar 13, 2012 4:42 am


Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Re: Antialias font

Post by Paul D » Tue Mar 13, 2012 2:55 pm

Yep, that did it... hahaha, boy do I feel embarrassed... :oops: Thanks for the help! :mrgreen:

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Antialias font

Post by Mark » Wed Mar 14, 2012 12:43 am

Hi,

For a fact, LiveCode renders fonts slightly differently from most software. This is particularly noticeable on Mac OS X.

There is a ClearType library in the private section of the Economy-x-Talk homepage. This library allows you to retrieve the ClearType settings from within LiveCode and you might also change these settings, even though it might be better to use the control panel for this.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply