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.
- Successfactors Learning Management System
- Certificate Templates
Reproducing the Issue
- Navigate to System Admin > Configurations > Certificate Template
- Try editing any existing Certificate template by deploying any special fonts.
- Once the template is complete click on “Preview”
4. Click on "Preview PDF" and the view changes as below
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.
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.
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
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
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