From owner-freebsd-x11@freebsd.org Fri May 1 14:48:35 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 340052D77A8 for ; Fri, 1 May 2020 14:48:35 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49DFVq0DHTz4dsM; Fri, 1 May 2020 14:48:35 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id D52C413CD1; Fri, 1 May 2020 14:48:34 +0000 (UTC) From: Jan Beich To: Jesper Schmitz Mouridsen Cc: freebsd-x11@freebsd.org Subject: Re: fonts under XWayland References: <026d2097-5edd-2fbc-cb03-e8f4feb4d25c@FreeBSD.org> Date: Fri, 01 May 2020 16:48:31 +0200 Message-ID: <7dxv-1zk0-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2020 14:48:35 -0000 Jesper Schmitz Mouridsen writes: > Hi > > Using Xboard and xlsfonts i noticed the following sparse output from > xlsfonts > > with XWayland under sway.. > > -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 > -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1 > -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 > 6x13 > cursor > fixed These are built-in fonts, see "Font Path" from "xset q". > > All x11 fonts are installed. > > How do I specify fontsdirs for XWayland if possible? "xset fp+ dir1,dir2,dirN" for apps using X11 server to render fonts. Nothing for apps using freetype2 + fontconfig. The same is true for native X11. I've fixed xwayland-devel in ports r533550. Note, X11 server (Xorg or Xwayland) can't render fonts with antialising. $ pkg install dejavu xfontsel $ xset fp+ /usr/local/share/fonts/dejavu/ $ xfontsel -pattern '*dejavu*'