Embed a single monospace face to shrink PDFs
This commit is contained in:
1 parent
2076da8f21
commit
ea14b3edbf
5 files changed
+41
-5
No files matched your search
@@ -2199,7 +2199,7 @@ impl RenderResources {
|
||||
let mono_family = inputs
|
||||
.monospace_fonts
|
||||
.clone()
|
||||
.map(|family| document.add_font_family(family));
|
||||
.map(|family| document.add_font_family_single(family));
|
||||
let cjk_family = inputs
|
||||
.cjk_family()
|
||||
.map(|family| document.add_font_family(family));
|
||||
@@ -2289,7 +2289,7 @@ impl PreviewResources {
|
||||
let mono_family = inputs
|
||||
.monospace_fonts
|
||||
.clone()
|
||||
.map(|family| font_cache.add_font_family(family));
|
||||
.map(|family| font_cache.add_font_family_single(family));
|
||||
let cjk_family = inputs
|
||||
.cjk_family()
|
||||
.map(|family| font_cache.add_font_family(family));
|
||||
|
||||
Reference in new issue
Block a user