PDF Export Font not included

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.

PDF Export Font not included

Postby Eskimo » Fri Dec 01, 2017 1:27 pm


The chart is exported as pdf. Pdf openend in SumatraPDF and there is no font, as shown in the image SumatraPDF.png. The legend is set in the code to an arial font but is not shown in the pdf. The chart exported as png shows the font as in the image image.png. Any suggestions how to get a proper pdf export ?

Following code is used:

Code: Select all
ChartFont chartFont = new ChartFont(MyTeeChart.Chart, new Font("Arial", 12));
               MyTeeChart.Chart.Legend.Font = chartFont;
               MyTeeChart.Chart.Export.Image.PDF.Document().Fonts.Add(new PDFFontListEntry(chartFont));

TeeChart Pro - Productversion 4.1.2017.2145

Best Regards,
image.png (67.97 KiB) Viewed 262 times
SumatraPDF.png (71.36 KiB) Viewed 258 times
Posts: 1
Joined: Tue Oct 31, 2017 12:00 am

Re: PDF Export Font not included

Postby Christopher » Mon Dec 04, 2017 10:49 am


I'm afraid TeeChart's PDF export does not write out fonts in an embedded format in the PDF files it produces. However, you will be able to export to an image (jpeg, png etc.) with the desired font and then embed this image file in your PDF document.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
Instructions - How to post in this forum
Posts: 1055
Joined: Fri Nov 15, 2002 12:00 am

Return to .NET

Who is online

Users browsing this forum: No registered users and 0 guests