ibrahimcesar/velociplot

Implement PDF output backend

Open

#9 建立於 2025年11月29日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Rust (0 fork)auto 404
help wantedpriority: mediumtype: feature

倉庫指標

Star
 (3 star)
PR 合併指標
 (PR 指標待抓取)

描述

Description

Add PDF output support for publication-quality vector graphics that can be directly embedded in LaTeX documents and publications.

Tasks

  • Evaluate PDF libraries (printpdf, pdf-canvas, etc.)
  • Implement PdfCanvas following Canvas trait
  • Add PDF feature flag to Cargo.toml
  • Create example demonstrating PDF export
  • Add CLI support for PDF output
  • Add tests

Acceptance Criteria

  • PDF output renders all plot types correctly
  • Text is properly embedded (not rasterized)
  • File size is reasonable
  • Works with LaTeX \includegraphics

貢獻者指南