im generating a pdf report in which i want to use a non standard font. I installed the font on the webserver and included the font in a Style, but it isn't being used in the report.
I thought that when you generate a pdf all the object you insert into it are then embedded in the file. Just like the images. Is this not so?
I tried using the FontLoader of my report object, but keep getting a 'ref. not set ' error.
So how do i use my own fonts in a report?
Thanks.
It has been 3 years since....
But probably there is a solution now?
We use a textile care label font, which should show up in the PDF's we print. But it does not.
Is anyone out there knowing a remedy? I'd be thankful!
Werner
stapff said: I have a similar problem right now -- have you had any luck in solving this? Nope, none whatsoever. And i currently think there is no solution for this problem with this library because Infragistics couldn't hand me the solution thus far.A colleague of mine uses a different pdf generator where including custom fonts is a walk in the park. I just can't figure out why this is not supported in the infragistics library. In the future i'll be looking for a different library to generate my pdf-documents, that's for sure! Good luck! ps. if you're having better luck than me and find a good solution to this problem, please let me know. [/quote] I'll be sure to do so. Specifically I seem to be having trouble with Adobe fonts, like Myriad Pro Black. True Type Fonts seem to work better than Open Type Fonts. In fact Open Type Fonts don't seem to work at all. I hate to say it, but Infragistics has sure dropped the ball on this one. What a shame. I have posted several posts on this topic and no reply yet. I guess when they don't know the answer they just ignore your post. I'll have to see if I can submit a ticket to their development staff. What library are you using instead - you said there is a document generator that does a great job with fonts?
I have a similar problem right now -- have you had any luck in solving this?
Nope, none whatsoever.
And i currently think there is no solution for this problem with this library because Infragistics couldn't hand me the solution thus far.A colleague of mine uses a different pdf generator where including custom fonts is a walk in the park. I just can't figure out why this is not supported in the infragistics library.
In the future i'll be looking for a different library to generate my pdf-documents, that's for sure!
Good luck!
ps. if you're having better luck than me and find a good solution to this problem, please let me know.
[/quote]
I'll be sure to do so.
Specifically I seem to be having trouble with Adobe fonts, like Myriad Pro Black. True Type Fonts seem to work better than Open Type Fonts. In fact Open Type Fonts don't seem to work at all. I hate to say it, but Infragistics has sure dropped the ball on this one. What a shame. I have posted several posts on this topic and no reply yet. I guess when they don't know the answer they just ignore your post. I'll have to see if I can submit a ticket to their development staff.
What library are you using instead - you said there is a document generator that does a great job with fonts?
knowlton said: I have a similar problem right now -- have you had any luck in solving this?
i still have not found the answer how to embed my fonts in a pdf report (Infragistics.Documents.Report.Report)
when i instantiate the Infragistics.Documents.Report.Report class, i found the FontLoader function, but it always seems to return 'Object reference not set to an instance of an object.'
How do i use this function or how do i embed custom fonts in a other way?