PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Unhandled text when using XGraphics.DrawString
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2420
Page 1 of 1

Author:  RhysP [ Tue Apr 30, 2013 3:08 pm ]
Post subject:  Unhandled text when using XGraphics.DrawString

Hi All,

I'm currently writing out to a new pdf document. I'm writing out test using XGraphics.DrawString(currentLine, font, brush, rect, format);
Unfortunately when I pass out the special character '∆', the pdf displays a '?' instead of the intended symbol.

I've confirmed that the symbol is contained within the specified font, and I'm running short of ideas.

Can anyone help me determine why this isn't working?

Thanks in Advance

Author:  Thomas Hoevel [ Thu May 02, 2013 9:08 am ]
Post subject:  Re: Unhandled text when using XGraphics.DrawString

Hi!

Did you activate the Unicode mode for the document?
http://www.pdfsharp.net/wiki/Unicode-sample.ashx

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/