Closed earthlingworks closed 1 year ago
We ran into an issue with another PDF when flattening. I'll send in the PDF through email...script to reproduce below.
Error: HexaPDF::Error: Can't serialize special floating point number NaN
HexaPDF::Error: Can't serialize special floating point number NaN
require 'hexapdf' document = HexaPDF::Document.open(ARGV[0]) document.pages.each { |page| page.flatten_annotations }
Thanks for reporting the bug - I can reproduce it and will fix it.
Great, thanks!
This is fixed and will be in the next release.
We ran into an issue with another PDF when flattening. I'll send in the PDF through email...script to reproduce below.
Error:
HexaPDF::Error: Can't serialize special floating point number NaN