PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Unicode not unicoding https://forum.pdfsharp.net/viewtopic.php?f=2&t=4319 |
Page 1 of 1 |
Author: | pangolin [ Sun Feb 06, 2022 4:34 am ] |
Post subject: | Unicode not unicoding |
I'm trying to include these characters in a PDF generated by PDFSharp. ¼-½ They won't render. I used this code to create the options: XPdfFontOptions options = new XPdfFontOptions(PdfFontEncoding.Unicode); But when I examine "options" in the debugger the encoding isn't unicode - it's automatic - which is no different than what it was before I defined any options! What am I missing to get these characters to render in the PDF - font in use is Courier New - but I've tried many others. Thanks |
Author: | pangolin [ Sun Feb 06, 2022 4:05 pm ] |
Post subject: | Re: Unicode not unicoding |
For those that might encounter this - it is not a PDFSharp or MigraDoc issue. It was my streamreader for the text file not specifying the encoding as default. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |