Arial font required in PDF (BIRT pdf renderer, Linux)

后端 未结 5 1725
北海茫月
北海茫月 2021-01-12 15:16

I\'ve created a rptdesign file using BIRT IDE. This file contents are in Arial font, when I export the report to PDF in windows it works fine.

I uses the default vie

5条回答
  •  逝去的感伤
    2021-01-12 16:15

    Try explicitly stating your path to the font like this:

    
       
    
    

    Setting this property (font-paths) cause the default fonts directory to be ignored in favor of only the paths in this set. This will make Arial the only available font for your PDF. To include the default fonts (TNR, Courier, etc...) add the default path (org.eclipse.birt.report.engine.fonts) under the eclipse plug-ins to you font-paths entries as well.

    You can also choose to just add Arial.ttf to the default directory and REMOVE ALL ENTRIES from font-paths and pick up the Arial type that way. Either way should work.

    Good Luck.

提交回复
热议问题