[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.3 ^$DISPLAY

Provides information about the specified graphical display. The first subscript corresponds to a display number, which is an integer value, often corresponding to the current value of the $PDISPLAY ISV.

The following second-level subscripts and specified descendant subscripts are supported:

CLIPBOARD +R +U +D

Retrieves, sets, or erases the contents of the system clipboard.

PLATFORM +R -U -D

Retrieves the name and version of the underlying window system platform.

SIZE +R -U -D

Retrieves the display resolution of the specified graphical display. For instance, a 1080p display would have a SIZE value of 1920,1080.

SPECTRUM +R -U -D

Retrieves the color depth (number of colors supported) of the specified graphical display.

COLORTYPE +R -U -D

Always returns COLOR, as monochrome and grayscale displays are not yet supported in FreeM.

UNITS +R -U -D

Returns the measurement unit of the specified display, i.e., PIXEL.

TYPEFACE +R -U -D

The third-level subscripts beneath this subscript represent a list of font families available on this display. The fourth level subscript is a list of sizes supported for the specified typeface, or 0 for vector typefaces, such as TrueType, OpenType, and Adobe Type 1 fonts.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on September 20, 2023 using texi2html 5.0.