Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Offline multi-chart exporting to PDF doesn't keep font #7538
Exporting to PDF using your multi-chart offline export example should keep the font used in the chart options or at least use the default fonts if this is not provided.
Regardless of the font used for the chart on the page, Times New Roman is used for fonts in the offline PDF multi-export using downloadSVGLocal, even in the offline multi-export example you've provided. This is not the case with single-chart exports, online multi-exports, nor multi-chart exports to other formats.
Edit: I also noticed that styling for data-labels (and probably other text) such as stroke and drop-shadow is not kept in the PDF export.
Live demo with steps to reproduce
Compare the PDF export result from this:
If this is in fact a problem with the export logic, you should see Times New Roman as the font instead of Lucida Grande.
All (tested with Chrome, Firefox, and Microsoft Edge)