Decouple raster PDF output from Krilla writer

This commit is contained in:
Dylan M. Taylor committed 2026-11-13 06:20:13 -05:00
1 parent 57a12fe812
commit a952079194
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ interpret = ["read", "dep:hayro-interpret"]
raster = ["interpret", "dep:hayro", "dep:bytemuck"]
write = ["dep:krilla", "dep:thiserror"]
write-pdf = ["write", "krilla/pdf"]
write-raster = ["write", "dep:flate2"]
write-raster = ["dep:flate2"]
write-simple-text = ["write", "krilla/simple-text"]
filters = ["dep:craft-stream-codecs", "dep:flate2", "dep:thiserror"]
cos = ["crypt", "filters", "dep:chrono", "dep:js-sys", "dep:wasm-bindgen"]
+3
View File
@@ -25,3 +25,6 @@ pub use read::*;
pub mod raster;
#[cfg(feature = "write")]
pub mod write;
#[cfg(feature = "write-raster")]
#[path = "write/raster.rs"]
pub mod write_raster;
-3
View File
@@ -16,9 +16,6 @@ const _: bool = backend::CRAFT_OPTIONAL_CONTENT;
pub mod print;
#[cfg(feature = "write-raster")]
pub mod raster;
use backend::configure::{Archival, Configuration, ConfigurationBuilder, ConfigurationError, PdfVersion};
use backend::text::{Font, Tag};