Page 1 of 1

System Fonts in the Linux environment

Posted: Mon May 17, 2021 12:58 pm
by Manuel Costa
Good morning gentlemen so I have the following scenario I had a Windows environment and in it all "System Fonts" like Arial, Arial Black, Calibri and the others were displayed normally in the formatting of the written texts but when I migrated to a Linux environment, I didn't find it these text fonts in the "System fonts" and the word formatting are totally wrong, according to the attached images where I show the "System fonts" and the text with completely incorrect characters, would you like to know what to do in this scenario? How to make the Report recognize these "System Sources", for example.

I emphasize that in the image that displays the system fonts it would be from another windows environment, in linux these are not displayed.

Re: System Fonts in the Linux environment

Posted: Wed May 19, 2021 2:05 pm
by Vadim
Hello.

You should install necessary fonts on Java server system.

Re: System Fonts in the Linux environment

Posted: Wed May 19, 2021 6:44 pm
by Manuel Costa
I see, can you ask me a question? If I install the fonts and the Report installed on the Linux system does not recognize what I can do?

Re: System Fonts in the Linux environment

Posted: Fri May 21, 2021 12:27 pm
by Vadim
Hello.

You should make sure that Stimulsoft app have access to fonts.

Re: System Fonts in the Linux environment

Posted: Fri May 21, 2021 1:28 pm
by Manuel Costa
Oh I see, do you have a manual on this or can you explain to me how to carry out this process? For it is the first time that I face this scenario and would like help.

Re: System Fonts in the Linux environment

Posted: Wed May 26, 2021 9:46 am
by Vadim
Hello.

We use standard Java method to display available fonts:

Code: Select all

GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();
String envfonts[] = gEnv.getAvailableFontFamilyNames();
You should install fonts according to your system manual.