summaryrefslogtreecommitdiff
path: root/src/export/pdf.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-06-23 11:51:20 +0200
committerLaurenz <laurmaedje@gmail.com>2019-06-23 13:32:47 +0200
commit030d301f0c98b4d19a3f8ae22f553e22f74d592f (patch)
tree099ca1939001da0bb786fde17844e5b3706bb122 /src/export/pdf.rs
parent7b2a4aa040828d1a0b512a16ac574e65ade9c736 (diff)
Refactor subsetter 🧰
Diffstat (limited to 'src/export/pdf.rs')
-rw-r--r--src/export/pdf.rs3
1 files changed, 1 insertions, 2 deletions
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.