Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
575
Getting fonts to work
posted

Why does this work:

 (True Type Font)

Infragistics.Documents.Graphics.Font QuoteFonta = new Infragistics.Documents.Graphics.Font("verdana", 16, "C:\\Windows\\Fonts\\verdana.ttf");

But this does not work:

 (Open Type Font)

 Infragistics.Documents.Graphics.Font QuoteFonta = new Infragistics.Documents.Graphics.Font("MyriadPro-Black", 16, "C:\\Windows\\Fonts\\MyriadPro-Black.otf");

 Both fonts are in the directory indicated.

Parents
No Data
Reply Children
No Data