vscode-markdown-pdf
vscode-markdown-pdf copied to clipboard
Blank spaces where emojis were used.
Hi,
The overall extension works as it should be but notices a small bug when was converting a doc from md.
to .pdf
.
The issue was that I got blank spaces where ever I used emojis in my markdown
file.
Added images for better understanding.


What OS are you on? Do you use any custom CSS? For me emojis are there in the pdf but not with the OS default graphics.
Using macOS High Sierra. Nope, I don't use any custom CSS.
Could be an OS related issue, I'm on Windows 10.
Hey, I did not have an issue with emoji, but at one point this issue appeared for me. I notice that it is not really a black space though, but rather that Emojis are white, therefore invisible on white background standard PDF. I assume this may be a font issue or something related?
Edit : made a few tests, Fonts that may be used for emojis are DejaVu (True type CID, encoding identity-H)
or No name (Type 3, encoding custom)
I tried to export to html and then, manually to pdf, it seems the issue appears with chromium (which is used under the hood I suppose) and firefox. The tricky part is that the pdf preview upon Ctrl+P is good with emoji in colour, but not the actual file.