diagrams / diagrams-rasterific

Rasterific backend for diagrams
Other
15 stars 12 forks source link

PDF output seems to stroke things it shouldn't #43

Closed robx closed 6 years ago

robx commented 6 years ago

Not quite sure what this is, or whether this should be filed against rasterific proper. Anyhow:

I see frames in PDF output that shouldn't be there.

rasterific png: doppelblock-example

old cairo pdf, top left corner: screen shot 2018-03-07 at 20 44 14

rasterific pdf, top left corner: screen shot 2018-03-07 at 20 44 03

The rasterific version has a frame around the whole diagram, as well as around the gray area. (That is placed using frame.) But also the text seems a lot heavier (using SVGFonts, stroked with lwG 0), as if the path was stroked after all.

(As an extra issue, the PDF comes out square, but maybe that's me passing the wrong options? Happy to file a separate issue for that if you want.)

robx commented 6 years ago

@Twinside any idea?

Twinside commented 6 years ago

I didn't even had time to look at the other bug :(

To help me debug, I would need what diagrams send to Rasterific to tell if it's on Rasterific or diagrams-rasterific side (and that would help in the other case too :]

Twinside commented 6 years ago

This is a bug in Rasterific, last update on Hackage (in the next few minutes) will fix it

byorgey commented 6 years ago

Sounds like this can be closed then?