diff options
author | Akira TAGOH <akira@tagoh.org> | 2018-01-05 18:23:08 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2018-01-05 18:23:08 +0900 |
commit | a2e0ebf3922d4ac682162e63ec7b209ef58f3c7c (patch) | |
tree | a965db7cd5e2d7e8c46c333ef05583fae84bf4a6 /src | |
parent | 6aa0bde5ecd6a545228fc6b59e7e54b8f1eea7eb (diff) |
Add files to enable ITS support in gettext
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 5 | ||||
-rw-r--r-- | src/fontconfig.its | 4 | ||||
-rw-r--r-- | src/fontconfig.loc | 6 |
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> |