Frage

I am using a new font on Birt 4.2.2 which is working fine on developers Windows machine, but not working on our Linux server which uses Websphere Application Server V8. I have changed the fontsconfig.xml as per this link and I had the same issue. Although, I can see that Birt processed my new fonts directory on the application server log file. Kindly advise.

Thanks a lot in advance.

War es hilfreich?

Lösung 2

I've solved the issue using below steps :
1- I executed those commands on the fonts directory (mkfontscale - mkfontdir)
2- Then I got the fonts encoding from the output files.
Output is something like that :
arial.ttf -monotype-arial-medium-r-normal--0-0-0-0-p-0-iso10646-1
3- I got iso10646-1 and all other encoding and put them on font-encodings section on fontsconfig.xml file
4- Then I added the font names under font-aliases section on fontsconfig.xml

And it works fine.
The issue was the font encoding wasn't properly set while rendering the PDF for some reason. So, I mapped the fonts encoding to the font names.

Thanks a lot for all who replied.

Andere Tipps

Just copy your font file under ../jre/lib/fonts directory and run commands "mkfontscale" and "mkfontdir". Restart application server after this.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top