SAVEASPDF - impossible to use new font

HalMdyHalMdy Member Posts: 429
edited 2011-10-25 in NAV Three Tier
Hello all,

I've got the following issue : we develop a report using "Arial Narrow" font. Unfortunatelly, this font was not installed on the production serveur (application server). We've installed it. Now, we can use this font on the server (in Wordpad), but not in the report saved as pdf ! Definition of the report in VisualStudio is correct. We try to compile all, restart the application service without success. Is there any other operation to do ?

Thx for help, Experts !

HalMdy

Comments

  • stevedivimaststevedivimast Member Posts: 39
    edited 2011-05-26
    PDF files created by SAVEASPDF command are without embedded fonts. (AAAAAAGGGGGGGGGHHHHHHH!!!!!) :thumbsdown: :thumbsdown: :thumbsdown:
    This means you need to install all fonts used in PDF on the machine you use to view them, otherwise your pdf viewer will choose an alternative font.


    Addendum:
    This is true for Nav2009 Nav2009SP1 and Nav2009R2
  • HalMdyHalMdy Member Posts: 429
    But ...

    You mean that, if I take my PDF file on another machine with the font installed, I will see it correctly ?
    No chance, I try to open the pdf on my own PC with the font Arial Narrow installed and I've got the same problem ...
  • ufukufuk Member Posts: 514
    I've just checked on my local and it works properly.
    Ufuk Asci
    Pargesoft
  • stevedivimaststevedivimast Member Posts: 39
    Try this:
    Open PDF file with a PDF viewer (I Use Acrobat Reader X, but I think you can do the same with othe viewer)
    Use (I refer to Acrobat reader) File --> Properties --> Tab Font.
    This show information about font used in PDF an font used by pdf viewer.
    If PDF file doesn't embedd font and the viewer cannot find the correct font on your machine, you will see the font name used instead of the correct one.
  • clauslclausl Member Posts: 455
    Just ran into the same issue that my custom font was not included in PDF file.

    Easy fix is to restart the computer, then custom fonts will be included in the PDF file.

    Made a small blog post where I also attached a sample report with a barcode font embedded.
    http://blogs.msdn.com/b/nav/archive/2011/10/25/embedding-fonts-into-pdf.aspx

    /Clausl
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Sign In or Register to comment.