sims2-4k-ui-patch icon indicating copy to clipboard operation
sims2-4k-ui-patch copied to clipboard

Investigate fractional scaling support

Open lah7 opened this issue 1 year ago • 0 comments

More of a curiosity, does fractional scaling (like 110% or 125%) work? Does the game support floating point numbers for its UI geometry and graphics?

For example, a 64x64 box or graphic:

Scale Pixels
100% 64 x 64
110% 70.4 x 70.4 ⚠️
120% 76.8 x 76.8 ⚠️
130% 83.2 x 83.2 ⚠️
150% (#37) 96 x 96
200% 128 x 128

Fractional scaling has its disadvantages. It's likely to cause subpixel rendering and potentially blurriness, depending on how we upscale the images.

ℹ️ Give this issue a 👍🏼 if you have a need for fractional scaling.

lah7 avatar Jun 13 '24 20:06 lah7