Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMF Image size support #4375

Merged
merged 2 commits into from
Feb 18, 2018
Merged

EMF Image size support #4375

merged 2 commits into from
Feb 18, 2018

Conversation

andymac-2
Copy link
Contributor

ref #3798

Correct aspect ratio for *.emf files when exporting to docx. There are two issues however unrelated to this PR:

  1. If using multiple of the same image in a docx, the docx will resize every image (not just .emf) to the size of the first image. The size descriptions of the other copies are ignored. (pandoc does not use different sizes if same image is included several times (md -> docx) #3930)
  2. .emf files exported by Inkscape are non-compliant to the specification of emf, so don't use these images for testing.

The only emf files I could find that weren't generated by Inkscape were included by default on windows.

@jgm
Copy link
Owner

jgm commented Feb 18, 2018

Terrific, thanks!

@jgm jgm merged commit bb7681a into jgm:master Feb 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants