News for hackers. Stuff that matters.
Re:Show HN: Lite – A small, fast text editor by c-smile on Saturday May 09, 2020 @03:39PM (#23127701)
Yes, the rendering implementation uses gray-scale antialiasing.

But system uses ClearType - compare rendering in window caption (rendered by Windows) and the text inside client area.

Gray-scale may work on high-DPI monitors, but on typical monitors it will be blurry.

But Apple and Microsoft still use ClearType even on high-dpi monitors.

For that matter, Sublime Text, that uses similar architecture (but Python instead of Lua), uses ClearType.

Re:Show HN: Lite – A small, fast text editor by ubercow13 on Saturday May 09, 2020 @04:39PM (#23128137)
Apple removed all subpixel antialiasing on Mojave [1] and on Windows it isn't used for any 'modern' app using UWP onwards afaik

[1] https://arstechnica.com/features/2018/09/macos-10-14-mojave-...

Re:Show HN: Lite – A small, fast text editor by allenbrunson on Saturday May 09, 2020 @06:59PM (#23128935)
well, apple certainly de-emphasized subpixel antialiasing.

i am still using a non-retina monitor for all of my day-to-day work. when i first installed mojave, it made my display look so bad that it gave me headaches. so i wiped my mac entirely and re-installed the previous version of macos. later, i learned that subpixel anti-aliasing is still there, it just takes some fiddling to get it back.

https://www.howtogeek.com/358596/how-to-fix-blurry-fonts-on-...

eventually, i will have to get with the program and buy a retina display. but i am thankful for this loophole that allowed me to put it off for awhile.

Re:Show HN: Lite – A small, fast text editor by macintux on Saturday May 09, 2020 @07:28PM (#23129080)
I just purchased an HP Z27 (4K 27”) because I couldn’t deal with the low-res monitors I had at home. The high quality monitors in my office had really spoiled me.

I’m so glad I did. Night and day difference.

Re:Show HN: Lite – A small, fast text editor by z3t4 on Sunday May 10, 2020 @07:08AM (#23131728)
It has become a challange to have a sane default for text rendering. Many users are still on really bad LCD monitors with low contrast. Macbooks also does 2x scaling. On a 4k monitor on PC i recommend fractional scaling eg 1.5 but as an app dev you cant control that. So do you increase text size to make up for the small pixels, or do you leave that up to the user.
Re:Show HN: Lite – A small, fast text editor by c-smile on Saturday May 09, 2020 @06:45PM (#23128876)
Mea culpa, thanks.
Re:Show HN: Lite – A small, fast text editor by chrisseaton on Saturday May 09, 2020 @04:45PM (#23128171)
> But Apple and Microsoft still use ClearType even on high-dpi monitors.

This isn't true.

Re:Show HN: Lite – A small, fast text editor by pvg on Saturday May 09, 2020 @04:28PM (#23128040)
I don't think Apple uses ClearType and OS X defaults to no AA on retina displays.
Re:Show HN: Lite – A small, fast text editor by c-smile on Saturday May 09, 2020 @03:43PM (#23127726)
Yet, there is no support (yet?) for RTL languages.