0

I've recently installed xMind on Ubuntu 24.04 and found a rather strange problem i've not encountered before using other Snap software. When trying to export a map as .png the file browser to save the file has no text just rectangular boxes. I have attempt to remove the font-cache with fc-cache -r but this doesn't seem to have worked in this case.

Running the program from a terminal gives a few more clues with this error;

[I 2024-06-05T15:05:44.174Z fonts] start get system fonts
[W 2024-06-05T15:05:44.230Z fonts] Error on doGetFontPaths [Error: ENOENT: no such file or directory, stat '/usr/share/fonts/cMap/Identity-UTF16-H'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: '/usr/share/fonts/cMap/Identity-UTF16-H'
}
[W 2024-06-05T15:05:44.231Z fonts] Error on doGetFontPaths [Error: ENOENT: no such file or directory, stat '/usr/share/fonts/cmap/Identity-H'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: '/usr/share/fonts/cmap/Identity-H'
}

I'm at a loss where to go from here. Has anyone else had this error and fixed it or can point me in the right direction.

2 Answers2

0

I ended up installing .deb file from official XMind site, which doesn't have such an issue (seemingly some font-files are missed in a snap package)

0

I have been undergoing with the same issue for pretty good amount of time.

What I tried doing with the snap:

  1. Rebuilt font cache
  2. Installed many sans fonts None of these helped... so

Solution:

  1. Use the flatpak version
  2. Directly install the .deb file from xmind's website