- From: Mike Bremford via GitHub <sysbot+gh@w3.org>
- Date: Fri, 06 Dec 2019 11:04:53 +0000
- To: public-css-archive@w3.org
I've taken the liberty of putting your image at https://gist.github.com/faceless2/042847e3675648dfbe4fe5a81000de02 - unchanged, although I added the SVG namespace. Mediafire tried to give me some dubious binary as well as your file. I see where you're going with this. Obviously the SVG is machine generated, it strikes me that scaling every dimension up by 1000 and set "viewBox="0 0 89000 95000" would avoid any issues you're having with float resolution. If you're converting these to/from PDF, be aware that the maximum recommended resolution of numbers in PDF is roughly 5 decimal places in PDF 1.4, roughly IEEE754 single precision in ISO 32000-1, slightly larger than IEEE754 single precision in PDF/A (which I am still very sore about) and essentially unlimited but IEEE754 single or double recommended in ISO 32000-2. However values are not stored in IEEE754 in PDF, they're serialised as text. My point is you're not going to get any more accuracy when converting to/from PDF with this suggestion. I would not expect more than 5 d.p. of resolution for any numbers stored in PDF, and if I wanted to generate a halftone pattern like yours, I would scale up by a factor of 1000 or so in both formats. -- GitHub Notification of comment by faceless2 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4564#issuecomment-562530865 using your GitHub account
Received on Friday, 6 December 2019 11:04:55 UTC