SAP Knowledge Base Article - Public

2470306 - Font type Discrepancy in Certificate Template Editor

Symptom

While editing “Certificate Template Editor” If we try to Preview the template system would preview the certificate with the exact font utilized in the html editor., however if we try to “Preview PDF” the system will not display with default font style.

Environment

  • Successfactors Learning Management System
  • Items
  • Certificate Templates

Reproducing the Issue

  1. Navigate to System Admin > Configurations > Certificate Template
  2. Try editing any existing Certificate template by deploying any special fonts.
  3. Once the template is complete click on “Preview”

privew.JPG

4. Click on "Preview PDF" and the view changes as below


PDF.JPG

Cause

The font library used in Launch editor are different from the fonts used in preview PDF.  "Preview PDF" Functionality uses the default fonts used in the system design which currently not supported for special fonts., So this is the reason as to why the font differs while you preview the PDF.

Resolution

This is an expected behavior with the current system design, We request you to create an enhancement on our Influence portal.

Also you can comment your view on the below community link.

https://community.successfactors.com/t5/Learning-Quick-Answers/Custom-Certificate-different-font-for-HTML-preview-vs-PDF/m-p/138647/highlight/true#M7207

Note:

We use Pd4ml library to generate PDF format report from html format template.

Currently, we have below 15 font-family types supported:
1 Arial Unicode MS
2 Times New Roman
3 Courier New
4 MS Mincho
5 MS Gothic
6 MingLiU
7 SimSun
8 Mangal
9 David
10 Batang
11 Wingdings
12 Symbol
13 Gulim
14 GulimChe
15 Lucida Sans Regular

which should be used in the custom certificate in font-family attribute as: font-family: 'Arial Unicode MS';

*"MS Mincho", "MS Gothic", "Lucida Sans Regular" those three fonts do not support Chinese/Japanese Characters

Keywords

sap, sf, LMS, Certificate, template editor, font, certificate template, editor, pdf, html, fonts , KBA , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , LOD-SF-LMS-ITE , Items , Problem

Product

SAP SuccessFactors Learning all versions