I'm trying to add a custum font from a local .ttf file and then deploy it into shinyapps.io
Inside my app directory i have a www folder that contains 'font.ttf' and a style.css that looks as follows:
@font-face {
src: url(www/font.ttf);
font-family: "font.ttf";
}
/* main header */
.skin-blue .main-header .logo {
font-family: "mexecellent";
font-size: 12px;
}
Then I include it inside my shiny app as follows
tags$head(includeCSS("www/style.css"))
However there is NO change in the text fonts.
I would really apprecciate some help.