Loading custom fonts into WebApp
-
Is it possible to add different fonts to WebApp?
I see a fonts folder in the Webapp/Client folder but it doesn’t look like the right location?Thanks
Bob -
@robertwbrandt In what way would you like to use these fonts?
-
When creating/editing a message, right now there are only 5 Fonts available:
Arial
Courier New
Tahoma
Times New Roman
Verdana
I was wondering if it is possible to add to that list?I did a little research myself and I’m guessing that this is bundled into the tinymce editor and I would have to “hack” this in order to do what I want. Not ideal. :(
-
@robertwbrandt Well, yes and no. We do not currently support adding additional fonts to the editor through the config (for reasons below). But yes, technically you could ‘hack’ a new font in like you say, which you could then select in the editor.
The problem with custom/additional fonts is that they can only be displayed when the font is installed on the device that has to show the message. Lets say you have added ‘mycorporatefont’ to the list: you can write an email and select the font.
Where the problem really when you send an email with this custom font to a third-party recipient, as you can not be certain that ‘mycorporatefont’ is also available on their computer (lets not get started on mobile devices). This especially applies to third-party recipients. If a font is not installed on a recipient system, it will most likely revert to a standard font instead.
-
@bhuisman It should be possible by adding a custom online-font via CSS like Google Fonts. We do this already in different Apps like mass mailing that provides CSS-Fonts. E.g. you can use an own font by uploading to your website, so there will be no Content-Security-Policy issues, because the font have the same domain as the mail ;)
Can you please provide this “hack”, so we can setup our corporate font in Kopano?
-
@ramon-kramer said in Loading custom fonts into WebApp:
we can setup our corporate font in Kopano?
Hi Ramon! Did you manage to import your font into Webapp? I would like to do the same …
-
https://forum.kopano.io/topic/1411/solved-calibri-font-in-web-desk-app/3
There is a way to get a font into the webapp, but it might get overwritten with each update.