synopse / SynPDF

Synopse PDF engine is a fully featured Open Source PDF document creation library for Delphi, embedded in one unit
295 stars 106 forks source link

Invalid Floating Point Operation when writing EMF with vertial text to PDF Canvas #42

Closed jonjbar closed 3 years ago

jonjbar commented 4 years ago

Please check attached sample project, it contains an EMF file with vertical text (input.emf) and tries to save it to output.pdf. When doing so, it raises an "Invalid floating point operation": SynPdfException.zip

IBE-Software commented 3 years ago

Here is a patch which:

synopse commented 3 years ago

Could you please make a pull request instead of a manual patch?

synopse commented 3 years ago

Your patch don't compile! c180divPI and pi are not known.