summaryrefslogtreecommitdiffstats
path: root/src/path-prefix.h
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-10-20 20:54:21 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-10-20 21:24:08 +0000
commit0ec8457e3dfde14a9f1be1e65ddd0aa35f9dcd7c (patch)
treebcbd0114609ec386dce5f05d4c5294901cca53e8 /src/path-prefix.h
parentFontFactory: Add function to add additional font directories (diff)
downloadinkscape-0ec8457e3dfde14a9f1be1e65ddd0aa35f9dcd7c.tar.gz
inkscape-0ec8457e3dfde14a9f1be1e65ddd0aa35f9dcd7c.zip
Define INKSCAPE_FONTSDIR and add USER/SYSTEM resource paths for fonts
(Note we always had an empty /share/fonts directory that didn't seem to have any purpose yet)
Diffstat (limited to 'src/path-prefix.h')
-rw-r--r--src/path-prefix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/path-prefix.h b/src/path-prefix.h
index 1c17ce2d8..d6514d832 100644
--- a/src/path-prefix.h
+++ b/src/path-prefix.h
@@ -34,6 +34,7 @@
# define INKSCAPE_EXAMPLESDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/examples" )
# define INKSCAPE_EXTENSIONDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/extensions" )
# define INKSCAPE_FILTERDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/filters" )
+# define INKSCAPE_FONTSDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/fonts" )
# define INKSCAPE_GRADIENTSDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/gradients" )
# define INKSCAPE_KEYSDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/keys" )
# define INKSCAPE_PIXMAPDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/icons" )
@@ -58,6 +59,7 @@
# define INKSCAPE_EXAMPLESDIR WIN32_DATADIR("examples")
# define INKSCAPE_EXTENSIONDIR WIN32_DATADIR("extensions")
# define INKSCAPE_FILTERDIR WIN32_DATADIR("filters")
+# define INKSCAPE_FONTSDIR WIN32_DATADIR("fonts")
# define INKSCAPE_GRADIENTSDIR WIN32_DATADIR("gradients")
# define INKSCAPE_KEYSDIR WIN32_DATADIR("keys")
# define INKSCAPE_PIXMAPDIR WIN32_DATADIR("icons")
@@ -81,6 +83,7 @@
# define INKSCAPE_EXAMPLESDIR "Contents/Resources/share/inkscape/examples"
# define INKSCAPE_EXTENSIONDIR "Contents/Resources/share/inkscape/extensions"
# define INKSCAPE_FILTERDIR "Contents/Resources/share/inkscape/filters"
+# define INKSCAPE_FONTSDIR "Contents/Resources/share/inkscape/fonts"
# define INKSCAPE_GRADIENTSDIR "Contents/Resources/share/inkscape/gradients"
# define INKSCAPE_KEYSDIR "Contents/Resources/share/inkscape/keys"
# define INKSCAPE_PIXMAPDIR "Contents/Resources/share/inkscape/icons"
@@ -104,6 +107,7 @@
# define INKSCAPE_EXAMPLESDIR INKSCAPE_DATADIR "/inkscape/examples"
# define INKSCAPE_EXTENSIONDIR INKSCAPE_DATADIR "/inkscape/extensions"
# define INKSCAPE_FILTERDIR INKSCAPE_DATADIR "/inkscape/filters"
+# define INKSCAPE_FONTSDIR INKSCAPE_DATADIR "/inkscape/fonts"
# define INKSCAPE_GRADIENTSDIR INKSCAPE_DATADIR "/inkscape/gradients"
# define INKSCAPE_KEYSDIR INKSCAPE_DATADIR "/inkscape/keys"
# define INKSCAPE_PIXMAPDIR INKSCAPE_DATADIR "/inkscape/icons"