kittyPGR
(KittyPlays)
April 17, 2023, 5:06pm
#1
Hey, I was work on a scrip where I create a new text label. I wanted the text in the text label to be BOLD
I tried using TextLabel.FontFace.Bold = true
, TextLabel.FontFace.Weight = Enum.FontWeight.Bold
but none of them worked. Can anyone help me with this.
Edit: I am aware of using <B>...</B>
but I want RichText to be false. So any other method ?
1 Like
Wigglyaa
(Wigglyaa)
April 17, 2023, 6:07pm
#2
I came across something similar before, I think you had to do something along the lines of
TextLabel.Font.Weight = Enum.FontWeight.Bold
kittyPGR
(KittyPlays)
April 17, 2023, 11:41pm
#3
I tired it but it didn’t work
quakage
(quakage)
April 17, 2023, 11:55pm
#4
I think you may actually have to put the textlabel in replicatedstorage with Bold set and then clone it. It may have something to do with certain fonts. Can’t recall.
Wigglyaa
(Wigglyaa)
April 18, 2023, 9:37am
#5
Ok, I couldn’t remember, it was a weird thing I spent more time than necessary to figure out.
I’ve been setting the fontface by:
TextLabel.FontFace = Font.fromName("IndieFlower", Enum.FontWeight.Regular, Enum.FontStyle.Normal)
idk try
TextLabel.Font = Enum.Font.JuraBold---idk how the bold jura is spelt so yea
for me weight is broken in studio i use the command runner at the bottem
nvm it won’t work,i thought it would since gotham did for me
wait
how about this
Subtitle.FontFace.Weight = Enum.FontWeight.Bold
O3_O2
(o3_o2)
April 18, 2023, 1:26pm
#9
FontFace is readonly, I believe it is not possible to set bold from scripts.
You could try to create a bold label and clone it each time you want to use it.
Roblox is a little bit stupid as you can see in the embedded video
Not your fault, FontFace should not be readonly.
1 Like