MainExamplesDocumentationRegistration  


 Info
What is ShotGraph
Why use ShotGraph
Download
How to register
FAQ


 Making images
Common principles
Palettes
OLE support
VB & VBA notes
Creating animations
Trick: anti-aliased fonts
 

Trick: anti-aliased fonts

The current version of ShotGraph supports the FontSmoothing property. When you set this property's value to 2, the font antialiasing mode is changed, and the newly called by CreateFont fonts are applied with antialiasing effect.

Another way to make fonts anti-aliased is to make some small changes in the Windows NT registry. Run the regedit application and set the values shown below. You should restart the NT server after that.


Key: HKEY_USERS\.DEFAULT\Control Panel\Desktop
Value: FontSmoothing=2

Key: HKEY_CURRENT_USER\Control Panel\Desktop Value: FontSmoothing=2


Note

Antialiasing changes a number of colors used in your image. Therefore, if you make the gif image containing antialiased text, you should call the BuildPalette method just before GifImage

© 1998-2001 Mikhail Tchikalov
Email to contact: mtchikalov@usa.com