Custom Font

0
Wondering if there is any way to upload a custom font (.otf file) to the app interface itself. All the material I see is for generating a pdf file with a custom font. Thanks!
asked
1 answers
0

You can add a font to theme/font and then add it to your configuration in custom-variable.scss like this:

 

@font-face {

    font-family: "icons-blank-theme";

    font-style: normal;

    font-weight: normal;

    src: url("/fonts/Blank-Theme-Icons.eot?#iefix") format("embedded-opentype"), url("/fonts/Blank-Theme-Icons.woff") format("woff"), url("/fonts/Blank-Theme-Icons.ttf") format("truetype"), url("/fonts/Blank-Theme-Icons.svg#icons-blank-theme") format("svg");

}

@font-face {
    font-family: "icons-blank-theme";
    font-style: normal;
    font-weight: normal;
    src: url("/fonts/Blank-Theme-Icons.eot?#iefix") format("embedded-opentype"), url("/fonts/Blank-Theme-Icons.woff") format("woff"), url("/fonts/Blank-Theme-Icons.ttf") format("truetype"), url("/fonts/Blank-Theme-Icons.svg#icons-blank-theme") format("svg");
}

 

answered