From WikiChip
$font Identifier - mIRC
< mirc‎ | identifiers
Revision as of 12:12, 4 August 2022 by KindOne (talk | contribs) (Properties: Remove comment I forgot and correct typo.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$font returns the Nth font available on the system


Synopsis

$font(N)

Parameters

  • N - The Nth font, if N = 0 returns the total number of font available


Without a property, returns the name of the font

Properties

  • .size - return a comma separated list of size supported by the font
  • .pitch - returns "variable" or "fixed" depending on the font's pitch
  • .type - returns the type of the font "truetype", "raster", "vector", "unknown" or "device"

Example

//echo -a $font(0)

Compatibility

Added: mIRC v7.44
Added on: 25 Mar 2016
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

/font