When using custom fonts in any element besides <p> they are ignored. Worked in Lucee 4.5.
Use the attached fonts.jar and test.cfm to test.
I've tested this & Confirmed that issue happened on the latest version. If we using custom fonts in any element means that font will not applied. In lucee 4.5 version working as expected.
Is a fix for this planned?
Is there anything I could do to fix this? This bug is holding us back from updating to Lucee 5.
The new version no longer supports fonts.jar but instead we added support for the attribute "fontdirectory" to the tag cfdocument and you can define "this.pdf.fontdirectory" in the Application.cfc. This should be a directory holding fon files (.ttf,.otf).
If no fontDirectory is defined, the PDF Extensions checks for fonts at "WEB-INF/lucee/fonts/"
The PDF Extension now detects if there is a fonts.jar and if so extract the fonts to the default font directory at WEB-INF/lucee/fonts.