Ohhh, very interesting. I don't have a 4k screen to test with, could you run this command (make a save beforehand) and let me know if the lower text looks good?
/c
local player = game.player
local position = player.position
rendering.draw_text{
surface = player.surface_index,
color = {1, 1, 1},
target = position,
text = "1.5 scale: Hello World! (what the mod currently uses)",
scale = 1.5,
scale_with_zoom = true,
vertical_alignment = "middle",
}
position.y = position.y + 4
rendering.draw_text{
surface = player.surface_index,
color = {1, 1, 1},
target = position,
text = "3 scale: Hello World!",
scale = 3,
scale_with_zoom = true,
vertical_alignment = "middle",
}
And I'd be curious what the output from /c game.print(serpent.line(game.player.display_resolution))
prints for you.
All that said, that's me just being curious and wanting to make sure I grasp the concept fully. What I'll likely do is scale the text with the display scale, because it currently does not and it looks like the text should be 2x as big for you to make it readable.