diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-10-20 20:54:21 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-10-20 21:24:08 +0000 |
| commit | 0ec8457e3dfde14a9f1be1e65ddd0aa35f9dcd7c (patch) | |
| tree | bcbd0114609ec386dce5f05d4c5294901cca53e8 /src/io/resource.cpp | |
| parent | FontFactory: Add function to add additional font directories (diff) | |
| download | inkscape-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/io/resource.cpp')
| -rw-r--r-- | src/io/resource.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/io/resource.cpp b/src/io/resource.cpp index c3cd9e403..3f970dfa1 100644 --- a/src/io/resource.cpp +++ b/src/io/resource.cpp @@ -52,6 +52,7 @@ gchar *_get_path(Domain domain, Type type, char const *filename) case APPICONS: temp = INKSCAPE_APPICONDIR; break; case EXTENSIONS: temp = INKSCAPE_EXTENSIONDIR; break; case FILTERS: temp = INKSCAPE_FILTERDIR; break; + case FONTS: temp = INKSCAPE_FONTSDIR; break; case GRADIENTS: temp = INKSCAPE_GRADIENTSDIR; break; case ICONS: temp = INKSCAPE_PIXMAPDIR; break; case KEYS: temp = INKSCAPE_KEYSDIR; break; @@ -87,6 +88,7 @@ gchar *_get_path(Domain domain, Type type, char const *filename) switch (type) { case EXTENSIONS: name = "extensions"; break; case FILTERS: name = "filters"; break; + case FONTS: name = "fonts"; break; case GRADIENTS: name = "gradients"; break; case ICONS: name = "icons"; break; case KEYS: name = "keys"; break; |
