cfreport pdf unable to find registered ttf font, yet cfimage and cfdocument work (RHEL8)
Hello all -
We have recently moved our dev team from our olf CF10 on RHEL6 to CF2021 on RHEL8. One bit of code we cannot seem to get to function properly is a simple barcode PDF generation. We have stripped down a test case as barebones as possible and cannot get it to work.
We have the ttf fonts registered in CF administrator (Free 3 of 9 Extended)
We created a very simple CFR file in CF Report Builder, and ticked the box to embed the font
We call the CFR file with <cfreport template="myreport.cfr" format="pdf">
The PDF is generated, however it uses a default font instead of the barcode.
If we use the deprecated cfdocument or cfimage tags, the font is happily embedded or renderd, so the font appears to be registered correctly in CF admin. Also, our cfreport code works fine in CF10.
While this simple test would be quite easy to reproduce with an external linunx based PDF generation program, our actual reports are quite complex and would be very time consuming to recreate.
We do not see anything pertinent in the log files. Any suggestions on what might be wrong here?
Thanks much,
-Tony
