Fonts for WEBMAIL | MDaemon Technologies, Ltd.

Fonts for WEBMAIL


  • Is it possible to add a font for WEBMAIL, such as the Segoi font?



  • Hi Vladimir,

    The short answer is, yes, you can do this for CKEdtior in the WorldClient, and LookOut themes. However, it will require you editing the Compose.html templates under MDaemon/WorldClient/Templates/WorldClient and MDaemon/WorldClient/Templates/LookOut and editing the MDaemon/WorldClient/Domains.ini.

    In both Compose.html template files, look for the line config.removeDialogTabs = 'link:upload';

    Immediately below this line, add the following:

    config.font_names='Arial;Comic Sans MS;Courier New;Georgia;Lucida Sans Unicode;Tahoma;Times New Roman;Trebuchet MS;Verdana'

    Add your fonts to the list, or use only fonts you want users to see. Make sure to add them inside the single quotes (') and separate them by semi colons (;).

    For example: config.font_names='Amiko;Arial;....'

    Next, in both Compose.html files, look for the line <$ELSEIF CGI:ReturnCSS$>

    Immediately below this line add your @font-face css.

    For example:

    @font-face {
        font-family: Amiko;
        src: url(./All/StyleSheets/fonts/Amiko-Regular.ttf);
    }

    Make sure you place your font files in MDaemon/WorldClient/HTML/All/StyleSheets/fonts

    Then, in both Compose.html files, look for the line $Compose.settings.setObj({

    Immediately below this line, add the following:

    "composeFontNames": "<$USER:ComposeFontNames$>",

    When you're done, the code should look like this:

    $Compose.settings.setObj({
        "composeFontNames": "<$USER:ComposeFontNames$>",
        "user": '<$USER,JS$>',
        "lang": "<$LANG$>",

    Lastly, in the MDaemon/WorldClient/Domains.ini, under the [Default:UserDefaults] section add the exact same list of fonts that you added to config.font_names above, but do not use the quotes:

    For example: ComposeFontNames=Amiko;Verdana;Time New Roman

    The fill should look something like this when you're done:

    [Default:UserDefaults]
    ComposeFontNames=Amiko;Arial;Tahoma;Times New Roman

    These will replace the default list of font names. 

    Make sure that if you are adding more than one font that you use a semi-colon (;) to separate them in the list, but do not end with a semi-colon.

    Just remember, you're going to have to do this every time you upgrade to the latest version of MDaemon.

    Please let us know if you have any further questions.


Please login to reply this topic!