--force-device-scale-factor looks blurry because it does more than change a number. It tells Chromium to paint at that scale. Set it to 1 on a Retina display and the browser paints one pixel where the panel has four, then the image is stretched up to fill the window, and text goes soft. If all you wanted was for pages to read a different devicePixelRatio, the switch is the wrong tool.
We used it for exactly that, and it is how a quarter of our profiles came out blurry.
What we measured
Each Mosaic profile claims a screen, and the screen comes with a device pixel ratio: 2 for a Retina MacBook, 1 for most external monitors. For a long time the engine claimed it with Chromium's own --force-device-scale-factor. The comment defending that choice said the switch was better than a change in the engine because it "moves the compositor as well as devicePixelRatio, so the page really is rendered at the claimed scale".
It does move the compositor, and that was the bug. The report came from inside the product: profiles look blurry. Measured on a 3024x1964 Retina panel, with one window kept at 800x513 CSS pixels throughout:
no flag, or force=2 painted 1600x1026 device pixels
force=1 painted 800x513 device pixels
The window covers the same physical area in both rows. In the second it holds a quarter of the pixels, scaled up. Four draws in sixteen on that machine claim a ratio of 1, which is every external monitor in our device catalogue, so roughly one profile in four was painting at a quarter of the panel's resolution.
People hit the same thing from the other direction. Electron's issue tracker has threads going back to 2015 where --force-device-scale-factor=1 is passed to fix blur on a fractional scale, and the cost reported back is a window whose text and menus shrink. Either way, the switch decides the rendering scale for the whole window.
Every profile is drawn from one real computer, not from separate listsIn Mosaic: Machines that exist. GPU, screen, CPU and fonts from one real device. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.
Mosaic is a desktop app
Email yourself the link and open it on your computer.
How it works: Machines that exist
The reason for the flag was testable, and false
The argument for the switch was that a ratio only JavaScript could see would be contradicted by the first toDataURL() of a rendered page. A canvas, though, has its own backing store, and its width and height are in canvas pixels, not device pixels. So we drew the same canvas at a forced factor of 1 and of 2:
canvasBacking 300x150 dataUrlBytes 5430 pixelHash 80f76a1b (both)
Byte for byte the same. The canvas was the surface the switch was meant to keep honest, and it cannot see the scale factor in the first place.
What the engine does instead
Tesseract Chrome, our engine, is stock Chromium source with our own changes, and one of them moves the value where it is reported and nowhere else. A page reads the ratio through two places in Blink:
LocalDOMWindow::devicePixelRatio, which is whatwindow.devicePixelRatioreturns to script.MediaValues::CalculateDevicePixelRatio, which answers theresolutionand-webkit-device-pixel-ratiomedia queries, picks thesrcsetcandidate, and fills the DPR client hint.
Both now return the profile's claimed value, set by our own --fingerprint-device-pixel-ratio switch. Changing only the first would have left a page able to ask matchMedia('(resolution: 2dppx)') and get the real answer, and a value that differs between script and CSS is a louder signal than either value alone.
LocalFrame::DevicePixelRatio is left alone on purpose, even though both of those call into it. Paint, cull-rect updates and style resolution read it too, so changing it would have put the blur back one level down. The job here was to find the callers to avoid.
Checked through the running app on two of the profiles that used to be soft:
claimed 1 (1920x1080) page reports 1, (resolution: 1dppx) true, paints at 2x
claimed 1 (3440x1440) page reports 1, (resolution: 1dppx) true, paints at 2x
The page sees a 1x screen, and the window is drawn at the panel's full resolution.
If you are using the switch yourself
If your Chrome or Electron app is blurry and the command line has --force-device-scale-factor on it, take it off first. If the value matches the display's own scale, it changes nothing; if it is lower, you are painting fewer pixels than the screen has, and nothing downstream can add the detail back.
The broader lesson for us is that a switch which changes what the browser does is a behaviour change that happens to move a value. Check what else it moves before you use it as a fingerprint. How the screen values a profile claims are drawn together is in real fingerprints, and another CSS route to the same screen, the one a detector used against an earlier version of the engine, is in the device-width media query.
Sources
- MDN: Window.devicePixelRatio, read November 3, 2026
- MDN: resolution media feature, read November 3, 2026
- Electron issue 3349: blurry rendering on high-DPI after the Chrome 45 upgrade, read November 3, 2026





