Open pcwalton opened 5 years ago
Why PostScript as opposed to PDF?
Because as I understand it printers take PostScript.
I wrote a small PS exporter. I wonder if the exporters should be moved into their own crate and be added via SceneExt traits?
I think that would be a good idea, yeah.
On Mon, Jun 24, 2019, 12:59 PM s3bk notifications@github.com wrote:
I wrote a small PS exporter https://github.com/s3bk/pathfinder/blob/ps_export/renderer/src/scene.rs#L202 . I wonder if the exporters should be moved into their own crate and be added via SceneExt traits?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/servo/pathfinder/issues/200?email_source=notifications&email_token=AABGRSNFMCHMW26LTQJXCOLP4ERRNA5CNFSM4H2T42Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYOBLCI#issuecomment-505157001, or mute the thread https://github.com/notifications/unsubscribe-auth/AABGRSI4BTAIBGUU2ZQL6Q3P4ERRNANCNFSM4H2T42YQ .
SceneProxy depends on SVG export (and ideally it should also allow PDF and PS). This causes a cyclic crate dependency between renderer and export (the new crate with SVG, PDF and PS export).
Yeah, we can just get rid of the SceneProxy
Debug
implementation.
It would be nice to have a PostScript backend, so that you can construct Pathfinder scenes and then print them. (This has potential Firefox applications.)