System Fonts in the Linux environment

Stimulsoft Reports.JAVA discussion
Post Reply
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

System Fonts in the Linux environment

Post 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.
Attachments
Report erro.JPG
Report erro.JPG (123.15 KiB) Viewed 5020 times
report erro 2.JPG
report erro 2.JPG (71.58 KiB) Viewed 5020 times
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: System Fonts in the Linux environment

Post by Vadim »

Hello.

You should install necessary fonts on Java server system.
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

Re: System Fonts in the Linux environment

Post 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?
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: System Fonts in the Linux environment

Post by Vadim »

Hello.

You should make sure that Stimulsoft app have access to fonts.
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

Re: System Fonts in the Linux environment

Post 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.
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: System Fonts in the Linux environment

Post 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.
Post Reply