I am trying to use the Google font Montserrat, but I can't make it work.
I have imported the font in the style sheet and inserted as the first font on the Body:
Do anyone have a solution ?
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@page
{
size: 210mm 297mm;
margin: 3cm 0.5cm 2cm 0.5cm;
...
body
{
margin: 0;
padding: 0;
font-family: 'Montserrat', Helvetica, Arial, sans-serif;
font-size:11pt;
}
Hi Peter,
Have you also tried uploading the font from a file? You can read more here. Atlassian mentions that the only font files supported are true type fonts and true type collections (as *.ttf and *.ttc format). This community thread also provides some info in relation to font changing for the native exporter.
Alternatively, should you wish for more control over the styling of your PDF content and want to overcome some of the limitations that Atlassian mentions here, you also upload custom fonts to Scroll PDF Exporter which we (K15t) develop. Just let us know if you have any questions regarding this app.
Cheers, Thomas (K15t)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.