From WikiChip
Difference between revisions of "mirc/identifiers/$font"
(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...") |
m (→Properties: Remove comment I forgot and correct typo.) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
== Properties == | == Properties == | ||
− | * '''.size''' - return a comma | + | * '''.size''' - return a comma separated 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 | + | * '''.type''' - returns the type of the font "truetype", "raster", "vector", "unknown" or "device" |
== Example == | == Example == | ||
Line 22: | Line 22: | ||
== Compatibility == | == Compatibility == | ||
− | {{mIRC compatibility|7. | + | {{mIRC compatibility|7.44}} |
== See Also == | == See Also == | ||
− | {{mIRC|/ | + | {{mIRC|/font}} |
− | [[Category:mIRC identifiers | + | [[Category:mIRC identifiers]] |
Latest revision as of 12:12, 4 August 2022
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[edit]
$font(N)
Parameters[edit]
- N - The Nth font, if N = 0 returns the total number of font available
Without a property, returns the name of the font
Properties[edit]
- .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[edit]
//echo -a $font(0)
Compatibility[edit]
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.