Tags:
create new tag
view all tags

.TEXT SET FONT SZ:W

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


Usage:

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

Description:

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

<font_width> is the desired point size, in the range 1-999. If no value is passed, then the font will be rendered in a default size.

Also see .TEXT SET FONT SZ to set height and width at the same time, or .TEXT SET FONT SZ:H to set the height only.

Note: You cannot set the width unless you also set the height. If you only set the width without setting the height, it will be ignored.

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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012-02-22 - 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