# coyote: CGDEFCHARSIZE

- coyote/Graphics
- coyote/Utilities
- [Source code]

Description

      Defines a default character size for Coyote Graphics routines (cgPlot, cgContour, etc.)
      IF !P.Charsize is set, the function simply returns !P.Charsize.

Categories

      Graphics, Utilities

Keywords

      adjustsize: in, optional, type=boolean, default=0
         If this keyword is set, the output character size is adjusted to
         fit the size of the output graphics window. No adjustment is ever
         done in PostScript. Applies only when !P.Charsize=0.
      font: in, optional, type=integer, default=!P.Font
         The font type: -1 = Hershey, 0 = hardware, 1 = true-type.

Author

      FANNING SOFTWARE CONSULTING::
          David W. Fanning
          1645 Sheely Drive
          Fort Collins, CO 80526 USA
          Phone: 970-221-0438
          E-mail: david@idlcoyote.com
          Coyote's Guide to IDL Programming: http://www.idlcoyote.com

History

      Change History::
         Written, 11 January 2011. DWF.
         Added an ADJUSTSIZE keyword to allow adjustable sizing of characters
            in resizeable graphics windows. 24 April 2011. DWF.
         Made sure this program only adjusts text size on devices that support
            windows. 20 July 2011. DWF.
         Made PostScript default font sizes on Windows slightly larger to conform
            with function graphics output in IDL 8.2.3. 17 June 2013. DWF.
         Did what I *thought* I did on 17 June 2013. 14 January 2013. DWF.

Copyright

      Copyright (c) 2011-2014, Fanning Software Consulting, Inc.