Anti Aliasing of Text

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
tellboy
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 52
Joined: Wed Mar 06, 2013 1:31 pm

Anti Aliasing of Text

Post by tellboy »

Hi,

I am currently evaluating LiveCode to see if I should purchase.

I have just noticed that text in LiveCode is not anti aliased as smoothly as in OSX.

I have attached two images to show the issue.


The first image is that produced by LiveCode
LiveCode.png
LiveCode.png (7.62 KiB) Viewed 8472 times
The second image is that produced by Xcode and is the same as that produced by the system.
XCode.png
XCode.png (9.37 KiB) Viewed 8472 times
If you look closely the smoothness of the LiveCode text is inferior to the other. It is clearly visible in the dividing lines of the date.

Is there a setting that will correct this or is it an issue that cannot be resolved.


The third image is of a highlighted DataGrid. The whiteness of the highlighted text is very poor visually.
Is there a solution to this.
LiveCode highlighted.png
LiveCode highlighted.png (7.71 KiB) Viewed 8472 times

All the best

Tellboy
Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Anti Aliasing of Text

Post by Mag »

I also noticed this
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Anti Aliasing of Text

Post by Klaus »

Hi all,

if Livecode does not do this "out of the box", there is nothing we can do about it, sorry.

@Tellboy
1. welcome to the forum!
2. it would be quite helpful if you end a question with a question mark -> ? 8)


Best

Klaus
shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Anti Aliasing of Text

Post by shaosean »

The difference might be due to the fact that LiveCode is still a Carbon app whereas Xcode is a Cocoa app..

http://lists.apple.com/archives/carbon- ... 01645.html
tellboy
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 52
Joined: Wed Mar 06, 2013 1:31 pm

Re: Anti Aliasing of Text

Post by tellboy »

shaosean wrote:The difference might be due to the fact that LiveCode is still a Carbon app whereas Xcode is a Cocoa app..
I read the thread you referred to and one of the posts refers to:
QD does not use CG to do anti-aliasing. The only way to get Cocoa-style AA at present is to use either the Appearance DrawThemeText APIs (which is what most people use for short labels, etc.) or to use MLTE, pointing it at a CG context.
This may be the case with LiveCode, however I have used SuperCard and this is a Carbon App and it's anti-aliasing is normal just like OSX.

Having given it a little thought I think the issue here is to do with how colour is applied. It seems that "blending" is used all the time in LiveCode and this affects the clarity of text.

This issue does not appear in SuperCard until you apply blending.

I am not sure of either implementation but SC uses the WASTE text engine, not sure how LiveCode does it.

Out of interest, the LiveCode people need to get a move on as both Carbon and QuickDraw have been deprecated by Apple.

All the best

Tellboy
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10507
Joined: Wed May 06, 2009 2:28 pm

Re: Anti Aliasing of Text

Post by dunbarx »

TellBoy.

Anti aliasing aside, if you are a SuperCard fan, you simply must get LiveCode. You already know, mostly, how to use it.

Craig Newman
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10104
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Anti Aliasing of Text

Post by FourthWorld »

tellboy wrote:Out of interest, the LiveCode people need to get a move on as both Carbon and QuickDraw have been deprecated by Apple.
They're well aware, and thanks to your Kickstarter contribution the stretch goal of completing the migration to Cocoa is funded and scheduled:
http://www.kickstarter.com/projects/175 ... code/posts
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Anti Aliasing of Text

Post by shaosean »

March is almost over and they were supposed to release an "as-is" version by the end of the month..
timeline.jpg
Post Reply