tag:blogger.com,1999:blog-3993498847203183398.post3591431843720764086..comments2024-03-29T11:00:39.953+00:00Comments on RevK<sup>®</sup>'s ramblings: svg inkscape and ghostscript...RevKhttp://www.blogger.com/profile/12369263214193333422noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3993498847203183398.post-64234352607599832962018-02-07T10:35:36.031+00:002018-02-07T10:35:36.031+00:00Been there, done that, years ago for barcodes in p...Been there, done that, years ago for barcodes in postscript - much easier than SVG for such things :-)RevKhttps://www.blogger.com/profile/12369263214193333422noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-7561974848218120412018-02-07T10:30:39.967+00:002018-02-07T10:30:39.967+00:00If you have occasion to use PostScript rather than...If you have occasion to use PostScript rather than SVG in future you might be interested in the "gridfit" logic in a branch of my generator:<br /><br />https://github.com/bwipp/postscriptbarcode/blob/gridfit/src/renmatrix.ps<br /><br />During the RIP it probes the resolution of the device space (or uses a given value), scales the barcode pitch to the nearest integer multiple of the device pixel size and aligns the base point to the centre of a pixel. This eliminates pixel grazing resulting in an unaliased image.<br />Anonymoushttps://www.blogger.com/profile/03699617656518666561noreply@blogger.com