Documentation

Using external fonts

To use external fonts in mAuthor it is necessary to perform the following steps:

  • Download the font file in .ttf format.
  • Upload all font files to mAuthor by going to the Assets tab associated with your template.
  • If the .ttf file uploaded in Assets appeared on the list as e.g. '/file/serve/4897607679737856', then you should replace the path in the CSS file with the mAuthor path.
Example entries in CSS: @font-face { font-family: 'questrial'; src: url('/file/serve/6284968015691776'); font-weight: normal; font-style: normal; } @font-face { font-family: 'questrial'; src: url('/file/serve/6284968015691776'); font-weight: bold; font-style: normal; } @font-face { font-family: 'questrial'; src: url('/file/serve/6284968015691776'); font-weight: normal; font-style: italic; } Now you can paste the above CSS code in the lesson's CSS (Presentation->Edit CSS), or in the template's code if you are using one. From now on you can use font-family: 'questrial'; declaration for other modules like Text, etc.