mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-20 19:18:41 +00:00
Fonts: the embedding tests import Stream
Commit 49fe62434 moved the font wire builders into their own module and dropped Stream from the imports of embedding.rs. Two tests in its test module still call Stream::flate, so cargo check --tests failed on main with E0433. The test module now imports Stream.
This commit is contained in:
1 parent
d7f4c6a668
commit
521cb6a0f9
1 file changed
+1
@@ -310,6 +310,7 @@ fn same_resource(doc: &Document, fonts: &Dict, name: &str, programs: &mut Progra
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::pdf::Metrics;
|
||||
use pdfcraft_cos::Stream;
|
||||
|
||||
#[test]
|
||||
fn full_unicode_embedding_keeps_outlines_advances_and_roundtrip_codes() {
|
||||
|
||||
Reference in new issue
Block a user