From WikiChip
Difference between revisions of "mirc/identifiers/$font"
(→See Also) |
(→Properties) |
||
Line 15: | Line 15: | ||
== Properties == | == Properties == | ||
* '''.size''' - return a comma seperated list of size supported by the font | * '''.size''' - return a comma seperated list of size supported by the font | ||
− | * '''.pitch - returns "variable" or "fixed" depending on the font's pitch | + | * '''.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" | * '''.type''' - returns the type of the font, non exhaustive list of value: "truetype", "raster" or "device" | ||
Revision as of 07:42, 18 October 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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.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.