How to embed fonts using HtmlRenderer.PDFSharp ?

Jul 28, 2016 at 3:32 AM
Edited Jul 28, 2016 at 3:46 AM
I'm using HtmlRenderer.PDFSharp to render to pdf file but how do I embed the fonts into the pdf?
I'm testing using the 02.Text.htm file.
The sample WinForm app works fine but when I code it myself, some characters became rectangles.

I also tried a file with Simplified Chinese and it all came out rectangles.

Any ideas?