I tried the HelloWorld MigraDoc sample, just changed the line const bool unicode = true;
to true (was false) and added some Rupee signs to this line paragraph.AddFormattedText("Hello, World! ₹₹₹", TextFormat.Bold);
.
It worked as expected.
Please note that MigraDoc uses the Verdana font by default. To see the Rupee sign, MigraDoc has to use a font that has the Rupee sign. With older Windows versions you will have to use another font, not Verdana.
Remarks on Neville's answer: you do not have to use XPrivateFontCollection
if you use fonts that are installed on the computer.
If a program is deployed to many computers, XPrivateFontCollection
can be used to avoid installing fonts on all those computers.
If you use a program only on one computer, just install the font and use it without the font collection.