Chapter Contents

Previous

Next
CHARREC

CHARREC



Specifies a hardware font for a device by associating a CHARTYPE number with a hardware font. Also defines a default size to use with that font.

Used in: GDEVICE procedure
Default: device dependent


Syntax

Syntax

CHARREC=(charrec-list(s))

charrec-list
a list of values that correspond to the fields in the Chartype window. Charrec-list has this form:

type, rows, cols, 'font', 'Y' | 'N'
type is the CHARTYPE number and can be an integer from 0 to 9999. (See CHARTYPE for more information.)
rows is the number of rows of text in the font that will fit on the display. (See ROWS for more information.)
cols is the number of columns of text in the font that will fit on the display. (See COLS for more information.)
font is a character string enclosed in quotation marks that contains the name of the corresponding hardware font on the device. (See FONT NAME for more information.)
Y represents a scalable font. A scalable font can be displayed at any size. (See SCALABLE for more information.)
N represents a nonscalable font. A nonscalable font can be displayed only at a fixed size. (See SCALABLE for more information.)

For example, these values assign the device's Helvetica font to be the first hardware font in the CHARTYPE window of the driver entry:

charrec=(1, 100, 75, 'helvetica', 'y')


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.