Markpad
Markpad copied to clipboard
Custom Preview Font not rendered in PDF Export
Markpad version
2.8.2
How did you install it?
Windows — installer (Markpad_…_setup.exe)
OS and version
Windows 11, version 25H2
What happens, and what you expected instead
This feature was working in the previous versions of Markpad, but recently it has not been rendering the custom fonts I used in the pdf. I request the devs to look into this. I've given the steps to reproduce this situation below
Steps to reproduce
- Set a custom font in the settings (in Preview).
- Open a new text file.
- Write some text and toggle Preview.
- Click
Ctrl+Shift+Pfor exporting pdf. - Open the exported pdf and check it with the preview in app.
The Markdown that triggers it
Screenshots, and anything else
PREVIEW SETTINGS
PREVIEW
EXPORTED PDF FONT RENDERED THE DEFAULT FONT
Fixed in #934, which is merged and ships in the next release, in a few days. The PDF lost the Preview font in 2.8.0, when it stopped printing the live window. The fix also restores the font size, the code font and its size, and the highlight colour, in both the PDF and the HTML export.