Explorer Plugin and etc. strange StyleSheet float values on TextSize can cause blurry text, DPI issue, some StyleSheets have strange values

Description

Below is a GIF, where 17.597999572753906 is changing to 17.600000381469727.

These are the values the Explorer Plugin has that need to be fixed. Roblox should not set these strange float values on Text.

gif

So 17.598 has a more bad effect on the text compared to 17.6.

Please note that the font you see in the example is arial.ttf because I was testing stuff.

 

Here is a GIF where it traverses some float values that just distort the text.

gif2

This adds to Studio UI and overall Engine UI still has DPI issues, text and icons are and everything still blurry compared to Qt UIs and is suspicious to Roblox Studio - This loading window changes the DPI on its own, but why? DPI inconsistency

First the “W” changes, then “W” and “k”. Then “o”, “p” and “a”, and then a bunch of other letters.

 

So, there is a fix. I don’t know if it will fix everything, but it made the text less blurry. I do see some other issues, but at least I found something to start with.

 

Re-production Steps

Place and video are attached in the private message.

Expected Result

That every UI Roblox makes doesn’t use these strange float values. Or that text doesn’t go blurry in the first place.

Actual Result

When you usually set TextSize to 17.6, it sets it to 17. But Style Sheets seem to be a special exception? Because when using :GetStyled it returns something completely different.

Every UI Roblox made for instance has strange values that cause issues on text.

 


A private message is associated with this bug report

1 Like

Thank you for your report, this is a duplicate of Studio UI and overall Engine UI still has DPI issues, text and icons are and everything still blurry compared to Qt UIs

It isn’t. The bug report there just says there’s a DPI issue.

This one says that the Style Sheets that Roblox created and put around the Studio Plugins such as the Explorer, have strange float values that cause one of the DPI issues.

But this probably isn’t going to fix Studio UI and overall Engine UI still has DPI issues, text and icons are and everything still blurry compared to Qt UIs

The other one is not just about text, but also icons.

Thanks! We will have a look into stylesheets causing this!

1 Like

Thanks for the detailed report! This should be fixed for Studio now. The text size now gets rounded during rendering, so GetStyled may still return fractional values, but the text itself should stop have the strange stretching/squashing artifacts.

1 Like

The Explorer fixed these manually before the Engine.

There are still artifacts, and for some reason. It adjusts the text AFTER loading in. Meaning while it loads, the text is fuzzed.

Why is it “Colla borate” instead of “Collaborate” ? And the “t” at the end of “Asset”.

Copying stuff across these datamodels is annoying.

Edit:
The other fuzzing behavior, is from somewhere else, I guess.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.