Bug 24465 - mkfontdir assumes mkfontscale is installed in the same prefix
mkfontdir assumes mkfontscale is installed in the same prefix
Status: RESOLVED FIXED
Product: xorg
Classification: Unclassified
Component: App/mkfont*
unspecified
All All
: medium normal
Assigned To: Xorg Project Team
Xorg Project Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-11 18:52 UTC by Paul Jarc
Modified: 2011-10-15 16:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Jarc 2009-10-11 18:52:24 UTC
mkfontdir.cpp refers to mkfontscale as BINDIR/mkfontscale.  This breaks if mkfontscale is installed in a different prefix, as it may be since they are packaged separately.  This would work in a wider variety of setups:
PATH=BINDIR:$PATH
exec mkfontscale ...
Comment 1 Jeremy Huddleston 2011-10-06 10:31:46 UTC
commit e3ee2b17572a26b6a6e78fdbfa4e38059da6c170
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Thu Oct 6 10:29:42 2011 -0700

    Fix issues where mkfontscale and mkfontdir are installed in different 
locations or bindir contains a space
    
    https://bugs.freedesktop.org/show_bug.cgi?id=24465
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>