You are not logged in.

#1 2025-11-23 11:38:13

Xelvet
Member
Registered: 2014-02-20
Posts: 88

[SOLVED] harfbuzz freetype2 Xft dpi broken

having updated to the latest i had
xterm Xft dpi font rendering broken.
specifically in .Xresources i use
XTerm*faceName: JetBrains Mono Medium

i had to downgrader to harfbuzz 10.4.0-1 to resolve it.

the issue has not been addressed at least since june25.

Last edited by Xelvet (2025-11-23 17:34:26)

Offline

#2 2025-11-23 14:14:40

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,538

Re: [SOLVED] harfbuzz freetype2 Xft dpi broken

https://github.com/harfbuzz/harfbuzz/issues
Broken "how"?
According to the package description, harfbuzz is an optional dependency for freetype for "Improved autohinting", so it might cause different autohinting behavior by design?
Also what does the dpi have to do with it?

xdpyinfo | grep resol
xrdb -q | grep -i dpi

Offline

#3 2025-11-23 15:19:10

Xelvet
Member
Registered: 2014-02-20
Posts: 88

Re: [SOLVED] harfbuzz freetype2 Xft dpi broken

oh it appears that i had outdated aur
freetype2-ultimate5-2.12.1-1.pkg.tar.zst
installed instead of the latest extra/freetype2.
moreover it had the same freetype2 pacman
name so was sorta masquarading --

p -Qi freetype2
Name            : freetype2-ultimate5
Version         : 2.12.1-1

this thread can be mod removed now.

Offline

#4 2025-11-23 15:23:18

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,538

Re: [SOLVED] harfbuzz freetype2 Xft dpi broken

You can https://bbs.archlinux.org/misc.php?report=2273963 it for the dustbin if you want.

Offline

#5 2025-11-23 16:45:43

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,182
Website

Re: [SOLVED] harfbuzz freetype2 Xft dpi broken

Please mark the thread as solved.

https://wiki.archlinux.org/title/Genera … ow_to_post

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2025-11-24 06:49:20

Xelvet
Member
Registered: 2014-02-20
Posts: 88

Re: [SOLVED] harfbuzz freetype2 Xft dpi broken

actually i had perfect subpixel rendering  or
is it lcdfilter with this oldscool infinality5 patch.
and now with the latest vanilla freetype2 i see weird
reddish halos( & the patch is no longer available in the aur..

[spoiler]
pIArDQy.png
[/spoiler]

Last edited by Xelvet (2025-11-24 06:53:29)

Offline

#7 2025-11-24 08:20:10

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,538

Re: [SOLVED] harfbuzz freetype2 Xft dpi broken

Wrong subpixel layout?
https://wiki.archlinux.org/title/Font_c … xel_layout
Do you still have custom rules in /etc/fonts/conf.d or ~/.config/fontconfig/conf.d ?

Offline

#8 2025-11-24 14:29:29

Xelvet
Member
Registered: 2014-02-20
Posts: 88

Re: [SOLVED] harfbuzz freetype2 Xft dpi broken

custom? a bunch of symlinks. no combo actually removes this halo(
i've tried em all. now i remember why i had that patch in the 1st place.

10-hinting-full.conf | 10-sub-pixel-rgb.conf | 11-lcdfilter-default.conf |10-yes-antialias.conf

ai says the bytecode interpereter has been changed
& that old rendering is no longer available. so how to fix it?
seems i have to resort to downgrading that harfbuzz for now(

Offline

#9 2025-11-24 14:40:38

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,538

Re: [SOLVED] harfbuzz freetype2 Xft dpi broken

fc-conflist

Do you pivot the monitor or something like that?

Offline

Board footer

Powered by FluxBB