|
To load fonts from google font, you can get it from below link:
By using below code snippet, embed the following google font in the html file
Also, you can refer like below:
To apply that font, you can use below code snippet:
|
this.editorContainer.documentEditor.documentEditorSettings.fontFamilies = ['Roboto', 'Arial']; |
|
<ejs-documenteditorcontainer #documenteditor_default [enableToolbar]=true [locale]="culture" (created)="onCreate()" (documentChange)="onDocumentChange()" height="600px" [documentEditorSettings]="settings"></ejs-documenteditorcontainer>
public settings = {
fontFamilies: ['Roboto', 'Arial']
};
|
I am loosing print quality & in acrobat reader font is missing, Please help on this
Hi Theju,
## print quality
Please check below documentation to know more about improve print quality:
https://ej2.syncfusion.com/documentation/document-editor/print/#improve-print-quality
## acrobat reader font
Can you please share more details about this issue? if possible, please share simple document.
Regards,
Suriya M.
Dear Suriya,
Please find below attached pdf where missing font in acrobat ,
& kindly give one example where you added fonts in ejs-documenteditorcontainer & download print.
Best Regards,
Attachment: font1_227f85c0.zip
Hi Theju,
Apologies!
If font is installed in machine, it will automatically detected by Document editor.
Please check below KB for reference:
https://www.syncfusion.com/kb/13116/how-to-apply-external-fonts-in-document-editor
Can you please share below details to proceed further?
Regards,
Suriya M.