Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1477

Summary: Text in PDF isn't drawn for iOS & OSX
Product: FireMonkey TeeChart Reporter: yeray alonso <yeray>
Component: ExportAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major CC: knrandall
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS   
URL: http://www.teechart.net/support/viewtopic.php?f=17&t=16015#p71073
Chart Series: --- Delphi / C++ Builder RAD IDE Version: RAD 10 Seattle

Description yeray alonso 2016-03-23 06:37:10 EDT
In the attached application, the customer uses OnAfterDraw to draw lines and texts directly to the canvas.
After it, he uses TeeSaveToPDFFile to generate a .pdf file.

The .pdf looks correct when it's generated in Windows and Android, but the texts aren't visible in iOS and OSX.

The customer noticed that the fonts are not embedded in the .pdf.

Note that, if you modify the project to show the chart on the screen and to not generate the pdf file (commenting the last block of code in Chart1AfterDraw), then both lines and texts show fine in the screen in OSX and iOS (tested on iPhone 5 simulator).

The attachment includes the .pdf generated in Android and on OSX to compare the results. If you open these .pdfs in Windows you can see the problem.