Tags:
create new tag
view all tags

.CHART SET TXT AA MODE

This subroutine sets the anti aliasing mode for text on the "current" chart spec.


Usage:

      PASS         <text_aa>                  FIELD            SHARE? N
      GOSUB    0CD .CHART SET TXT AA MODE
      *        Check for error
      IF       0CD .CHART SET TXT AA MODE     NE

Description:

This subroutine controls whether anti-alias is used when drawing text.

Valid values are:

noantialias, no antialias, no anti-alias: Disables anti-alias when drawing text.

antialias, anti alias, anti-alias: Always use anti-alias when drawing text.

autoantialias, auto antialias, auto anti-alias: Automatically determine if anti-alias should be used for the text. This is the default. Currently, Chart Director will anti-alias only large or bold fonts. For small fonts, assuming it is of high quality, anti-alias is unnecessary. This is because high quality fonts are normally designed to be sharp and clear at low resolution. Anti-aliasing will blur the fonts and make them look worse. However, for complicated fonts (e.g. some fonts with oriental characters), or for lower quality fonts (e.g. some freeware fonts), anti-alias may be necessary. In this case, it may be needed to force anti-aliasing of all fonts using anti alias mode.

The parameter is optional, if blank or not passed, auto anti aliasing will be turned on.

To set anti aliasing for shapes, see .CHART SET SHAPE AA.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2011-09-23

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2012-02-19 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback