RichText doesn't support Toolbox fonts

Hello! So…

I’ve been encountering a problem where either RichText (in TextLabels, TextButtons, or TextBoxes) don’t support fonts that I downloaded from the Toolbox (e.g., Builder Extended or Work Sans), because in my scenario, I wanted to make a counter (like 100 hp or 2000 kcal, etc.) where the numbers use a Monospaced font while the rest isn’t.

I tried a couple of things, like putting the font’s name without spaces (BuilderExtended, BuilderSansExtended, etc.) and its ID (16658237174 or rbxassetid://16658237174). Though built-in fonts (e.g., SourceSans, Michroma, etc.) work. It looks like this:

local hud = script.Parent
local caloriesTracker = hud.CaloriesTracker

humanAtt:GetAttributeChangedSignal("Calories"):Connect(function()
	local calories = humanAtt:GetAttribute("Calories")
	
	caloriesTracker.Text = `<b><font size='20' face='Builder Extended>{calories}</font></b> kcal`
	caloriesTracker.Text = `<b><font size='20' face='BuilderExtended>{calories}</font></b> kcal`
	caloriesTracker.Text = `<b><font size='20' face='16658237174>{calories}</font></b> kcal`
	caloriesTracker.Text = `<b><font size='20' face='rbxassetid://16658237174>{calories}</font></b> kcal`
end)

image

So, that’s what I’ve done so far in Studio. About searching for a solution, I’ve tried to search many topics in here, but I haven’t found any that match the problem I have (or I missed some of them). (And I consulted to ChatGPT as desperation sets in but with no luck either). So, this is why I posted this.

If you think you have the solution about this, please reply here. And if you think I may missed some announcement posts that are relevant or if someone has posted the same topic before me, please share them too. (Sorry if this post is too much to read, and sorry if I put this in the wrong category or something).

Have you tried this yet:

<b><font family="rbxassetid://16658237174"> text here </font></b>
1 Like