Skip to main content
Participant
March 1, 2023
Question

new fonts not work in cfdocument pdf and cfreport ( CF2021 - linux )

  • March 1, 2023
  • 3 replies
  • 2131 views

hi all, I'm having a problem with the implementation of new fonts to be used both in the cfdocument to create a pdf and in the cfreport. As you can see in the picture I downloaded the .ttf files and put them exactly in that path and put the correct path inside Font Management on the administrator cf . The folder exists and the path is right, I restarted CF but there is no way the fonts are displayed in both cfdocument and cfreport. Always use a default font, how can I fix this?

 

    This topic has been closed for replies.

    3 replies

    Participant
    March 11, 2024

    Hi, I see that you are making the same mistake we did by uploading fonts trough the CF administrator interface... that did not work!
    We solved this issue creating a symbolic link :
    ln -s  /usr/share/fonts/ttf   /usr/share/fonts/default/TrueType

    Otherwise, try putting your fonts manually into the /usr/share/fonts/default/TrueType directory and then restarting CF...
    Our Ubuntu 22.04 with CF2021 worked both with cfdocument and cfreport...

    Participating Frequently
    March 13, 2024

    Yes, I'm on a linux server.  We are in the cloud.  We have all the latest updates.  Issue is specific to cfdocoument.  The spacing in the document is different when I convert pdf.  I create the file in html first and it looks good.  Then when i take the file and do cfdocument pdf it's not correct.   

    attached are before and after picture.  Changeafter2021 is not correct.   The second file is the 2016 version which is correct.

    Charlie Arehart
    Community Expert
    Community Expert
    March 13, 2024

    But did you try the simlink offered by gherardo?

     

    If you did not and would not, because instead you want Adobe t to acknowledge a bug and fix the problem in a subsequent update, this is not the best place for that. Instead, file a bug report at tracker.adobe.com.

     

    Even then, please let us fellow users know if you would try gherardo's fix and if it works for you. 

    /Charlie (troubleshooter, carehart. org)
    Vikram Kumar M
    Community Manager
    Community Manager
    March 2, 2023

    @[Projects]28660639tixy  Could you please let me know the update level of the ColdFusion?

     

    Thanks,

    Vikram

    Participant
    March 2, 2023

    Hi Vikram,

    these are the setting of coldfusion 

    Server ProductColdFusion 2021
    Version2021,0,04,330004
    EditionStandard  
    Operating SystemUNIX  
    OS Version5.15.0-1028-aws  
    Participant
    March 2, 2023
    Participant
    March 1, 2023

    the operating system is linux

    Vikram Kumar M
    Community Manager
    Community Manager
    March 6, 2023

    @[Projects]28660639tixy Please contact us at cf.install@adobe.com to investigate this issue further.

     

    Thanks,

    Vikram

    BKBK
    Community Expert
    Community Expert
    April 25, 2023

    Was the problem resolved? If so, could you please share the solution.