Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 2020 16:48:31 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Jesper Schmitz Mouridsen <jsm@FreeBSD.org>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: fonts under XWayland
Message-ID:  <7dxv-1zk0-wny@FreeBSD.org>
References:  <026d2097-5edd-2fbc-cb03-e8f4feb4d25c@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jesper Schmitz Mouridsen <jsm@FreeBSD.org> 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*'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7dxv-1zk0-wny>