From #d-mentors,

[...]
twb> Actually the reason is that under wheezy, scribus templates assume Arial 
is in the path
twb> And installing Liberation fonts doesn't help
twb> It just pops up a thing saying "what typeface should I use instead?" which 
defaults to the *FIRST* font in the list, lexicographically
pabs> sounds like a usability bug, is it fixed in jessie?
twb> cjb says no
pabs> if so options are backport the whole thing or backport a small patch to 
wheezy version and get it accepted by the release team
twb> atm this is my shitty workaround:

    # Remove references to MS fonts from Scribus templates.
    gunzip /usr/share/scribus/templates/*/*.sla.gz
    sed -i /usr/share/scribus/templates/*/*.sla \
        -e 's/Arial Regular/Liberation Sans Regular/g' \
        -e 's/Arial Black Regular/Liberation Sans Bold/g' \
        -e 's/FreeSans Medium/Liberation Sans Bold/g'
    gzip --fast /usr/share/scribus/templates/*/*.sla

SamB> twb: if you actually wanted Arial, the .deb probably doesn't contain the 
font itself?
twb> SamB: I don't want Arial.
twb> SamB: I want scribus to believe "fc-match Arial" which says to use 
Liberation Sans
pabs> I need to write a template for 'please use fontconfig for looking up font 
locations'
pabs> https://wiki.debian.org/Fonts#fontconfig
[...]
pabs> hmm, includes less detail [on #742003] than you mentioned on IRC
twb> pabs: with your permission, I'll just dump this IRC transcript in an email 
to that task.
pabs> sure

An affected file is /usr/share/scribus/templates/pres_backgr_4/bokeh.sla.gz
in <CHARSTYLE CNAME="Default Character Style" ...>

In the above I'm replacing FreeSans; that's in Debian, it's just fugly.

You're doing Recommends: xfonts-scalable | gsfonts-x11,
you might add the fonts-* packages that your templates use.
fonts-liberation is the obvious replacement for Arial.
I guess freemono is "fonts-freefont-ttf | fonts-freefont-otf".

Attachment: signature.asc
Description: Digital signature

Reply via email to