Update: I stand corrected, embedding fonts into a PDF is not an option with the SAVEASPDF function in NAV 2009.
But now you at least know that this is solved in our next version.
I just want to share a small tip today. If you need to include a custom font into a RDLC report you need to first install the font, of course.
The Font must be a True Type font. If your font is an Open Type font you will need to convert this first for it to visible in Visual Studio.
Then you will need to restart the computer for the font to be embedded into the report when saving as PDF.
The restart issue took me some time to figure out, so with this small tip, you hopefully will not loose as much hair as I did, when you include a custom font into a RDLC report.
I have attached a sample RDLC report with a custom barcode font.
This means that if I use SAVEASPDF(....) i'll get a pdf file with embedded fonts?
I did a lot of times but I got ALWAYS pdf files without embedded fonts.
Please could you attach an example with a very simple report, using a very popular font (arial is installed on every pc) I can use with SAVEASPDF an get a PDF file with embedded fonts?
I suggest you use the font Segoe UI, this will be the standard font in our reports in our next version. More about this later...
Design any report in VS, change a textbox or more to the font Segoe UI. Save, compile and run report and export to PDF.
In Acrobat select "File / Properties"
Select "Fonts" tab.
Verify that the Segoe UI font is included in your PDF file.
Sorry for my stupid question but we both are using about Nav2009 R2 and VS 2008 or you are wroking with a beta version of Nav7 and VS2010?
I'm using NAV 2009 R2 Build 32012. Drop me an e-mail(my e-mail address should be easy to guess) or click "Email Blog Author", then I will have a look why you cannot get it working.
Ciao Claus,I emailed you using Email Blog author.
I didn't get any confirmation about it.
Let me know if you don't receive it.
It is worth noting that unless you have the rights to distribute the font that you are using that it is illegal to embed the font.
I noticed an important difference between your attached pdf example and mine:
If I open your pdf in Proprerties I see In Advanced section Pdf Author value:
"Microsoft Reporting Service PDF Rendering Extension 10.0.0.0".
In mine pdf (created with Nav2009 R2) the i see the value:
"Microsoft Reporting Service 9.0".
Do I need to install on my computer some additional Visual Studio extension or some hotfix?
e-mail address removed by clausl