From 030d301f0c98b4d19a3f8ae22f553e22f74d592f Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 23 Jun 2019 11:51:20 +0200 Subject: =?UTF-8?q?Refactor=20subsetter=20=F0=9F=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/export/pdf.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/export') diff --git a/src/export/pdf.rs b/src/export/pdf.rs index a09f3b0c..811583e5 100644 --- a/src/export/pdf.rs +++ b/src/export/pdf.rs @@ -272,8 +272,7 @@ impl PdfFont { // Subset the font using the selected characters. let subsetted = font.subsetted( chars.iter().cloned(), - &["head", "hhea", "maxp", "hmtx", "loca", "glyf"][..], - &["cvt ", "prep", "fpgm", /* "OS/2", "cmap", "name", "post" */][..], + &["head", "hhea", "hmtx", "maxp", "cmap", "cvt ", "fpgm", "prep", "loca", "glyf"][..] )?; // Specify flags for the font. -- cgit v1.2.3