Re:Show HN: X-spreadsheet – A JavaScript canvas spreadsheet ...
by Avery3R on Tuesday January 29, 2019 @07:32PM
(#19031416)
It's not oversampling, it's native sampling. On high DPI displays browsers automatically apply a zoom to the page, so the canvas ends up being a smaller size that gets blown up. You have to detect this and create the canvas bigger to begin with to counteract this.
Yet all that with the price of memory and CPU consumption - number of pixels to rasterize on 192 PPI monitor is four times of the one with "standard" 96 PPI.