.TEXT SET FONT SZ

This subroutine sets the font size for the "current" text object.


Usage:

      PASS         <font_height>              FIELD            SHARE? N
      PASS         <font_width>               FIELD            SHARE? N
      GOSUB    0CD .TEXT SET FONT SZ
      *        Check for error
      IF       0CD .TEXT SET FONT SZ          NE

Description:

This subroutine sets the font size for the "current" text object.

<font_height> and <font_width> are the desired point size, in the range 1-999. If only one value is passed, then it is used for both height & width. If neither value is passed, then the font will be rendered in a default size.

See FontSpecifications for more information on setting fonts and font numbers.

Comments:

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


 

-- JeanNeron - 2011-11-17
Topic revision: r2 - 22 Feb 2012, JeanNeron
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback