FLUKA user interface font issues

Hi all,

I installed some other packages on Ubuntu 22.04.05 LTS, and while FLUKA still works, the fonts are no longer the same. At each entry I get “\u25be”, the program works fine, but the “\u25be” is quite irritating to see at every entry … Is there any way to reset the fonts and the way they are displayed in FLAIR? I have tried sudo apt-get update/upgrade but they haven’t been of much help.

For reference I am using Flair 3.3-1 with FLUKA 4-4.1.

Thanks again for your help,

Best regards,
Arpad

Hi @arpad
it seems to me that:

  1. either you are missing some system fonts that contain the unicode characters
  2. you have selected different fonts in the setup that do not have unicode characters
  3. you have a mix-up of python versions, e.g. you are running through anaconda

To eliminate/test:

  1. You can try to select different fonts from the flair configuration dialog (Flair → Config → Fonts). By default flair doesn’t ask for any specific font but uses the system sans serif fonts, asking for different font-size only
  2. you can run flair with a temporary ini file and check if everything is ok from the command line type: flair -i test.ini
  3. If you are using anaconda try to run flair without the anaconda environment using the standard python/packages from the system

Hi @vasilis,

Thank you for the suggestions!

There are no options to change fonts really? Is there a way to reset them to the default on (e.g. a command)? Below in the image is what I have for fonts:

This is how I run FLUKA FLAIR:

  1. Run the XLaunch application to create a virtual desktop for Linux to use (I use a WSL 2 on Windows 11, I use Ubuntu 22.04 LTS terminal version).
  2. export display command to tell ubuntu to use this virtual display
  3. run the “flair” command in the ubuntu terminal

I am using python 3.12.2, have the latest FLUKA (v4-4.1) and FLAIR (v3.3-1) installed.

I suspect you are right the system is using a font without the unicode characters, even in the menu points. The image attached should clarify.

Thank you for your help,

Best regards,
Arpad