From WikiChip
$font Identifier - mIRC
< mirc‎ | identifiers
Revision as of 08:41, 18 October 2017 by 83.204.221.221 (talk) (Created page with "{{mirc title|$font Identifier}}'''$font''' returns the Nth font available on the system == Synopsis == <pre>$font(N)</pre> == Parameters == * '''N''' - The Nth font, if N...")
(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 seperated 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, non exhaustive list of value: "truetype", "raster" or "device"

Example

//echo -a $font(0)

Compatibility

Added: mIRC v7.0
Added on: 02 Apr 2010
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

/speak