NetBSD Problem Report #60991

From www@netbsd.org  Tue Nov 10 23:21:10 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C08531A923B
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 10 Nov 2026 23:21:10 +0000 (UTC)
Message-Id: <20261110232109.976571A923C@mollari.NetBSD.org>
Date: Tue, 10 Nov 2026 23:21:09 +0000 (UTC)
From: nia@pkgsrc.org
Reply-To: nia@pkgsrc.org
To: gnats-bugs@NetBSD.org
Subject: fontconfig prefers Luxi Type1 fonts for Latin text, which are extremely ugly
X-Send-Pr-Version: www-1.0
X-From4GNATS: "nia@pkgsrc.org via gnats" <gnats-admin@NetBSD.org>

>Number:         60991
>Category:       xsrc
>Synopsis:       fontconfig prefers Luxi Type1 fonts for Latin text, which are extremely ugly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 10 23:25:01 +0000 2026
>Last-Modified:  Tue Nov 10 23:30:03 +0000 2026
>Originator:     nia
>Release:        netbsd-11, netbsd-10
>Organization:
The NetBSD Fontdation
>Environment:
>Description:
fontconfig's default configuration seems to prefer, of all fonts
installed with NetBSD, the Luxi Type1 fonts. These are an odd choice
since they seem to be difficult for freetype to render properly,
resulting in extremely ugly on-screen text.
>How-To-Repeat:
boot up freshly installed netbsd, then:

# startx
# pkg_add basilisk
# basilisk https://en.wikipedia.org

Observe extremely ugly font rendering.
>Fix:
Adjust xsrc/external/mit/fontconfig/dist/conf.d/60-latin.conf to remove
the Luxi entries.

Liberation Sans and Bitstream Vera Sans are both available in NetBSD
base and are much better choices.

A similar change unfortunately needs to be made in pkgsrc since
many applications will use fontconfig from pkgsrc, which overrides the
base system's configuration.

>Audit-Trail:
From: "Nia Alarie" <nia@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/60991 CVS commit: xsrc/external/mit/fontconfig/dist/conf.d
Date: Tue, 10 Nov 2026 23:28:22 +0000

 Module Name:	xsrc
 Committed By:	nia
 Date:		Tue Nov 10 23:28:22 UTC 2026

 Modified Files:
 	xsrc/external/mit/fontconfig/dist/conf.d: 60-latin.conf

 Log Message:
 Adjust fontconfig's default preference order to prefer Bitstream Vera
 and Liberation fonts over the Luxi Type1 fonts, which freetype struggles
 to render.  Helps make the default text rendering better in e.g.
 GTK applications and web browsers.

 XXX this change also needs to happen in pkgsrc.

 PR xsrc/60991: fontconfig prefers Luxi Type1 fonts for Latin text, which
 are extremely ugly


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.5 -r1.2 \
     xsrc/external/mit/fontconfig/dist/conf.d/60-latin.conf

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.