Loading

CPQ Quote Documents are unable to bold text for Roboto Light font

게시 일자: Mar 5, 2026
상세 설명
Salesforce CPQ is able to support quote document generation and ships with many options for font type. In typical scenarios of HTML or XML, the following source code should yield text in bold format. However, Salesforce CPQ Quote Document Generation will not display the following in bold text for the Roboto Light font.
<p style="font-family: roboto light, sans-serif;font-weight: bold;">
This font should be bold</p>

<p style="font-family: roboto light, sans-serif;">
<strong>This font should also be bold</strong></p>
솔루션

Bold text is not displayed when using the Roboto Light font. If you wish to have bold text mixed in with Roboto Light font, you can follow these steps on text that is already present in Roboto Light font to convert the text to Roboto font using source code, or select Roboto font and apply it to the template content:

  • Navigate to the Template Content and click Edit
  • In the Template Content editor, highlight the words you wish to be bold
  • Change the font on those words to Roboto.
  • With the text still highlighted, click the bold modifier in the Template Content editor. The final text will appear similar to the first example below. The code example below is also acceptable to manually modify source code.
<span style="font-family:roboto light,sans-serif;">
This is my text in Roboto Light. </span>

<strong><span style="font-family:roboto,sans-serif;">
This is the text in Roboto that is bold.</span></strong>
<span style="font-family:roboto light,sans-serif;"> 
This is Roboto Light again.</span>

<span style="font-family:roboto light, sans-serif;">
This is my text in Roboto Light. 
    <span style="font-family:roboto, sans-serif;"><strong>
    This is the text in Roboto that is bold.</strong></span> 
This is Roboto Light again.</span>
Knowledge 기사 번호

000380226

 
로드 중
Salesforce Help | Article