Font
Up and coming: shot check knows this datatype and its members today, and programs run it once the native runtime lands.
comingWindows and UI
Up and coming
The typeface for text in a window: the UI font, its semibold, the code font, or a font file of your own.
Font.UI, Font.UISemibold and Font.Mono are the built-in UI and code fonts, and Font.fromFile(path) loads a font file. Japanese, emoji and symbols fall back to the Windows fonts. A LogView uses Font.Mono by default.
local function example(x : Font)
local label = Instance.new("TextLabel")
label.Font = Font.Mono
endConstructors
| Name | Arguments | Returns | Description |
|---|---|---|---|
| Font.fromFile | (path: string) | Font |
