Generated pdf with font barcode using pdf ext 1.0.0.80 cannot be open in adobe acrobat reader

Description

When I generate PDF with font barcode bar-code 39 lesbar using pdf extention 1.0.0.80, the pdf cannot be open with adobe acrobat reader.
If the pdf is generated using pdf extention 1.0.0.68 this is fine, the file can be opened with adobe acrobat reader.
Attached are the font and cfm script to reproduce the problem. FYI, the pdf file can be open at browser but not in adobe acrobat reader.

 

Environment

lucee 5.3.6.61
pdf extention 1.0.0.80
docker-commandbox 5.0.1

Attachments

10
  • 17 Nov 2020, 05:03 am
  • 17 Nov 2020, 05:03 am
  • 03 Nov 2020, 11:01 am
  • 09 Jun 2020, 09:30 am
  • 09 Jun 2020, 09:30 am
  • 09 Jun 2020, 08:21 am
  • 09 Jun 2020, 08:21 am
  • 08 Jun 2020, 08:28 am
  • 08 Jun 2020, 08:27 am
  • 08 Jun 2020, 08:27 am

Activity

Show:

Andri Senjaya 17 November 2020 at 05:03

with this barcode, no more error

Andri Senjaya 17 November 2020 at 05:02

solved this problem by change the barcode font. it seems code39u.ttf not working with pdf ext above 1.0.0.68

Andri Senjaya 7 November 2020 at 13:48

sorry I test with openjdk11. still problem too :(

Andri Senjaya 3 November 2020 at 11:01

Hi , I notice this problem because of the attribute fontDirectory in cfdocument, if we set this then the pdf with barcode font can be open, but I remove it then pdf cannot be opened by adobe acrobat.

is it correct it fontDirectory is used only for pdf type= modern? currently Im still use pdf type classic in my application.

 

I attach my script to reproduce the problem

FYI, in index.cfm I have put 3 cfdocuments scenario the first one without fontDirectory = "fonts" , the pdf result cannot be open in adobe acrobat reader. Before you run each scenario you have to restart the lucee first. There is strange things, after u run the 1st script the 2nd script will not work until u restart the lucee.

and the other strange is the barcode font seem never generated from /fonts folder file, but always from /jar/fonts.jar

Pothys - MitrahSoft 9 June 2020 at 12:17

I've put this with my root directory and checked this with some possbility ways. It works fine for me. will have some thoughts about this.

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 8 June 2020 at 08:29
Updated 17 November 2020 at 05:03

Flag notifications