font 
A font datum, it exists to define a custom font to use in a span style later.
Vars | |
| ascent | distance above baseline (including whitespace) |
|---|---|
| average_width | average character width |
| default_character | default character (for undefined chars) |
| descent | distance below baseline |
| end | last character in metrics |
| ex_leading | external leading vertical space, just plain blank |
| font_family | The font file we link to. |
| height | total height of a line |
| in_leading | internal leading vertical space, for accent marks |
| max_width | maximum character width |
| metrics | Font features and metrics Generated by Lummox's dmifontsplus (https://www.byond.com/developer/LummoxJR/DmiFontsPlus) Note: these variable names have been changed, so you can't straight copy/paste from dmifontsplus.exe list of font size/spacing metrics |
| name | Font name, just so people know what to put in their span style. |
| overhang | extra width, such as from italics, for a line |
| start | first character in metrics |
Procs | |
| get_metrics | Get font metrics From Lummox's dmifontsplus (https://www.byond.com/developer/LummoxJR/DmiFontsPlus) |
Var Details
ascent 
distance above baseline (including whitespace)
average_width 
average character width
default_character 
default character (for undefined chars)
descent 
distance below baseline
end 
last character in metrics
ex_leading 
external leading vertical space, just plain blank
font_family 
The font file we link to.
height 
total height of a line
in_leading 
internal leading vertical space, for accent marks
max_width 
maximum character width
metrics 
Font features and metrics Generated by Lummox's dmifontsplus (https://www.byond.com/developer/LummoxJR/DmiFontsPlus) Note: these variable names have been changed, so you can't straight copy/paste from dmifontsplus.exe list of font size/spacing metrics
name 
Font name, just so people know what to put in their span style.
overhang 
extra width, such as from italics, for a line
start 
first character in metrics
Proc Details
get_metrics
Get font metrics From Lummox's dmifontsplus (https://www.byond.com/developer/LummoxJR/DmiFontsPlus)