6 ms·
Linux can have crappy font rendering. I can also have gorgeous font rendering. I would mess around with some live distros to see what you prefer. This is how
by dijit 4y ago
Linux can have crappy font rendering.
I can also have gorgeous font rendering. I would mess around with some live distros to see what you prefer.
This is how my comment looks to me (on linux): https://i.imgur.com/wvruFyX.png https://i.imgur.com/wvruFyX.png
- sinsterizme 4y agoHmm not sure if it’s the quality of the image or the font, but that might prove his point, that looks quite bad.
- mongol 4y agoIs not subpixel rendering of fonts impossible to illustrate unless you sit down in front of the same monitor (or at least similar hardware)
- deno 4y agoYes, doesn't have to be the same monitor but it needs to have the same subpixel orientation and you need to have the same resolution or 2x resolution and scale 50% so it pixel aligns. If you look at those screenshots on a 4K display they're incredibly blurry because all you're looking at is your browser doing image scaling optimized for photographs.
- deleted 4y ago[deleted]
- dijit 4y agoHow does it look for you?
- NoGravitas 4y agoIt's both. The image compression makes it not perfect, and it's also a monospaced font, which makes it impossible to say anything about the kerning.
- blacktulip 4y agoI hope the blurriness is because of image compression. Because if it is not, the rendering is really bad here.
- neoberg 4y agoIt looks very bad tbh. This is how my comment looks on Mac for comparison. Uploading to imgur to test if there is compression in play here. https://i.imgur.com/hSirmx6.png https://i.imgur.com/hSirmx6.png
- dijit 4y agointerestingly I much prefer mine. :\ I guess font rendering is very subjective.
- Terretta 4y agoSetting aside font selection and looking at rendering, yours is softer around the edges which may subjectively feel pleasant when looking at it as an image but is objectively worse for reading.
- unhammer 4y agohttps://i.imgur.com/ptUyCn0.png https://i.imgur.com/ptUyCn0.png another linux screenshot fwiw
- deno 4y agoYou're either using 200% scaling or browser zoom because I had to scale your image by 50% on a 4K display for it to look 100% sized. This is apples-oranges. And if you're looking at those other screenshots on a 4K display then you need to also zoom to 50% and get your eyes close the the display, otherwise you're just seeing the results of an image scaling algorithm, which will indeed look terrible. Here is Fedora/KDE/Flatpak/Firefox with default settings at 4K resolution and 100% browser zoom for comparison: https://i.imgur.com/s3ynhuj.png https://i.imgur.com/s3ynhuj.png Also with my preferred browser zoom: https://i.imgur.com/9PXDbxY.png https://i.imgur.com/9PXDbxY.png For the above images you'll need to zoom 50% on a 4K display, because PNG image files do not carry pixel density metadata. If you have 1080p display then you have to keep 100% zoom and sit far away instead.
- neoberg 4y agono I'm not using any zoom or extra scaling. It's the native scaling of mbp retina display. Screenshot is ~2 times bigger than what I actually see. edit: your second screenshot looks very sharp and nice on my display.
- donatj 4y agoThe kerning on your screenshot is very chunky. In particular look at the kerning on the lower case r’s in your screenshot. The r is given way too much horizontal space particularly to it’s right, especially so in the word “crappy”.
- skhr0680 4y agoI think it’s a monospace font, which makes the keming look bad
- account42 4y agoShouln't it be ke r n i ng instead of keming if you are talking about a monospace font.
- dijit 4y agoAH, that's because I'm using a monospace font for editing, normal pages use the normal font: https://i.imgur.com/otqaSTa.png https://i.imgur.com/otqaSTa.png
- eterm 4y agoThat looks horrible to me too, perhaps I'm used to windows but the word "comment" sticks out to me there as particularly bad.
- sph 4y agoIt's not even the right font, unless you're using custom CSS. The Hacker News stylesheet calls for "Verdana, Geneva, sans-serif", and your PC renders a serif font instead. Something's wrong with your fontconfig setup. What's your distro?
- dijit 4y agoI'm using Archlinux and/or Gentoo. Fontconfig is working fine but Verdana is a Microsoft font and Geneva is a Apple font. My font fallback for sans-serif is DejaVu Serif.
- grecy 4y agoThat honestly looks like something from a laptop in 1998. I haven't seen a screen that bad in a very long time.
- ntoskrnl 4y agoLook at the last word, "linux". In both the "n" and "u", the left stem is thin and crisp, but the right stem is thick and blurry. Maybe it doesn't bother you, but I couldn't put up with that if I were using it all day. You're right about trying different distros. Manjaro+Gnome does much better IMO: https://i.imgur.com/kiLDWzJ.png https://i.imgur.com/kiLDWzJ.png
- shawnz 4y agoThat seems pretty terrible to me, even discounting the fact that it's monospace (I use monospace for editing too). Especially notice how the letters have inconsistent thicknesses, sometimes thicker on the left vs the right or vice versa, sometimes even different thicknesses depending on where they appear in the sentence (e.g. look at the 'n')
- sph 4y agoThat screenshot is not very good at all, and I'm on Linux myself. You're just a few tweaks away from better rendering.
- dijit 4y agoWilling to be wrong of course, I suspect that what I'm seeing and what others are seeing are quite different. Perhaps there's a component of how the LCD is presenting it involved? to me my font is extremely uniform and sharp with no bleeding or blurring. What tweaks do you have? I used to run X11 and ran the gamut of x11 based font rendering tweaks (example of how my old machine looked: https://i.imgur.com/J9biJsW.png https://i.imgur.com/J9biJsW.png ) But with sway/wayland I have much less ability to change things.
- sph 4y agoThis screenshot looks better than the other of yours, but honestly I think it's more due how how antialiasing is rendered there vs in your Firefox screenshot. Additionally, for ages Linux had shipped with Full hinting, which means distorting the font so straight lines are always on integer pixel boundaries, which looks atrocious. These days distros like Fedora use Light hinting, which is a little better, and in my opinion No hinting looks best, which is what macOS does, but on a low DPI screen means having blurry font. So on low DPI screens you have the choice between distorted but clean fonts, or undistorted blurry fonts. I don't know about sway, in my case I'm using Fedora with 2x scaling, so I have the option of disabling hinting and avoiding distortion.