RickStrahl / MarkdownMonster

An extensible Markdown Editor, Viewer and Weblog Publisher for Windows
https://markdownmonster.west-wind.com
Other
1.59k stars 235 forks source link

Tofu Bug #1150

Closed monkey-knuckles closed 1 week ago

monkey-knuckles commented 1 week ago

I am getting tofu output with some ASCII characters.

DEVELOPER.pdf

RickStrahl commented 1 week ago

I'm not sure what I'm looking at here...

monkey-knuckles commented 1 week ago

I apologise. Page 5. MD026 It's not displaying the characters correctly. I believe this to be a bug with the PDF rendering. I'm happy to be corrected.

RickStrahl commented 1 week ago

That would be missing font information. whatever characters those are they are not finding matching font characters.

What PDF print theme are you using for the print output? And what version of MM are you running?

Does it work in the preview? Can you try using the same print theme that you're using in the previewer?

What are those characters? Special? Font Specific?

monkey-knuckles commented 1 week ago

Changing the theme to GitHub solved the problem. Thanks.

RickStrahl commented 1 week ago

Great. With the new PDF engine we should probably change to the same fonts that the GitHub theme uses for the PDF Output print theme. With wkHtmltoPdf previously we had to rely on base system fonts, but the new engine embeds font information from linked fonts so it's more flexible.

Thanks for the feedback.