0

I have made reports using BIRT report designer by eclipse. I want to generate code 128 barcode via font. In my Report Viewer, barcode is working well. But when I exported it into Java (calling the birt report viewer to display), it did not display as barcode. It is displayed a plain text.

I already installed code 128 font in my windows system's font. Do I need to install something else?

regards, yanyan

  • *What am I missing here?* - some code – Scary Wombat Feb 14 '18 at 02:14
  • *"What am I missing here?"* - The font? – MadProgrammer Feb 14 '18 at 02:17
  • @MadProgrammer I already have the font installed. –  Feb 14 '18 at 02:21
  • @ScaryWombat As far as I know, I only need this code: public void LoadtransShipment(javax.faces.event.ActionEvent event) {m_browse = "http://localhost:50000/WebViewerExample/frameset?__report=transShipment.rptdesign&No_="+getVendNo();} –  Feb 14 '18 at 02:22
  • 1
    @yanyan Yes, but is the font available to the PDF? Jasper Reports has a similar issue with custom fonts – MadProgrammer Feb 14 '18 at 02:54
  • @MadProgrammer yes, It was displayed in BIRT but whenever I call BIRT in my java, it displayed as a plain text only which is the data of barcode. –  Feb 14 '18 at 03:04

1 Answers1

0

You install font in your System? But did you install it in your tomcat? if not, then that would be the problem. You need to copy code 128 into tomcat.

AyukNayr
  • 386
  • 2
  • 21