fontconfig: Branch 'master'

[email protected] (Akira TAGOH)
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <[email protected]>
 src/Makefile.am    |    5 +++++
 src/fontconfig.its |    4 ++++
 src/fontconfig.loc |    6 ++++++
 3 files changed, 15 insertions(+)

New commits:
commit a2e0ebf3922d4ac682162e63ec7b209ef58f3c7c
Author: Akira TAGOH <[email protected]>
Date:   Fri Jan 5 18:23:08 2018 +0900

    Add files to enable ITS support in gettext

diff --git a/src/Makefile.am b/src/Makefile.am
index 80780b6..d6c4931 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 0000000..9f35922
--- /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 0000000..5bc4f6c
--- /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>
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.