diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-03-30 18:47:17 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-03-30 18:47:17 +0100 |
| commit | e6e5aad7cef36a40a8d808fca02866649e464d87 (patch) | |
| tree | a524eb37d960990760182d6790ff9d3d3934b2c0 /src/export | |
| parent | db96ecae94a7c06d04528e8d4461ebca86d2d249 (diff) | |
Refactor font providing ⚙
Diffstat (limited to 'src/export')
| -rw-r--r-- | src/export/pdf.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/export/pdf.rs b/src/export/pdf.rs index cac60a87..a2260f74 100644 --- a/src/export/pdf.rs +++ b/src/export/pdf.rs @@ -240,8 +240,8 @@ 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", "maxp", "hmtx", "loca", "glyf"][..], + &["cvt ", "prep", "fpgm"][..], )?; // Specify flags for the font |
