Package Details: freetype2-qdoled 2.13.3-1

Git Clone URL: https://aur.archlinux.org/freetype2-qdoled.git (read-only, click to copy)
Package Base: freetype2-qdoled
Description: freetype optimized for QD-OLED subpixel layout
Upstream URL: https://www.freetype.org/
Licenses: FTL OR GPL-2.0-or-later
Conflicts: freetype2
Provides: freetype2, libfreetype.so
Submitter: crimist
Maintainer: crimist
Last Packager: crimist
Votes: 7
Popularity: 0.23
First Submitted: 2024-01-17 04:03 (UTC)
Last Updated: 2025-01-03 03:11 (UTC)

Required by (1725)

Sources (5)

Pinned Comments

crimist commented on 2024-03-09 09:42 (UTC) (edited on 2025-03-14 22:02 (UTC) by crimist)

This package targets the 34" Gen 1 QD-OLED panel pixel layout.

You may look into modifying FREETYPE_PROPERTIES to your preferences as well.

Font rendering is applied globally so text fringing will appear on your non QD-OLED monitors with this package installed.

Latest Comments

1 2 Next › Last »

crimist commented on 2025-07-15 18:22 (UTC)

Yeah, you could edit the subpixel patch to use those values instead for WOLED. It won't work at all with this patch. If you're unfamiliar with how to do this I'd be happy to publish & maintain a WOLED patch since it's so similar to this one.

I don't believe there's any easy to way to add a "category" switch since I'm just changing the hard coded layout values at compile time. I haven't poked around the source much though. Hopefully they add better support for other pixel layouts upstream.

Feel free to send me a WOLED to test though ;)

zebulon commented on 2025-07-15 08:41 (UTC) (edited on 2025-07-15 10:41 (UTC) by zebulon)

Hi. How does this perform with WOLED panels (such as from LG)? The subpixels use RWGB (W being a white subpixel used to increase luminance). Those panels are very different, the 4 subpixels being vertical, successive bars, whereas QD-OLED rather use kind of triangular patterns (and different ones, depending on generation).

EDIT: answering to myself, the pixel hinting values are discussed here for WOLED: https://github.com/snowie2000/mactype/issues/720#issuecomment-1879830481 These values could be used in an equivalent patch for WOLED I guess. And instead of overriding the RGB category, would it be possible to add QD-OLED and WOLED categories?

crimist commented on 2025-03-14 22:00 (UTC)

Yeah currently the font rendering is global. I'm not even sure what part of the stack would require changes to support per display font rendering. I'm guessing it's at the DE/Window Manager/Compositor level?

If anyone ever files issues for this feel free to link them here.

nxij commented on 2025-03-14 14:09 (UTC)

Thanks! It's a considerable improvement on the 3rd gen QD-OLED panel on the MSI 322URX.

My secondary IPS screen now experiences fringing instead but can't have both I guess.

crimist commented on 2024-11-04 20:39 (UTC) (edited on 2024-11-10 21:49 (UTC) by crimist)

You're welcome!

This package replaces the default subpixel geometry of freetype2. I've been testing KDE with HDR enabled and found "None" applies the default subpixel geometry.

Unfortunately monitor engineers can barely seem to get monitor firmware right so I can't imagine Linux font rendering is on their radar. With that said given that KDE already has options to change subpixel geometry I'm guessing one could open a PR with them to add gen1 QD-OLED to the list of options.

lanwatch commented on 2024-11-04 12:54 (UTC) (edited on 2024-11-05 16:55 (UTC) by lanwatch)

Thanks a lot for this!

Worked on my AW3423DWF, in KDE when enabling RGB sub-pixel rendering on the fonts option of the system settings (not with the other arrangements, I guess this replaces the default RGB?). It would be nice to add it as a properly supported option.

Also had to add --disable-lcd-text to electron apps (such as VS Code) and chrome.

[Edit: turns out chromium uses Skia which on linux uses freetype underneath, my vscodium renders fine without disable-lcd-text (which is a fallback to grayscale mode)]

Since this is mostly a hack, it would be nice if Dell, Samsung, LG... engineers submit patches to freetype2, KDE, Gnome, etc. to properly support their screens.

crimist commented on 2024-05-19 05:15 (UTC)

I tried different FREETYPE_PROPERTIES configurations as suggested online but ultimately found this package and no FREETYPE_PROPERTIES to look the best. I have yet to find a way to make it as good as an RGB LCD but the font rendering hasn't bothered me since I got used to it after the first week of ownership.

Regardless, feel free to share your FREETYPE_PROPERTIES for others to try. I won't have access to my AW3423DWF for 3 months but other users can comment.

Seqularise commented on 2024-05-01 17:54 (UTC)

Hi, i`ve just got aw3423dwf and trying to make text right. For now with patched freetype and stem-darkening variables text quality has been improved but not to full extent, can you share your experience with this?

crimist commented on 2024-03-09 09:42 (UTC) (edited on 2025-03-14 22:02 (UTC) by crimist)

This package targets the 34" Gen 1 QD-OLED panel pixel layout.

You may look into modifying FREETYPE_PROPERTIES to your preferences as well.

Font rendering is applied globally so text fringing will appear on your non QD-OLED monitors with this package installed.

chaos2theory commented on 2024-02-11 21:49 (UTC)

Thank you - working great now!