Re: /usr/local support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Damjan" == Damjan Jovanovic <damjan.jov@xxxxxxxxx> writes:

Damjan> the suggestions that were given (install them into a custom
Damjan> directory and copy to ~/.fonts at runtime, call some fontconfig
Damjan> function that adds a custom search directory, ...)  seem
Damjan> wasteful/ugly.

While I agree completely that the first is inelegant, that latter is the
proper way to handle application-specific fonts.

What you are shooting for is better handling of fonts bundled with apps,
which is a different problem.

Some apps want to use some fonts which are of no value to (most) other
apps, or which have restrictive licensing which prohibits system-wide
installation.  That is what the app-specific support in fontconfig is
for.  Those fonts should go in ${prefix}/share/${app}/fonts if prefix
is eg /usr or /usr/local, or ${prefix}/share/fonts if prefix has the
app's name in it, such as /opt/${app}, /pkg/${app}, /usr/pkg/${app},
et cetera.

OTOH, fonts which are simply bundled should go in a subdir of
${prefix}/share/fonts specific to the package, as per your proposal.

-JimC
-- 
James Cloos <cloos@xxxxxxxxxxx>         OpenPGP: 1024D/ED7DAEA6
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux