Anti-aliased text on Windows?

Klaus Major klaus at major-k.de
Sat Jun 5 07:00:06 EDT 2004


Dag Terry,

> Hi all,
> Being a Mac user, I was surprised to see the text in my Rev made 
> application without the soft edges I expected to see. Since it is a 
> program to display text on an LCD projector, I was kinda disappointed. 
> I asked a very experienced Windows user that admitted he didn't knew 
> what anti-aliased text was. For all who don't know either: see the 
> following link for a quick explanation.
> http://www.webdevelopersnotes.com/graphics/antialias.php3
>
> It is an OpenType Postscript font displayed on a Win98 PC with Adobe 
> Type Manager 4.1 installed. Would using another Win version or other 
> type formats solve this problem?
>
> Of course I could convert every text into a graphic, but since it 
> handles a lot of text on thousands of cards, that would not be an 
> elegant solution.

I am not sure, if this will work for PS fonts and ATM, but does work 
for TrueType fonts on windows...

You can set the "Font smoothing" system preferences in RR via 
setregistry:

...
put setregistry("HKEY_CURRENT_USER\Control 
Panel\Desktop\FontSmoothing","1") into smooth
## 1 = smoothing on
## 0 = smoothing off
...

Hope that helps...

> Terry

Regards and groetjes :-)

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list