Closed ryanjcarroll closed 3 years ago
@ryanjcarroll I see this question over on StackOverflow which is the right place for it. Addressing there, closing this one. In general, support questions should go on StackOverflow. If they escalate to a suspected bug (rare) they come over here.
My bad - thanks!
Ryan
On Mon, Jul 19, 2021 at 3:31 PM Steve Canny @.***> wrote:
@ryanjcarroll https://github.com/ryanjcarroll I see this question over on StackOverflow which is the right place for it. Addressing there, closing this one. In general, support questions should go on StackOverflow. If they escalate to a suspected bug (rare) they come over here.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/scanny/python-pptx/issues/721#issuecomment-882803208, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADK6FEFMKY7U6XI2ME6I2N3TYR4QZANCNFSM5AUGEN4Q .
When I use the python-pptx package to export a Presentation within a Google Colab/Drive environment, many of the fonts get reset to a default font (Arial).
I'm running this simple script to load in a .pptx file as a Presentation object and then export it to a .pptx file. The expected outcome is that it will essentially copy the slide deck and rename it. However, it is not retaining all of my font formattting, as can be seen in the attached image.
This has been working as intended as recently as two weeks ago, so I'm not sure if it is the result of an update to python-pptx or Google Slides.
When I run the same script (minus the %pip install line) on my local machine, the output is generated as expected, with my original fonts/formatting intact.
Image of font conversion issue