Font size

Hello all, I’ve recently been having a problem with the font ChatFont.

I have been designing my darkrp server, there is a introduction page that explains the basics of my darkrp server.

For some odd reason the font (ChatFont) gets bigger then what it actually is.

Here is a picture of the unusual font size

Here is a picture of what it looks like normally.

It only happens when using the font, ChatFont.

Please assist me.

This might sound odd, but could the problem be that you’ve designed the frame to be smaller than what the label can handle without clipping into the side of the panel? Also, it would help if you posted your derma code.

local IntroText =
This DarkRP server attempts to keep the mingebags and
douchebags out of play. We have multiple systems in place
to keep things in check. Weapons are also harder to obtain
all around, unlike other DarkRP servers. Rules are strictly
enforced, as well, so try to keep your head above water if
you want to stick around here.

Main requirements:

  • You must be 14 or older. (We are serious)
  • You must have common sense.
  • You must avoid raging.
  • You must avoid whining.

We apologize if we come off incredibly strong about
these things, but we are aiming to have a server with
little to no problems. We hope you agree with this.

We aren’t a mean community, we just want what’s right
for both our community and this gamemode. Enjoy your
stay, and if you don’t please tell us why and
we’ll do our best to rectify the problems.


usermessage.Hook(“intromenu”, function()
local IntroFrame = vgui.Create(“DFrame”)
IntroFrame:SetSize(450, 480)

local PaintOld = IntroFrame.Paint
IntroFrame.Paint = function(self)
	draw.RoundedBox(8, 10, 60, 429, 380, Color(30, 30, 30, 200))
	draw.SimpleTextOutlined("Welcome to Impacted DarkRP", "Trebuchet24", 210, 40, Color(250, 250, 250, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, .8, Color(0, 0, 0, 255))

local IntroTextD = vgui.Create("DLabel", IntroFrame)
IntroTextD:SetPos(15, 70)
IntroTextD:SetTextColor(Color(250, 250, 250, 255))


I doubt its the frame because even the HUD i created uses ChatFont, and you tell the font size is big.

The reason is because you’re parenting it to the frame, so it’ll fix into the entire DFrame. You need to create a DPanel inside the DFrame and set the text’s parent to the DPanel instead.