Optimizing the PDF Export of Huge Reports in Sql Reporting Services 2005

前端 未结 3 928
悲&欢浪女
悲&欢浪女 2021-01-13 17:34

First off I understand that it is a horrible idea to run extremely large/long running reports. I am aware that Microsoft has a rule of thumb stating that a SSRS report shoul

3条回答
  •  一生所求
    2021-01-13 18:07

    We narrowed down the large PDF exports from SSRS and found 2 main culprits

    1) Unless images are JPG or PNG colour type 3, they are expanded to BMP's See here

    2) Unless you configure SSRS to behave otherwise (not recommended), then SSRS will embed fonts or font subsets into the PDF, unless they are one of the 5 'standard' PDF fonts.

    Although none of the standard fonts (other than Symbol I guess) are installed on most Windows OS's out of the box, we've found that if you use Times New Roman, Courier New, or Arial then forward and reverse font substitution will take place.

    The easiest way to convert your RDL's is to view them as XML and search and replace the FontFamily tags.

    If you have to use a non standard font, then, you can still minimize the damage:

    • Use as few fonts as you can. Search through the RDL XML to make sure there aren't any redundant fonts.
    • Use TTF fonts if you use different sizes of the font.
    • Try not to mix normal, bold and italic variants of the font, else it will be embedded multiple times.

提交回复
热议问题