Compress embedded font and ToUnicode streams
Route-D PDFs embedded full FontFile2 programs and ToUnicode CMaps uncompressed. Deflate both streams and declare /Filter /FlateDecode while keeping /Length1 as the uncompressed font length. The minimal route-D PDF now renders to 13.5 KB, and the pdfTeX raster comparison still matches.
This commit is contained in:
1 parent
aeacf53518
commit
e052a0d0f3
6 files changed
+25
-7
No files matched your search
@@ -6,6 +6,7 @@ license = "MIT OR Apache-2.0"
|
||||
description = "Experimental incremental TeX-compatible typesetting core (route D)"
|
||||
|
||||
[dependencies]
|
||||
flate2 = "1.1"
|
||||
rusttype = "0.8.3"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
Reference in new issue
Block a user