how to embed font when export SSRS report file to pdf using reportviewer in c#

  • Thread starter Thread starter motheroftwo
  • Start date Start date
M

motheroftwo

Guest
I am working on export SSRS file to pdf in c# using reportviewer


using (Streams = view.ServerReport.Render("PDF", deviceInfo, null, out m_mimeType, out m_fileExt))

and deviceinfo is a string and it define as below


deviceInfo= "<DeviceInfo>"
+ " <OutputFormat>" + OutputFormat + "</OutputFormat>"
+ " <PageWidth>" + PageWidth + "</PageWidth>"
+ " <PageHeight>" + PageHeight + "</PageHeight>"
+ " <MarginTop>" + MarginTop + "</MarginTop>"
+ " <MarginLeft>" + MarginLeft + "</MarginLeft>"
+ " <MarginRight>" + MarginRight + "</MarginRight>"
+ " <MarginBottom>" + MarginBottom + "</MarginBottom>"

+ "</DeviceInfo>"

;

after export job is done, we send a pdf batch to our fullfillment vendor however it is too big because each pdf has embedded subset fonts.

My question is there a way to include only certain fonts instead all of them? we can pick and choose

the fonts to include. since there are couple "standard" font that we choose not include since we know it is

installed via our fullfillment vendor.


I am appreciate your helps.










Continue reading...
 
Back
Top