Increase or Remove TextSize Limit


#1

As a developer, it is currently impossible to make big text.

On ScreenGuis, it is completely impossible. For SurfaceGuis, there’s a workaround, to resize the part. Though that can still be annoying - and the huge part can get in the way of selecting things, etc…

I often want to use big texts for titles/headings. The 100 TextSize limit prevents me from doing so.


Remove text size limit
#2

Have you tried messing with CanvasSize of the SurfaceGui?


#3

That can work too, though it doesn’t fix the problem for ScreenGuis.


#4

Font Size 100 is pretty big for ScreenGuis if you ask me.

Regardless, if you need more, you need more.


#5

Total support.


#6

While that does work for SurfaceGuis, it also decreases the resolution of the text. Anyways, I absolutely support this feature.


#7

For now, you can use a UIScale as a workaround.

This still has a cut-off point where the text stops rendering properly. Looks like that point is usually between scales of 4 and 6, depending on the font. This effectively brings you to font sizes between 400 and 600.


#8

you are my savior, thankyou sir, i can finally stop uploading text as an image and then painstakingly making it scale properly on all devices


#9

This (Red title) is the maximum text size, and this is at 1920x1080

image

now look how small it is on my 2k monitor

image

It’s odd that TextScaled would only work up to a certain resolution and then just stop and not fill space properly. I’ve got to imagine Roblox looks pretty awful on 4k monitors.


#10

The reasons why we don’t support this right now:

  • It’d fill the memory usage of the fixed-size font texture atlas (2048x2048 “spritesheet” containing all the glyphs currently being rendered on the screen).
  • Glyphs over a certain size will just outright fail to be inserted into the font atlas because of the algorithm for texture packing we use.
  • Rendering glyphs is expensive. Every single glyph is made up of something like 30 bezier curves, and they are rasterized entirely on the CPU. We cannot preprocess this, it has to occur during gameplay.

The UIScale workaround is a bug, which I have a fix for. When that fix is live, you will be able to attain any text size, but it will render as an upscaled version of the size=100 glyph. It will no longer fail when you get above a certain size. Also, note that when you use this hack as-is, the point at which the glyph is too large and stops working varies depending on the device you’re using. Relying on it in a production game would likely break on mobile.

We are going to lift the cap on text size for BillboardGuis with TextScaled=true. That way, the text won’t
“shrink” relative to the rest of the gui when you get too close.

We may even remove the cap on TextSize as well, and simply make it so large text is slightly blurry.

I would like to allow the use of excessively large but still crisply rendered text, but it will take a significant amount of engineering effort for pretty low gain.

If you are running a 4k monitor in 1x scaling, the only person you have to blame for everything being tiny (not just Roblox) is yourself. I use a 4k monitor with 2x scaling and don’t have any problems.