Learn
Engine Data Type
Font

Summary
Constructors
new(family: Content,weight: FontWeight,style: Enum.FontStyle)
fromName(name: string,weight: FontWeight,style: Enum.FontStyle)
fromId(id: number,weight: FontWeight,style: Enum.FontStyle)

API Reference
Constructors
new
Font.new(
family:Content, weight:FontWeight, style:Enum.FontStyle)
Parameters
family:Content
weight:FontWeight
Default Value: Enum.FontWeight.Regular
Default Value: Enum.FontStyle.Normal

fromEnum
Font.fromEnum(font:Enum.Font)
Parameters

fromName
Font.fromName(
name:string, weight:FontWeight, style:Enum.FontStyle)
Parameters
name:string
weight:FontWeight
Default Value: Enum.FontWeight.Regular
Default Value: Enum.FontStyle.Normal

fromId
Font.fromId(
id:number, weight:FontWeight, style:Enum.FontStyle)
Parameters
weight:FontWeight
Default Value: Enum.FontWeight.Regular
Default Value: Enum.FontStyle.Normal

Properties
Family
Font.Family:Content

Weight
Font.Weight:FontWeight

Style
Font.Style:Enum.FontStyle

Bold
Font.Bold:boolean

©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.