Closed practicingruby closed 9 years ago
Since some PDF functionality is still directly implemented in Prawn, see the corresponding ticket here: https://github.com/prawnpdf/prawn/issues/780
Ideally we'll move all PDF functionality down into PDF::Core eventually, but it may be some time before that happens.
Here's what the "Developing With PDF" book from O'Reilly has to say on this topic:
I looked this up in the PDF standard and it too said that it's common for "real" numbers to be implemented as fixed point values. In Appendix C, 5 decimal places is recommended as a maximum.
I think we will go with 4 to be a bit more conservative, but if that causes any problems we can try bumping it up to 5. But it's clear that beyond that we can expect trouble... even the standard tells us that.