On Darwin add Mac font directories to fonts.conf.
This commit is contained in:
parent
432913ead5
commit
72a762196f
|
@ -1,4 +1,4 @@
|
||||||
XCOMM $XFree86: xc/lib/fontconfig/Imakefile,v 1.8 2002/11/15 09:29:35 alanh Exp $
|
XCOMM $XFree86: xc/lib/fontconfig/Imakefile,v 1.9 2002/11/21 16:53:00 keithp Exp $
|
||||||
|
|
||||||
#define IHaveSubdirs
|
#define IHaveSubdirs
|
||||||
#define PassCDebugFlags
|
#define PassCDebugFlags
|
||||||
|
@ -19,10 +19,15 @@ FONTCONFIG_REVISION=1
|
||||||
|
|
||||||
FONTCONFIGFONTSCONFDIR=FontconfigFontsConfDir
|
FONTCONFIGFONTSCONFDIR=FontconfigFontsConfDir
|
||||||
|
|
||||||
|
#ifdef DarwinArchitecture
|
||||||
|
MACFONTDIRS = ~/Library/Fonts /Library/Fonts /Network/Library/Fonts \
|
||||||
|
/System/Library/Fonts
|
||||||
|
#endif
|
||||||
|
|
||||||
#if NothingOutsideProjectRoot
|
#if NothingOutsideProjectRoot
|
||||||
FONTDIRS=$(FONTDIR)
|
FONTDIRS=$(FONTDIR)
|
||||||
#else
|
#else
|
||||||
FONTDIRS=/usr/share/fonts $(FONTDIR)
|
FONTDIRS=/usr/share/fonts $(FONTDIR) $(MACFONTDIRS)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SUBSTVARS=prefix=$(PROJECTROOT) \
|
SUBSTVARS=prefix=$(PROJECTROOT) \
|
||||||
|
|
Loading…
Reference in New Issue