PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Using uninstalled fonts https://forum.pdfsharp.net/viewtopic.php?f=2&t=1055 |
Page 1 of 1 |
Author: | KEVINAKI [ Sat Feb 13, 2010 5:06 pm ] |
Post subject: | Using uninstalled fonts |
I have managed to load a font from file using the following code: PrivateFontCollection PrivateFonts = new PrivateFontCollection(); if (PrivateFonts == null) { PrivateFonts = new PrivateFontCollection(); } string _path = "NewFont.ttf"; if (File.Exists(_path)) { PrivateFonts.AddFontFile(_path); } Could you please explain now how to use the Privatefonts for printing text Thanks a lot. P.S. congratulations on the library |
Author: | Thomas Hoevel [ Tue Feb 16, 2010 10:54 am ] |
Post subject: | Re: Using uninstalled fonts |
Discussed here: viewtopic.php?f=2&t=1050 |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |