There isn’t a way to achieve this inside of Roblox Studio (yet?) so we’ll be frankensteining together two fonts
I also know very little about typography and its naming conventions.
Any insights or corrections are appreciated!
You’ll need:
-
Any two fonts. One will be for the syntax and the other for regular text. You could use Times New Roman and Comic Sans, but you probably just want to use different variants from the same font.
-
A tool to edit the information of a font. I’ve successfully used FontLab8, but MuTsunTsai’s FontFreeze is more convenient and can be used from a browser.
Roblox Studio automatically chooses the bold variant of a font for syntax so we’re just replacing it with something else.
In this example we’ll be replacing the Bold variant of Maple Mono with Bold Italic to pair with Regular.
- Open the font you want to use for syntax. Check “Custom font names” and remove the suffix (this is FontFreeze)
- Change the subfamily to Bold
Because we’re using different variants of Maple Mono we don’t need to change the Font family name. However, if you were replacing Times New Roman Bold with Comic Sans Italic Bold you’d need to change the Font family to Times New Roman.
You should open up the variant of Bold you’re replacing beforehand and take a screenshot of the names you need to mimic, as sometimes it’ll be something other than just “Bold.”
- After generating and downloading it, this is what it should look like in Roblox Studio!
See how it’s Italic Bold but is named Bold
Things to note:
-
I don’t know how any of this really works but I couldn’t find any information about it on here
-
The bold variant is considered 300 weight heavier than the that of your “regular” text. Because I use Medium I need to make the subfamily name ExtraBold instead of Bold
-
Medium is glitchy sometimes, if I unselect and reselect it the italics disappear and I need to restart Roblox Studio
-
If you’re using Medium I think you also need to have Regular installed or else it won’t work