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

euro sign displayed in one pdf, but in another not
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3751
Page 1 of 1

Author:  BeSt [ Tue Mar 27, 2018 10:26 am ]
Post subject:  euro sign displayed in one pdf, but in another not

Hi

I write a huge VB.NET program, which generates a great vary of PDF documents.
Now I have the problem, that in one PDF the euro sign € is printed as defined, but in another PDF, which is generated by the same EXE, with the same classes and the same functions, the Euro sign is substitued by a question mark.

The PDFDocumentRenderer has in both cases the .unicode = false

Has anybody any idea, why I see this problem or how to get rid of it?

If you want to see some code, please tell me, so I ca post it here.

Regards
BeSt

Author:  Thomas Hoevel [ Tue Mar 27, 2018 11:47 am ]
Post subject:  Re: euro sign displayed in one pdf, but in another not

BeSt wrote:
If you want to see some code, please tell me, so I ca post it here.

That might help. See also: http://www.pdfsharp.net/wiki/IssueSubmissions.ashx
Same code, same DLL, same font?

BeSt wrote:
[...] the Euro sign is substitued by a question mark.

Question mark sounds like a problem with string conversions (code-page conversions).

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