« Return to Thread: Cannot get base font from micross.ttf

Re: Cannot get base font from micross.ttf

by Paulo Soares-3 :: Rate this Message:

Reply to Author | View in Thread

Maybe the file is at C:\\Windows\\Fonts\\micross.ttf.

Paulo

----- Original Message -----
From: "Belmiris" <rickcimbalo@...>
To: <itextsharp-questions@...>
Sent: Sunday, June 21, 2009 9:51 PM
Subject: [itextsharp-questions] Cannot get base font from micross.ttf



I am having trouble creating a a base font for 'Microsoft Sans Serif'
(micross.ttf)

BaseFont bf = BaseFont.CreateFont(m_FontFolder + "\\micross.ttf",
BaseFont.CP1252, BaseFont.NOT_EMBEDDED);

I can create other fonts from but when I try this I get the error:

C:\\Windows\\system32\\Fonts\\micross.ttf not found as file or resource.

even though it IS there.


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
itextsharp-questions mailing list
itextsharp-questions@...
https://lists.sourceforge.net/lists/listinfo/itextsharp-questions

 « Return to Thread: Cannot get base font from micross.ttf