2

I'm trying to build a Scribus template for use by people who do not necessarily have some of the fonts that the template prefers.

In CSS one can define a "font-family", such as font-family: "Times New Roman", Times, serif; or font-family: Arial, Helvetica, sans-serif; (which isn't really the standard meaning for "font family", but never mind).

I see in the manual (Help:Manual Fontswin32 and Help:Manual Fontsconfig) that it's possible to set font substitution preferences with this dialog box: Preferences > Font substitution

But that appears to set user preferences in my instance of Scribus; what I'd like to do is define font substitution preferences for a template instead.

Related question if I have to fall back to Word (which seems even less likely to have a solution at this point): https://superuser.com/questions/1337305/word-font-substitution-in-templates

1

In Scribus 1.4.7 (maybe earlier too), there is an option to include the fonts when you save the template. Seems to work for me. It actually includes the font file in the directory you save the template to. The receiver will have to open it as a template (new from template), which means they need to put in one of the default places scribus looks or alter their preferences. They can NOT just open the *.sla file by itself.

Embed fonts

Of course, the fonts must allow re-distribution in their licenses.

0

One way of doing this* would be to export your preferences: File > Preferences > Export and include the generated file with your templates -- assuming that you have already included your font substitutions in your Preferences settings.

Users will then have to import these settings before calling the template in Scribus (you could add a Readme file for instructions). Have a look at: https://scribus-templates.net if you have more questions on templates.

*That is if you cannot include your fonts in your template as described: https://graphicdesign.stackexchange.com/a/111448/121612

  • I'm not sure that exporting the preferences is the good solution for Steve's question. Including the fonts as user2891127 suggest seems to be the better way. – a.l.e Jul 8 '18 at 19:10
  • @a.l.e What would you recommend if one cannot include used fonts in one's templates (e.g. proprietary fonts) but would like to suggest system alternatives (font family)? – Norbert Jul 10 '18 at 3:14
  • I would not use proprietary fonts for templates, i provide to a wide audience. I've never tried to export and import the Scribus preferences, but i guess that importing them will overwrite the full user's preferences, which is not what the users expects when using a template... The solution would be to add such suggestions into the scribus template format... if you or anybody reading this wants to work on it, the Scribus github repository welcomes your pull requests! – a.l.e Jul 10 '18 at 17:49
  • @a.l.e That's a great idea! I do not have coding superpowers -- but I do have others that are hopefully useful to the community :) I think you are doing a great work! Thanks. – Norbert Jul 11 '18 at 6:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.