+ Start a Discussion
sudhansudhan 

Fonts supported by visual force email template pdf attachment

I wanted the pdf attachment to display font in myriad style but inspite of using style tag still i'm able to get the pdf document only in times new roman format.Any solution to this.It works in email template but not working in email attachments

<style type="text/css">
   body {font-family:MyriadPro-SemiExt;font-size: 12px;  }
   table{font-family:MyriadPro-SemiExt;font-size: 12px;}
      </style>

 

i have placed the font inside static resource and in documents too but still not working

Best Answer chosen by Admin (Salesforce Developers) 
sudhansudhan
I placed font as a static resource and got the desired output. But i never mentioned anywhere about the location and still i was able to get result

All Answers

BeeddiskShahBeeddiskShah

Experts correct me if I am wrong, the font settings bepends on the client browser isn't it? and the system? The font is as good as it is present in the system, just like normal CSS.

 

 

sudhansudhan
I placed font as a static resource and got the desired output. But i never mentioned anywhere about the location and still i was able to get result
This was selected as the best answer
roundpegroundpeg
Could you show an examle snippit?