I´m using staroffice9 as service in a Solaris. With a Java aplication, with jodconverter-2.2.2, trying to convert a doc into a PDF, the PDF generated shows with wrong chars, and seems Fonts are not included. Opening with Adobe Reader, it say "Fonts not found..."
Reading PDF with text editor:
% CreateFontSubset failed for font "Arial" weight=5
% CreateFontSubset failed for font "Arial" italic weight=5
% CreateFontSubset failed for font "Arial" weight=8
% CreateFontSubset failed for font "Times New Roman" weight=5
% CreateFontSubset failed for font "Times New Roman" italic weight=5
% CreateFontSubset failed for font "Times New Roman" weight=8
% CreateFontSubset failed for font "Arial Narrow MT" weight=5
% CreateFontSubset failed for font "Arial Narrow MT" weight=8
% CreateFontSubset failed for font "Arial" italic weight=8
In my machine, fonts seems installed:
[xxxxxxxxxx ~]$ fc-list | grep Arial
Arial:style=Regular
Arial Hebrew:style=Regular
Arial Hebrew:style=Bold Italic
Arial:style=Bold Italic
Arial Narrow MT:style=Italic
Arial Narrow MT:style=Bold
Arial Narrow MT:style=Bold Italic
Arial Hebrew:style=Bold
Arial:style=Italic
Arial Hebrew:style=Italic
Arial Narrow MT:style=Regular
Arial:style=Bold
The question is, where staroffice9 service search for the Fonts resources? I tought was from system.
The problem was I had an old installation of OpenOffice and the temp files didn´t have deleted.
In my case, with user oracle, the temp files were in: /export/home/oracle/.staroffice
I deleted the old folder (.staroffice), restarted the service and itself created a new .staroffice folder.
Now, works properly.