PDFsharp & MigraDoc Forum https://forum.pdfsharp.net/ |
|
Some fonts doesn't work https://forum.pdfsharp.net/viewtopic.php?f=2&t=2105 |
Page 1 of 1 |
Author: | maddinel [ Thu Aug 09, 2012 6:58 pm ] |
Post subject: | Some fonts doesn't work |
Hi, I tried to write a text in a special font installed at my pc but every time it does write in Arial. Than I tested some other installed fonts and I had the same problems with many other fonts. I only tested True Type and Open Type fonts. This is the way I'm loading fonts ... Code: XFont font_bold_header = new XFont("Segoe UI", 50, XFontStyle.Bold); For example Calibri doesn't work, Times New Roman works fine, Segoe UI doesn't work (<-- but I need this very very strongly) What I'm doing wrong? |
Author: | Thomas Hoevel [ Mon Aug 13, 2012 8:11 am ] |
Post subject: | Re: Some fonts doesn't work |
maddinel wrote: What I'm doing wrong? Nothing wrong with the line of code you are showing. Segoe UI works with our documents. See here: viewtopic.php?f=2&t=832 |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |