summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am5
-rw-r--r--src/fontconfig.its4
-rw-r--r--src/fontconfig.loc6
3 files changed, 15 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 80780b62..d6c4931b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -218,4 +218,9 @@ fontconfig.def: $(PUBLIC_FILES) $(PUBLIC_FT_FILES)
echo VERSION @LIBT_CURRENT@.@LIBT_REVISION@) >$@
@ ! $(GREP) -q FcERROR $@ || ($(RM) $@; false)
+gettextitsdir = $(datadir)/gettext/its
+gettextits_DATA = \
+ fontconfig.its \
+ fontconfig.loc
+
-include $(top_srcdir)/git.mk
diff --git a/src/fontconfig.its b/src/fontconfig.its
new file mode 100644
index 00000000..9f359222
--- /dev/null
+++ b/src/fontconfig.its
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
+</its:rules>
diff --git a/src/fontconfig.loc b/src/fontconfig.loc
new file mode 100644
index 00000000..5bc4f6ce
--- /dev/null
+++ b/src/fontconfig.loc
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<locatingRules>
+ <locatingRule name="Fontconfig" pattern="*.conf">
+ <documentRule localName="fontconfig" target="fontconfig.its"/>
+ </locatingRule>
+</locatingRules>