582: Font Scaling

Text on the graphics can be resized by setting the scaling factors to values other than 1.0. CPT uses three font sizes:

  • Default font: used to label axes and any additional text. When the scaling factor is 1.0 the default font size is 1.4% of the graphic width and 3.5% of its height.
  • Title font: used only for the graphic title. When the scaling factor is 1.0 the title font size is 1.6% of the graphic width and 4.0% of its height.
  • Numeric labels font: used for the numbers on axes and for latitude and longitude labels. When the scaling factor is 1.0 the numeric labels font size is 1.2% of the graphic width and 3.0% of its height.

The default size of each font is multiplied by its scaling factor, and so a scaling of 2.0 will double the size of the font, for example.

Last modified: