Studio and FontWeight Enum have different namings for the same FontWeight

As the following pictures suggest, Roblox Studio displays the weight as “Black” while the actual FontWeight is “Heavy”.

Studio:
image
In code:

The text labels FontFace property still display “Black” as the weight on studio but if I run print(textlabel.FontFace) I get the following result which indicates “Heavy”.

  23:50:04.097  Font { Family = rbxasset://fonts/families/SourceSansPro.json, Weight = Heavy, Style = Normal }  -  Server - Script:1

This might not be an actual bug but it feels weird that the naming isn’t consistent.

2 Likes

This is a known issue (see related response here due to differences in the Roblox enum name and the weight of the font itself. So will close this post for now as it is not really a bug, but we have a ticket filed for this issue.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.