Move the default fontpath from /usr/local/lib/X11/fonts to

/usr/local/share/fonts to match XDG_DATA_DIR (where Desktop tools will look for
by default).

discussed with sthen@ and matthieu@
ok sthen@
This commit is contained in:
ajacoutot 2015-03-31 09:42:56 +00:00
parent 6fa978734b
commit c269e943e2
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.2 2013/03/16 14:28:35 matthieu Exp $
# $OpenBSD: Makefile,v 1.3 2015/03/31 09:42:56 ajacoutot Exp $
FONTCONFIG = ${.CURDIR}/../../dist/fontconfig
FC_DEFAULT_FONTS = ${X11BASE}/lib/X11/fonts
FC_FONTPATH = "<dir>/usr/local/lib/X11/fonts</dir>"
FC_FONTPATH = "<dir>/usr/local/share/fonts</dir>"
CONFIGDIR = conf.d
FC_CACHEDIR = /var/cache/fontconfig

View File

@ -11,7 +11,7 @@
/* #undef ENABLE_LIBXML2 */
/* Additional font directories */
#define FC_ADD_FONTS "/usr/local/lib/X11/fonts"
#define FC_ADD_FONTS "/usr/local/share/fonts"
/* Architecture prefix to use for cache file names */
/* #undef FC_ARCHITECTURE */