You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like there may be some image scaling issues going on. I made a comparison picture of Servo vs. Firefox rendering the home screen (Firefox is the top result and Servo is the bottom):
There are some pretty noticeable aliasing and legibility problems with the Servo example.
Looking at this more I am fairly sure that it's an image scaling issue with Servo. I noticed that the Moiré demo tile appears noticeably different in Servo and Firefox when they both load the Browser.html homepage. So I tried independently scaling the original 800 x 500 tile using bicubic, bilinear, and nearest neighbour scaling to 160 x 100 to match the Browser.html homescreen.
Results:
And here is the Browser.html homescreen (Firefox top, Servo bottom):
Firefox looks to be using bicubic or bilinear scaling while Servo looks to be using nearest neighbour which explains why the tiles look more pixelated.
I don't know if it's worth keeping the issue open for an obsolete example but I saved a local copy of the Browser.html files and tried testing this out again and the issue has still not been fixed.
Activity
Coder206 commentedon Jun 30, 2016
This is also the case for Windows 10.
paulrouget commentedon Jun 30, 2016
non-hidpi display?
metajack commentedon Jun 30, 2016
@Coder206 what do you mean? which icons? I definitely added high dpi support to Windows, and it hasn't regressed that I've seen.
Coder206 commentedon Jun 30, 2016
@paulrouget @metajack
fabricedesre commentedon Jun 30, 2016
Yep. Good old thinkpad 1366x768 pixels at 96dpi.
Coder206 commentedon Jun 30, 2016
@metajack How can I tell that I have hidipi on Windows?
cbrewster commentedon Jun 30, 2016
Is this on a debug or release build. I noticed the images looked blurry on debug, but fine on release.
Coder206 commentedon Jul 1, 2016
@ConnorGBrewster For me (^): release.
fabricedesre commentedon Jul 1, 2016
Same on release & debug for me.
cbrewster commentedon Jul 6, 2016
I have noticed that non-wr causes these icons to look pixelated. WR is not enabled by default on Windows, correct?
jdm commentedon Jul 6, 2016
WR is not default anywhere yet.
cbrewster commentedon Jul 6, 2016
@jdm I mean -b implies -w except on Windows.
Edit: now that I look, it looks like -w is also passed when using -b on Windows.
jdm commentedon Jul 6, 2016
No, -w is used on all platforms: https://dxr.mozilla.org/servo/rev/c4aaedab32eb906ff715b850b641d2a75536e73d/python/servo/post_build_commands.py#114
atouchet commentedon Jun 11, 2017
It looks like there may be some image scaling issues going on. I made a comparison picture of Servo vs. Firefox rendering the home screen (Firefox is the top result and Servo is the bottom):
There are some pretty noticeable aliasing and legibility problems with the Servo example.
metajack commentedon Jun 13, 2017
cc @jonathandturner
sophiajt commentedon Jun 13, 2017
@atouchet - what hardware/OS are you running? I've noticed different things with different video cards
atouchet commentedon Jun 13, 2017
@jonathandturner Windows 10 with Nvidia GeForce GTX 580.
sophiajt commentedon Jul 4, 2017
Now that I have my laptop back, I can repro this. Seems like it's particular to certain video cards/resolutions.
atouchet commentedon Jul 8, 2017
I tried re-testing this with a Nvidia GeForce GTX 1050 Ti and I am still getting the same issue. For what it's worth I am also using a 1080p monitor.
[-]b.html icons look pixelated[/-][+]Browser.html icons look pixelated[/+]atouchet commentedon Oct 17, 2017
Looking at this more I am fairly sure that it's an image scaling issue with Servo. I noticed that the Moiré demo tile appears noticeably different in Servo and Firefox when they both load the Browser.html homepage. So I tried independently scaling the original 800 x 500 tile using bicubic, bilinear, and nearest neighbour scaling to 160 x 100 to match the Browser.html homescreen.
Results:
And here is the Browser.html homescreen (Firefox top, Servo bottom):
Firefox looks to be using bicubic or bilinear scaling while Servo looks to be using nearest neighbour which explains why the tiles look more pixelated.
mrobinson commentedon Nov 6, 2025
This is difficult to address as browser.html is no more.
atouchet commentedon Nov 6, 2025
I don't know if it's worth keeping the issue open for an obsolete example but I saved a local copy of the Browser.html files and tried testing this out again and the issue has still not been fixed.
mrobinson commentedon Nov 6, 2025
@atouchet If we could make a minimized test case, perhaps a page with just one image that would be super useful!
atouchet commentedon Nov 7, 2025
I haven't had time to create a minimized test case but for reference this is the source for Browser.html's newtab.html file:
And the tile images all appear to be 800 x 500 PNGs.