<div dir="auto"><div>I think the best thing would be to save the name of the font AND its font type (serif or sans-serif) in the theme file when exported, then check if the requested font is installed on theme import. If it is not available, a warning dialog should be shown, indicating that the named font is not available on the current system, and that another default font will be used. A button on the dialog could allow a user to jump straight to the font settings in the theme wizard so they can choose a replacement font if they wish. <div dir="auto"><br></div><div dir="auto">In the background, the theme file is not changed unless the user subsequently changes the font themselves. It still refers to the missing font. But OpenLP is smart enough to display a default font. Because the style of font is stored in the theme, it should be possible to replace serif with serif, and sans-serif with sans-serif.</div><div dir="auto"><br></div><div dir="auto"><br></div><br><div class="gmail_extra"><br><div class="gmail_quote">On 11 Oct 2017 3:12 AM, "Jonathan Corwin" <<a href="mailto:j@corwin.co.uk">j@corwin.co.uk</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="quoted-text">On 10 October 2017 at 17:09, Jonathan Corwin <span dir="ltr"><<a href="mailto:j@corwin.co.uk" target="_blank">j@corwin.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>If something needs to be done perhaps as someone suggested, a message on theme export along the lines of "This theme uses the Comic-Sans font which will need to be on the destination computer"</div></div></blockquote><div><br></div></div><div>And perhaps more importantly, on theme import tell the user if the font is missing, if OpenLP doesn't do so already.</div><div> </div></div></div></div>
<br>______________________________<wbr>_________________<br>
openlp-dev mailing list<br>
<a href="mailto:openlp-dev@openlp.io">openlp-dev@openlp.io</a><br>
<a href="https://lists.openlp.io/mailman/listinfo/openlp-dev" rel="noreferrer" target="_blank">https://lists.openlp.io/<wbr>mailman/listinfo/openlp-dev</a><br>
<br></blockquote></div><br></div></div></div>