Colibri weston, xwayland fonts not appearing

I am migrating an X11 based kiosk application from a Debian PC ATX setup to the colibri imx6dl SOM and a bespoke carrier board with screen/touch panel and rtc. The SOM and hardware is already in use in existing products using a Toradex yocto linux from 8 years ago.
I have built the base system from source of the 6.2 reference multimedia image. Following the Toradex web page guides I have sorted the device tree, kernel modules and cross compiled my application. I have set weston.ini to run the kiosk-shell and I can start Xwayland, followed by my application, which shows ok on the screen.
But my application is looking for some standard Xorg ISO fonts which are not present in the multimedia image.
I have copied the fonts across to the /usr/share/ folder and fc-list shows them on the system as well as the previously existing true type fonts. But if I run xlsfonts (which I cross compiled from source) into the Xwayland server I only see:
-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

Can anyone point me at some help on how to get the Xwayland / Weston set up to see all the fonts on the system please ?
Thanks
Ian

I am now going to show very bad form by replying to my own post.
Lucky today I had some help from a colleague.
We ran strace on the Xwayland process and then ran the xlsfonts program. This section is of interest from the trace and shows where XWayland is looking for the fonts.
I moved them to those folders and they are now showing as available. Simple really :slight_smile:

pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/misc/fonts.dir”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
[pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/misc/fonts.alias”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
[pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/TTF/fonts.dir”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
[pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/TTF/fonts.alias”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
[pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/OTF/fonts.dir”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
[pid 617] 22:17:29 — SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} —
[pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/OTF/fonts.alias”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
[pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/Type1/fonts.dir”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
[pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/Type1/fonts.alias”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
[pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/100dpi/fonts.dir”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
[pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/100dpi/fonts.alias”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
[pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/75dpi/fonts.dir”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
[pid 617] 22:17:29 — SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} —
[pid 617] 22:17:29 openat(AT_FDCWD, “/usr/share/fonts/X11/75dpi/fonts.alias”, O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)

Hello @ianatise,

Thanks for the post and for sharing your progress! Looks like it is solved for you then. Is that correct?