plug-ins: lookup WMF fonts on same prefix when relocatable bundle.4ff856f68d167ff83a75bf9fc0208de41625bde9
commit4ff856f68d167ff83a75bf9fc0208de41625bde9
authorJehan <jehan@girinstud.io>
Wed, 27 Jun 2018 02:22:20 +0000 (27 04:22 +0200)
committerJehan <jehan@girinstud.io>
Wed, 27 Jun 2018 02:29:38 +0000 (27 04:29 +0200)
treefe1a82148005555d1ff368f603a3534e0450d07e
parent008477600279443b2a58d0edc5bd195f521d0a05
plug-ins: lookup WMF fonts on same prefix when relocatable bundle.

When ENABLE_RELOCATABLE_RESOURCES is set, override libwmf fontdir. This
is actually an alternate version of MR !9 by Alex Samorukov assuming a
bundled GIMP on a single prefix rather than depending on an environment
variable.
This especially makes the relocatable feature more discoverable (rather
than some random environment variable for which you'd need to read the
code to discover it then make some wrapper script for GIMP).
plug-ins/common/file-wmf.c