Hi Aslak,
Yeah, I've had the same experience; the white lines appear when I use
the Evince document viewer in Gnome, but Adobe's Acrobat Reader will
display it just fine. I'm not sure if it's the way the PDFs are being
generated (i.e. Barby's outputters) or inaccuracy in some readers in
positioning the elements. If you zoom in and out sometimes you can see
some lines disappearing and others reappearing in the same way widths
using the same "em" size in CSS can vary in width because it's
converting a relative size to fixed pixels, which could point to the
problem being the reader's accuracy.
I encountered the problem first when generating 1D barcodes where I
would paint each "x dimension" or "module" (a 1 on the encoding
string) separately, so when two 1s appeared next to each other there
would be a small gap in some readers. I fixed this by painting
adjacent black modules as one element (the boolean_groups method; if
you look closely at 2D barcodes you'll notice the lines appear only
horizontally because this method is used for each row); I guess this
is possible for 2D barcodes too if there's a way to figure out all the
black modules whose edges touch, but this feels like fixing the
symptom while the cause still remains unknown.
Another possible fix is to stroke each module to make sure they
overlap, but this too feels like a hack to me. It could possibly serve
as a quick fix if you need something working fast though.
Tore
> Stumped!
>
>
>
> > Cheers,
> > Aslak
>
>