Can Not load PDF Font or System Font

Can Not load PDF Font or System Font

Forum member · May 1, 2020
Hi, I receive this error no matter what font I use, what do you think I am doing wrong 00000008 7:36:40 [472] Printing test page. 00000009 7:36:40 [472] Using font Arial 00000010 7:36:40 [472] Attempting to Load DynamicPDF Font. 00000011 7:36:40 [472] ========================== 00000012 7:36:40 [472] Error: Object reference not set to an instance of an object. 00000013 7:36:40 [472] System.NullReferenceException: Object reference not set to an instance of an object. 00000014 7:36:40 [472] at zz93.hp.a(String A_0, Boolean A_1, Boolean A_2) 00000015 7:36:40 [472] at ceTe.DynamicPDF.Font.LoadSystemFont(String systemFontName) 00000016 7:36:40 [472] at PDFLibraryWrapper.PDFLibraryWrapperProvider.PrintTestPage(String fontStr) 00000017 7:36:40 [472] ========================== 00000018 7:36:40 [472] Attempting to Load Windows Font. 00000019 7:36:40 [472] Load Successful 00000020 7:36:40 [472] Attempting to Load DynamicPDF Font from Windows font. 00000021 7:36:40 [472] ========================== 00000022 7:36:40 [472] Error: Object reference not set to an instance of an object. 00000023 7:36:40 [472] System.NullReferenceException: Object reference not set to an instance of an object. 00000024 7:36:40 [472] at zz93.hp.a(String A_0, Boolean A_1, Boolean A_2) 00000025 7:36:40 [472] at ceTe.DynamicPDF.Font.LoadSystemFont(Font font) 00000026 7:36:40 [472] at PDFLibraryWrapper.PDFLibraryWrapperProvider.PrintTestPage(String fontStr) 00000027 7:36:40 [472] ========================== 00000028 7:36:40 [472] ========================== 00000029 7:36:40 [472] Error: Object reference not set to an instance of an object. 00000030 7:36:40 [472] System.NullReferenceException: Object reference not set to an instance of an object. 00000031 7:36:40 [472] at zz93.hp.a(String A_0, Boolean A_1, Boolean A_2) 00000032 7:36:40 [472] at ceTe.DynamicPDF.Font.CanLoadSystemFont(String systemFontName) 00000033 7:36:40 [472] at PDFLibraryWrapper.PDFLibraryWrapperProvider.PrintTestPage(String fontStr) 00000034 7:36:40 [472] ========================== 00000035 7:36:40 [472] ========================== 00000036 7:36:40 [472] Error: Object reference not set to an instance of an object. 00000037 7:36:40 [472] System.NullReferenceException: Object reference not set to an instance of an object. 00000038 7:36:40 [472] at zz93.hp.a(String A_0, Boolean A_1, Boolean A_2) 00000039 7:36:40 [472] at ceTe.DynamicPDF.Font.CanLoadSystemFont(Font font) 00000040 7:36:40 [472] at PDFLibraryWrapper.PDFLibraryWrapperProvider.PrintTestPage(String fontStr) 00000041 7:36:40 [472] ========================== 00000042 7:36:40 [472] Error in PrintTestPage: Failed to load system font 'Arial.'.

Re: Can Not load PDF Font or System Font

Support · May 5, 2020
Hello, Please try using the latest build of version 7 to see if it resolves the issue. You can download the latest build by logging into our CustomerArea using your version 7 serial number. Remove the reference for the older DLL and reference the latest in your application. If you continue having an issue, please send over the following information to [^a|mailto:support@dynamicpdf.com|opennewwindow|support@dynamicpdf.com^] so we can look into it further. 1. Code sample or a simple console application which uses static data to recreate the error. 2. Font files used in your application. 3. Exact version and build number of the DynamicPDF DLL file used in the application. You can get this information by right clicking on the DLL file>>Properties>>Details tab>>Product version. Take a screenshot of Details tab and send it over to us. Please include a link for the this forum in your email. Thanks, ceTe Software Support Team