I have snapped a windows application that uses winforms using Mono: subtitle-edit
I am having an issue loading up any additional fonts; it seems to only load DejaVu Sans, and it seems that it only loads that because some of my dependencies require the dejavu sans font and it gets loaded into the snap. I know the desktop interface provides access to the system fonts, so I’m not sure why it is not loading any of the system fonts. I am also using the desktop-gtk2 helper.
I have tried unstaging -/etc/fonts and -/usr/share/fonts, but all that does is produce a crash when it can’t find any fonts to use.
I have produced a strace of the program running from a clean start after doing a snap remove --purge
, you can find it here but I have attached the most relevant part below at line 29803; it seems to be able to read /usr/share/fonts but then doesn’t access them?
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/fonts.conf", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/10-antialias.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/10-hinting-slight.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/11-lcdfilter-default.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans-mono.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/20-unhint-small-dejavu-lgc-serif.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/20-unhint-small-vera.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/30-metric-aliases.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/40-nonlatin.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/45-generic.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/45-latin.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/49-sansserif.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/50-user.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.config/fontconfig/fonts.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/51-local.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/57-dejavu-sans-mono.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/57-dejavu-sans.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/57-dejavu-serif.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/58-dejavu-lgc-sans-mono.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/58-dejavu-lgc-sans.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/58-dejavu-lgc-serif.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/60-generic.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/60-latin.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/65-fonts-persian.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/65-nonlatin.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/69-unifont.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/70-no-bitmaps.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/80-delicious.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/etc/fonts/conf.d/90-synthetic.conf", O_RDONLY|O_CLOEXEC) = 5
7670 openat(AT_FDCWD, "/usr/share/fonts", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/usr/share/fonts", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 EACCES (Permission denied)
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig/CACHEDIR.TAG.TMP-X5hkZm", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig/CACHEDIR.TAG.NEW", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7.TMP-NTFiL0", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7.NEW", O_RDWR|O_CREAT|O_CLOEXEC, 0666) = 4
7670 openat(AT_FDCWD, "/usr/local/share/fonts", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//4c599c202bc5c08e2d34565a40eac3b2-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//4c599c202bc5c08e2d34565a40eac3b2-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//4c599c202bc5c08e2d34565a40eac3b2-le64.cache-7", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//c08c472446ac9c7fba39bf6852ea012a-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//c08c472446ac9c7fba39bf6852ea012a-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//c08c472446ac9c7fba39bf6852ea012a-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//c08c472446ac9c7fba39bf6852ea012a-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//c08c472446ac9c7fba39bf6852ea012a-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//c08c472446ac9c7fba39bf6852ea012a-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//c08c472446ac9c7fba39bf6852ea012a-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//c08c472446ac9c7fba39bf6852ea012a-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//c08c472446ac9c7fba39bf6852ea012a-le64.cache-7.TMP-PPFsxE", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//c08c472446ac9c7fba39bf6852ea012a-le64.cache-7.NEW", O_RDWR|O_CREAT|O_CLOEXEC, 0666) = 4
7670 openat(AT_FDCWD, "/usr/share/fonts/truetype", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/usr/share/fonts/truetype", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 EACCES (Permission denied)
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7.TMP-hPVMji", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7.NEW", O_RDWR|O_CREAT|O_CLOEXEC, 0666) = 4
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//932021fcf4b2064333ad226236d3273a-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//932021fcf4b2064333ad226236d3273a-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//932021fcf4b2064333ad226236d3273a-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//932021fcf4b2064333ad226236d3273a-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//932021fcf4b2064333ad226236d3273a-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//932021fcf4b2064333ad226236d3273a-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//932021fcf4b2064333ad226236d3273a-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//932021fcf4b2064333ad226236d3273a-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//932021fcf4b2064333ad226236d3273a-le64.cache-7.TMP-zzug6V", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//932021fcf4b2064333ad226236d3273a-le64.cache-7.NEW", O_RDWR|O_CREAT|O_CLOEXEC, 0666) = 4
7670 openat(AT_FDCWD, "/usr/share/fonts/truetype/dejavu", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/usr/share/fonts/truetype/dejavu", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 EACCES (Permission denied)
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7.TMP-xXpipA", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7.NEW", O_RDWR|O_CREAT|O_CLOEXEC, 0666) = 4
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//0013ed25962ecb7e4f2a92abda77e317-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//0013ed25962ecb7e4f2a92abda77e317-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//0013ed25962ecb7e4f2a92abda77e317-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//0013ed25962ecb7e4f2a92abda77e317-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu", O_RDONLY|O_CLOEXEC) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//0013ed25962ecb7e4f2a92abda77e317-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/.cache/fontconfig//0013ed25962ecb7e4f2a92abda77e317-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/var/cache/fontconfig//0013ed25962ecb7e4f2a92abda77e317-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/x1/.fontconfig//0013ed25962ecb7e4f2a92abda77e317-le64.cache-7", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/snap/subtitle-edit/x1/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf", O_RDONLY) = 5
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//0013ed25962ecb7e4f2a92abda77e317-le64.cache-7.TMP-VASFNe", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 4
7670 openat(AT_FDCWD, "/home/nick/snap/subtitle-edit/common/.cache/fontconfig//0013ed25962ecb7e4f2a92abda77e317-le64.cache-7.NEW", O_RDWR|O_CREAT|O_CLOEXEC, 0666) = 4