summaryrefslogtreecommitdiff
path: root/scp2
diff options
context:
space:
mode:
authorHerbert Duerr [hdu] <duerr@sun.com>2010-05-11 16:09:45 +0200
committerHerbert Duerr [hdu] <duerr@sun.com>2010-05-11 16:09:45 +0200
commit72567ce2692844ab296284af26825e69ee51215d (patch)
tree17323f940c03a2308ef3a68607b8763aab9164a3 /scp2
parent656fd85b0c10520045923251e60a95365d5396a7 (diff)
#i111077# install fc_local.conf file next to app-specific fonts
Diffstat (limited to 'scp2')
-rw-r--r--scp2/source/ooo/file_font_ooo.scp13
1 files changed, 13 insertions, 0 deletions
diff --git a/scp2/source/ooo/file_font_ooo.scp b/scp2/source/ooo/file_font_ooo.scp
index 88c03cd4f5b3..db857af606b3 100644
--- a/scp2/source/ooo/file_font_ooo.scp
+++ b/scp2/source/ooo/file_font_ooo.scp
@@ -135,3 +135,16 @@ STD_FONT_FILE( gid_File_Fnt_GentiumBookBasicItalic, GenBkBasI.ttf, Gentium Book
STD_FONT_FILE( gid_File_Fnt_GentiumBookBasicBoldItalic, GenBkBasBI.ttf, Gentium Book Basic Bold Italic)
#endif
+// fontconfig updates to allow proper use of local fonts
+
+#ifdef UNX
+#ifndef WITHOUT_FONTS
+File gid_File_FcLocal_Conf
+ Dir = gid_Dir_Fonts_Truetype;
+ USER_FILE_BODY;
+# Styles = ();
+ Name = "fc_local.conf";
+End
+#endif
+#endif
+