diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2010-03-01 16:56:59 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2010-03-01 16:56:59 +0000 |
commit | 090754c9ed08e7e12c79a2c43f696d3ce05f0cdd (patch) | |
tree | 16d6972a8223b889195c6503aae6ac844b8cea0c | |
parent | Move SRC_URI to gentoo mirrors. (diff) | |
download | gentoo-2-090754c9ed08e7e12c79a2c43f696d3ce05f0cdd.tar.gz gentoo-2-090754c9ed08e7e12c79a2c43f696d3ce05f0cdd.tar.bz2 gentoo-2-090754c9ed08e7e12c79a2c43f696d3ce05f0cdd.zip |
Added FONT_CONF.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
-rw-r--r-- | media-fonts/ja-ipafonts/ChangeLog | 8 | ||||
-rw-r--r-- | media-fonts/ja-ipafonts/files/66-ja-ipafonts.conf | 41 | ||||
-rw-r--r-- | media-fonts/ja-ipafonts/ja-ipafonts-003.02-r1.ebuild | 25 |
3 files changed, 73 insertions, 1 deletions
diff --git a/media-fonts/ja-ipafonts/ChangeLog b/media-fonts/ja-ipafonts/ChangeLog index 8dd403e284f7..a8c0ee5f0737 100644 --- a/media-fonts/ja-ipafonts/ChangeLog +++ b/media-fonts/ja-ipafonts/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-fonts/ja-ipafonts # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/ja-ipafonts/ChangeLog,v 1.23 2010/02/27 18:06:08 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/ja-ipafonts/ChangeLog,v 1.24 2010/03/01 16:56:58 matsuu Exp $ + +*ja-ipafonts-003.02-r1 (01 Mar 2010) + + 01 Mar 2010; MATSUU Takuto <matsuu@gentoo.org> +files/66-ja-ipafonts.conf, + +ja-ipafonts-003.02-r1.ebuild: + Added FONT_CONF. *ja-ipafonts-003.02 (27 Feb 2010) diff --git a/media-fonts/ja-ipafonts/files/66-ja-ipafonts.conf b/media-fonts/ja-ipafonts/files/66-ja-ipafonts.conf new file mode 100644 index 000000000000..e8894f42c194 --- /dev/null +++ b/media-fonts/ja-ipafonts/files/66-ja-ipafonts.conf @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <!-- Generic names --> + <alias> + <family>sans-serif</family> + <prefer> + <family>IPAPGothic</family> + <family>IPAGothic</family> + </prefer> + </alias> + <alias> + <family>serif</family> + <prefer> + <family>IPAPMincho</family> + <family>IPAMincho</family> + </prefer> + </alias> + <alias> + <family>monospace</family> + <prefer> + <family>IPAGothic</family> + <family>IPAMincho</family> + </prefer> + </alias> + + <!-- disable hinting --> +<!-- + <match target="font"> + <test name="family"> + <string>IPAPGothic</string> + <string>IPAPMincho</string> + <string>IPAGothic</string> + <string>IPAMincho</string> + </test> + <edit name="hinting" mode="assign"> + <bool>false</bool> + </edit> + </match> +--> +</fontconfig> diff --git a/media-fonts/ja-ipafonts/ja-ipafonts-003.02-r1.ebuild b/media-fonts/ja-ipafonts/ja-ipafonts-003.02-r1.ebuild new file mode 100644 index 000000000000..e0701f363471 --- /dev/null +++ b/media-fonts/ja-ipafonts/ja-ipafonts-003.02-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/ja-ipafonts/ja-ipafonts-003.02-r1.ebuild,v 1.1 2010/03/01 16:56:58 matsuu Exp $ + +inherit font + +MY_P="IPAfont${PV/.}" +DESCRIPTION="Japanese TrueType fonts developed by IPA (Information-technology Promotion Agency, Japan)" +HOMEPAGE="http://ossipedia.ipa.go.jp/ipafont/" +SRC_URI="http://info.openlab.ipa.go.jp/ipafont/fontdata/${MY_P}.zip" + +LICENSE="IPAfont" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +S="${WORKDIR}/${MY_P}" +FONT_SUFFIX="ttf" +FONT_S="${S}" +FONT_CONF=( "${FILESDIR}/66-${PN}.conf" ) + +DOCS="Readme_${MY_P}.txt" + +# Only installs fonts +RESTRICT="strip binchecks" |