Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Embed FREE3OF9.TTF in Oracle 9i PDF report

RichardSquiresApr 11 2005 — edited Mar 9 2007
I want to embed the "Free 3 of 9" barcode font in my Oracle 9i report. The steps I have taken are as follows:

1. I know I can't use a True Type font for embedding so I have used the conversion utility - ttf2pt1 - to create .afm and .pfa files.

2. I have copied these into a directory included in my REPORTS_PATH.

3. I have updated my uifont.ali to include the following:

[ PDF:Embed ]
Free 3 of 9 = "FREE3OF9.afm FREE3OF9.pfa"

4. In my report, I have selected the "Free 3 of 9" True Type font for the text having already included the font in my windows Font directory.

5. I issue the following command to run my report:

http://server:port/reports/rwservlet?server=REPSERVER&report=BARCODE_TEST&destype=cache&desformat=PDF&desname=BARCODE_TEST.pdf&envid=DEV&PDFEMBED=YES


Unfortunately, the resulting pdf document displays the text in a default font (looks like arial) and not in the "Free 3 of 9" font. If I run the report to a file from Report Builder the PDF document includes the text using the barcode font.

How can I test that my embedding is working correctly? Have I added the entry correctly to my uifont.ali? Am I doing this correctly, including the ttf barcode font in the report expecting it to be replaced by the .afm and .pfa fonts?

Any advice would be greatly appreciated.

Richard
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2007
Added on Apr 11 2005
4 comments
1,721 views