Posted 3 February 2021, 5:52 am EST
Hi,
I am trying to use the below solution to embed few custom fonts but it does not seems to work.
http://help.grapecity.com/activereports/webhelp/AR11/webframe.html#PDFCustomFontFactory.html
Active Reports Version : 11.0.8705.0
Edition : Professional
Application Type: C# console application
Environment: Windows 10 / Windows Cell (windows server core 2019)
I saw a similar question on the forum and tried using the sample provided there, but that also didn’t work as expected.
https://www.grapecity.com/forums/ar-dev/embed-font-in-pdf-from-c-r
I tried on a Windows 10 machine. As the application is not able to pick the font from custom Fonts folder, it uses the default font i.e. Microsoft Sans Serif.
I modified the sample to check on few fonts. Attaching the same here, with the runtime screenshots confirming that the custom font is not getting picked. Am I missing something? Please suggest. Also, it would be helpful if you can share a working solution.
FontFactoryTester.zip[img]https://gccontent.blob.core.windows.net/forum-uploads/file-cbb9eca7-4b31-4f50-878c-7e7f3cb93bda.png[/img][img]https://gccontent.blob.core.windows.net/forum-uploads/file-31144b87-53d1-4f6d-985c-ba715896cfc0.png[/img]