diff options
author | Emily Bourke <undergroundquizscene@protonmail.com> | 2021-09-03 15:19:25 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-09-10 17:06:45 -0700 |
commit | 1dba1e6dc881e606beae6323e6cab74db5153bd0 (patch) | |
tree | ae949f993949b699a31581e9c168f2f581fe8e0d /src/Text/Pandoc/Writers/Powerpoint | |
parent | ec7cea294dce270f358594c33018c2d8bdadf8a8 (diff) | |
download | pandoc-1dba1e6dc881e606beae6323e6cab74db5153bd0.tar.gz |
pptx: Copy embedded fonts from reference doc
We already copy the relationships and elements in presentation.xml for
embedded fonts, so at the moment using a reference doc with embedded
fonts is broken, producing a pptx that PowerPoint says needs repairing.
This commit copies the fonts over, which I believe is all that’s needed
to work correctly with reference docs with embedded fonts.
Diffstat (limited to 'src/Text/Pandoc/Writers/Powerpoint')
-rw-r--r-- | src/Text/Pandoc/Writers/Powerpoint/Output.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Powerpoint/Output.hs b/src/Text/Pandoc/Writers/Powerpoint/Output.hs index d86ab32bc..14cd82fdf 100644 --- a/src/Text/Pandoc/Writers/Powerpoint/Output.hs +++ b/src/Text/Pandoc/Writers/Powerpoint/Output.hs @@ -242,6 +242,7 @@ alwaysInheritedPatterns = , "ppt/presProps.xml" , "ppt/tableStyles.xml" , "ppt/media/image*" + , "ppt/fonts/*" ] -- We only look for these under special conditions |