Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

In some cases Html2Canvas does not handle proper font alignment producing overlapping or squashed text.

Found in

EPiServer.Marketing.Testing 2.6.6

Fixed in

EPiServer.Marketing.Testing 2.6.7

(Or a related package)


May 14, 2021


Jun 15, 2021


Closed, Fixed and tested


Html2Canvas does not always produce expected results when multiple fonts are used in CSS class parameters. In particular, this can result in overlapped text when scaling the image.


Include an optional app settings parameter that can be used to override the font used in preview mode. 
<add key="EPiServer:Marketing:Testing:PreviewStyleOverride" value="font-family: 'Sans Serif'; background: grey; color: white; !important" />