Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jonjbar opened this issue Nov 17, 2020 · 3 comments

Comments

@jonjbar
Copy link
Contributor

jonjbar commented Nov 17, 2020

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
Copy link

Here is a patch which:

  • Fixes this exception
  • Adds support for rotated texts
    It has been developed by "Kukhtin Igor" and sponsored by the HelpNDoc help authoring tool: patch.txt

@synopse
Copy link
Owner

synopse commented Dec 29, 2020

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

@synopse synopse closed this as completed Dec 29, 2020
IBE-Software pushed a commit to IBE-Software/SynPDF that referenced this issue Dec 29, 2020
synopse added a commit that referenced this issue Dec 29, 2020
Fixed issue #42: Exception when drawing rotated text + Implemented rotated text drawing
@synopse
Copy link
Owner

synopse commented Dec 30, 2020

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

@synopse synopse reopened this Dec 30, 2020
@synopse synopse closed this as completed May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants