Thomas Hoevel wrote:
Hi!
So the workaround is clear: use "normal" fonts, no font collections.
Hello,
I am not a font expert, I "inherited" the code. I now see that "Microsoft JhengHei" is a font family that consists of "Microsoft JhengHei Standard" and "Microsoft JhengHei Fett" (Win7) and an additional font in Win10, at least in the german version.
Trying to use "Microsoft JhengHei Standard" was not effective:
Code:
Style style = doc.Styles["Normal"];
style.Font.Name = "Microsoft JhengHei Standard"
The outcome is a PDF with lots of squares in it
. It there a way to use this font inside a font familiy with a "trick" or do I have to use a complete other font?
Is there a special notation to use a font inside a font family?
("Arial" seems to work although it is aslo a font family. :-/)
Grüße aus Köln
Peter