What fonts are available?

The 15 char minimum subject says it all :slight_smile:
This is for all components that let you set the font name.

Whatever’s in the browser! If you want more, you can add more using custom HTML (or, soon, Themes).

Google Fonts is a good source of fonts - you can browse round those, select what you like, and then copy the HTML tags required to import that font into the top of your custom HTML. Then you can just specify the font name in the font property of the relevant component.

1 Like

Hi there, sorry to re-open this after so long.

Google fonts are exactly what I need. And when I do what is suggested, adding tag to standard-page.html, it works as advertised in the app. So even when I insert a Blank Panel form into my app, it works, I guess because my Main open form uses standard-page.html.

All good so far.

However, when I use the PDF renderer, it goes wrong (just uses basic fonts), because for my PDF I do not want the standard-page.html structure - I do just want the Blank Panel form, build it up from there and then render the PDF. However, because I cannot point the form to an html document, I cannot get it to see the Google font tags.

I tried making another form using custom html, created an html file called print.html and inserted the tags there. But that form just remains blank when I call open_form() on it, so I’m pretty sure the PDF renderer will do the same.

So I guess the question is: How do I get a Blank Panel form to recognise Google Fonts when it’s being opened on its own (like in an open_form call, or PDF render call) and not inserted into a form using standard-page.html?

Thanks for the help in advance
Bruce

Follow-up…got it to work. Ignored print.html and just inserted the tags in the custom form html section. Thanks

1 Like