News for hackers. Stuff that matters.
Re:The end of the nice GTK button by von_lohengramm on Thursday March 24, 2022 @06:50PM (#30796431)
Any font rendering looks amazing on HiDPI panels. Have you ever used macOS on a normal monitor? The text looks worse than anything else.
Re:The end of the nice GTK button by jabbany on Thursday March 24, 2022 @06:59PM (#30796535)
This.

The devs and designers are all using 4k, 5k displays these days. Trying to use modern apps etc. on just "FHD" (1080p) displays is painful.

Re:The end of the nice GTK button by jandrese on Thursday March 24, 2022 @07:27PM (#30796815)
Over 2/3 of regular users are still using 1080p[1]. If your design looks bad on FHD then it looks bad to most people.

[1] https://store.steampowered.com/hwsurvey/Steam-Hardware-Softw...

Re:The end of the nice GTK button by badsectoracula on Friday March 25, 2022 @08:38AM (#30801391)
Perhaps a better survey would be the one by Firefox[0] since it isn't biased towards gamers. Basically HiDPI monitors are like a combined 2% of all Firefox users.

1080p usage is lower than on Steam but that is because 768p usage is higher :-P.

[0] https://data.firefox.com/dashboard/hardware

Re:The end of the nice GTK button by lmm on Thursday March 24, 2022 @07:45PM (#30796990)
Right, but it looks good on the designer's screen. That's the issue.
Re:The end of the nice GTK button by stjohnswarts on Friday March 25, 2022 @02:09AM (#30799135)
Just like programmers should have to run their apps on 10 year old computers and feel the pain, so should designers have to try their work on 10 year old monitors.
Re:The end of the nice GTK button by tonyedgecombe on Friday March 25, 2022 @06:36AM (#30800478)
>Over 2/3 of regular users

That isn't going to be the case for Apple users though is it. Apple don't have any non retina devices in their lineup now. The only Apple users who will see a low dpi display are those plugging in a low dpi external monitor. They are going to be a minority.

Re:The end of the nice GTK button by norenh on Thursday March 24, 2022 @08:31PM (#30797397)
I guess that is the reason why every musician should copy their master to a cassette tape and go to a shitty car with a tape-player and listen there, why every developer should have a very old crap-computer to run their software on and why every UX designer should have a crappy screen to view their design on. :-)
Re:The end of the nice GTK button by mikl on Thursday March 24, 2022 @06:58PM (#30796522)
For some value of “normal”. 4K (or better) monitors have long since become the choice for most of those who cares about how font rendering looks.

After a decade of “retina” screens, I’m ruined, I can’t stand the look of anti-aliased fonts, whether Windows, Linux or macOS.

Re:The end of the nice GTK button by von_lohengramm on Thursday March 24, 2022 @07:06PM (#30796601)
> 4K (or better) monitors have long since become the choice for most of those who cares about how font rendering looks.

This is the hardware solution to something that can be solved in software. If your game is laggy, of course upgrading to a 3090 is going to help, but that doesn't mean you're solving the problem.

Re:The end of the nice GTK button by azornathogron on Thursday March 24, 2022 @08:03PM (#30797159)
It can't be solved in software, due to the Nyquist limit: Sharp high-contrast edges (text) necessarily have high frequencies, and you need a high sampling rate (pixel density) to produce a good approximation of that signal. People have spent a lot of effort to push anti-aliasing techniques as far as they can go, but displays with higher pixel density are just better for displaying text.

I agree that if you are making something and your target audience will be using non-HiDPI displays, then you should actually design your thing on those displays too. But no matter how good your software is, pixel density places a limit on what you can achieve.

Re:The end of the nice GTK button by zozbot234 on Thursday March 24, 2022 @08:07PM (#30797190)
Pixel-perfect rendering (i.e. hinting) is needed in order to reach the Nyquist limit. By forgoing it, you're limiting yourself to an effective resolution that's only 0.7× or so the physical one,
Re:The end of the nice GTK button by mrob on Friday March 25, 2022 @07:03AM (#30800640)
Bitmap fonts (and hinted fonts are automatically generated bitmap fonts) are pixel art, so the Nyquist limit doesn't apply. In pixel art, the pixels are treated as little squares or rectangles, not band-limited point samples. This means you sacrifice the ability to display arbitrary shapes, but I'm not trying to reproduce printed text so I don't care.

I have perfectly sharp text on a 1080p monitor because I disable antialiasing in ~/.config/fontconfig/fonts.conf and force full hinting.

Re:The end of the nice GTK button by zozbot234 on Friday March 25, 2022 @08:32AM (#30801332)
Nitpicking, but a pixel is always a point sample, not a little square. The native medium for displaying pixel art is CRT displays, where these point samples are used to control an electron gun that introduces a Gaussian blur, basically the best case for purely analog upsampling (or DAC, rather) of a pixel raster. No little squares in sight, though! What you're talking about is using pixel-perfect control to reach the Nyquist limit, as mentioned in my sibling comment.
Re:The end of the nice GTK button by mrob on Friday March 25, 2022 @08:43AM (#30801452)
Pixel art is defined by treating pixels as little squares. There is no single native medium for displaying pixel art. The same techniques were used for games on portable systems with LCD displays. Additionally, there are many examples of printed art using blocky pixels.

The Nyquist limit is irrelevant to pixel art, because the Nyquist limit applies only to reconstructing signals from point samples. Using pixel art on a monochrome LCD (no subpixels), I can display signals with maximum frequency limited only by the sharpness of the edges of the little squares.