FontOptions
Options for renderer.loadFont.
Properties
Section titled “Properties”chars?
Section titled “chars?”
optionalchars?:string
Extra characters beyond DEFAULT_CHARS, e.g. '←→♥★'.
family?
Section titled “family?”
optionalfamily?:string
CSS font family. Default monospace.
filter?
Section titled “filter?”
optionalfilter?:"linear"|"nearest"
nearest for pixel fonts. Default linear.
optionalsize?:number
Size in pixels the glyphs are rendered at; spawnText scales from it. Default 32.
weight?
Section titled “weight?”
optionalweight?:string
CSS font weight. Default normal.
