HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
snowie2000
mactype
C++2018–2026
snowie2000 / mactype

mactype

Better font rendering for Windows.

14Distinct people
15Mentions
0Explicit recommenders
12KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Better font rendering for Windows.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year15 dated mentions

Observed mentions: 2018-07-07 14:44:47 UTC to 2026-01-10 06:15:56 UTC.

012342018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC413
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC312
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC202
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC202
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

15 sources
I've recently been learning about how fonts render based on subpixel layouts in monitor panels. Windows assumes that all panels use RGB layout, and their ClearType software will render fonts with that assumption in mind. Unfortunately, this leads to visible text fringing on new display types, like the alternative stripe pattern used on WOLED monitors, or the triangular pattern used on QD-OLED. Some third-party tools exist to tweak how ClearType works, like MacType[1] or Better ClearType Tuner[2]. Unfortunately, these tools don't work in Chrome/electron, which seems to implement its own font rendering. Reading this, I guess that's through FreeType. I hope that as new panel technologies start becoming more prevalent, that somebody takes the initiative to help define a standard for communicating subpixel layouts from displays to the grap
Read the rest
hics layer, which text (or graphics) rendering engines can then make use of to improve type hinting. I do see some efforts in that area from Blur Busters[3] (the UFO Test guy), but still not much recognition from vendors. Note I'm still learning about this topic, so please let me know if I'm mistaken about any points here. [1] https://github.com/snowie2000/mactype [2] https://github.com/bp2008/BetterClearTypeTuner [3] https://github.com/microsoft/PowerToys/issues/25595
In Memory safety for web fonts
I'm curious - when you were doing research into the mechanics of hinting options, did you stumble onto any relevant discussion around allowing custom pixel geometries to be defined, to enable hinting on modern OLED / WRBG displays? There's a good thread on the topic here[0], with some people referring to it as 'ClearType 2' on the MS side [1]. On the oss side I know FreeType theoretically supports this[2], but I can't quite figure out how relevant the FreeType backend is to this most recent work. This is great work btw. [0]: https://github.com/snowie2000/mactype/issues/932 [1]: https://github.com/microsoft/PowerToys/issues/25595 [2]: https://freetype.org/freetype2/docs/reference/ft2-lcd_render...
In Fractional scales, fonts and hinting
HDMI 2.0 is capable of doing 4k @ 120Hz, but only up to YCbCr 4:2:0 8bit instead of the full YCbCr 4:4:4 10bit (though I'm not sure how close wayland is to 10bit support). It will be fine for gaming, just not for everyday PC use. FWIW I also didn't realise this until just now. I've been running my desktop at 4k@120hz recently for the buttery smooth neovide, but have been noticing that text rendering, especially syntax-highlighted text, looks awful. I'd seen the same oled panel render text way better in WSL/Windows (both using a custom pixel geometry[0] via Mactype, but also without), so I spent more time than I'm willing to admit to wrapping my head around custom pixel layouts and hinting in freetype. But no, turns out it was this all along. If you want to see the effect of 420 vs 444 chroma subsampling on text rendering, this writeup[1]
Read the rest
has some great test images and is well worth a read. Also, if you happen to have an LG OLED panel, you can get a little debug window that confirms your signal format and refresh rate, by pressing the green button on the remote 7-8 times. [0]: https://github.com/snowie2000/mactype/issues/720 [1]: https://www.rtings.com/tv/learn/chroma-subsampling
In HDMI Forum Rejects Open-Source HDMI 2.1 Driver Support Sought by AMD
It basically patches/intercepts system-wide text drawing calls, and does its own drawing instead. There are some hints how it works here https://github.com/snowie2000/mactype/wiki/Secure-Boot I played around with this back when I used Windows, maybe 5 years ago (so my opinion may be out of date). It made text look better on the laptop screen (high dpi) but worse on external monitors (low dpi). That made sense because Apple doesn't sell anything with a low dpi display, but Windows still needs to care about them, so it does a lot of extra stuff like font hinting to make rendering look good as dpi scales down.
In MacType: Better font rendering for Windows
There are screenshots in issue [0] shared by users. My MacType profile repo [1] also has screenshots for comparison. You might see differences between screenshots because MacType works with a profile containing customizable configurations which can tweak font rendering behaviors as per demands (and I think this is why the README does not include screenshots). [0] https://github.com/snowie2000/mactype/issues/557 [1] https://github.com/chawyehsu/mactype-profile#screenshots
In MacType: Better Font Rendering for Windows
There are screenshots in an issue on their bug tracker[0]. This is an interesting project—Windows’s font rendering is definitely one of the things I dislike about it the most—and they are doing themselves a disservice by not actually explaining clearly what it is or does. I wish Microsoft would provide a font rendering mode like this by default since from reviewing some of the wiki & README it sounds like this is some crazy hack that hooks into apps to intercept calls to DirectWrite and GDI and might break the entire OS. [0] https://github.com/snowie2000/mactype/issues/557
In MacType: Better Font Rendering for Windows
Then actually it might not help you too much... it's really a replacement font rendering engine for Windows (initially Windows GDI rendering and now they're adding in support for DirectWrite). It uses FreeType with various parameters to make the font rendering look more like macOS (in a nutshell: macOS doesn't use aggressive hinting to force the font shapes into the pixel grid, which makes it blurrier but more accurate on low-resolution screens; Windows does, and so it looks sharper on low-resolution screens). However while looking around at a bug report to get MacType to work in Firefox [0] I came across a setting in Firefox's about:config [1] that can change the font rendering and that might help you out. Not sure about the history forking thing but there may be some Firefox extension to help with that. [0] https://github.com/snowie20
Read the rest
In Vue 3 drops IE11 support plan

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.