fonts under XWayland

Jan Beich jbeich at FreeBSD.org
Fri May 1 14:48:35 UTC 2020


Jesper Schmitz Mouridsen <jsm at 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*'


More information about the freebsd-x11 mailing list