summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2010-04-04 15:53:44 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2010-04-04 15:53:44 +0000
commit05a2e9b8b41f4d745c30bf80edd0acebce7a9de3 (patch)
tree8f9914ab3146f08dd5e6fa537520a6671cf76735 /media-fonts
parentAdd ~alpha/~ia64/~sparc wrt #300106 (diff)
downloadgentoo-2-05a2e9b8b41f4d745c30bf80edd0acebce7a9de3.tar.gz
gentoo-2-05a2e9b8b41f4d745c30bf80edd0acebce7a9de3.tar.bz2
gentoo-2-05a2e9b8b41f4d745c30bf80edd0acebce7a9de3.zip
Version bumped. Added FONT_CONF.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/takao-fonts/ChangeLog8
-rw-r--r--media-fonts/takao-fonts/files/66-takao-fonts.conf45
-rw-r--r--media-fonts/takao-fonts/takao-fonts-003.02.01.ebuild25
3 files changed, 77 insertions, 1 deletions
diff --git a/media-fonts/takao-fonts/ChangeLog b/media-fonts/takao-fonts/ChangeLog
index 3bc7e2bcd3d6..416a50ae2e14 100644
--- a/media-fonts/takao-fonts/ChangeLog
+++ b/media-fonts/takao-fonts/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/takao-fonts
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/takao-fonts/ChangeLog,v 1.1 2010/02/16 15:38:14 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/takao-fonts/ChangeLog,v 1.2 2010/04/04 15:53:44 matsuu Exp $
+
+*takao-fonts-003.02.01 (04 Apr 2010)
+
+ 04 Apr 2010; MATSUU Takuto <matsuu@gentoo.org> +files/66-takao-fonts.conf,
+ +takao-fonts-003.02.01.ebuild:
+ Version bumped. Added FONT_CONF.
*takao-fonts-003.01.20100214.1 (16 Feb 2010)
diff --git a/media-fonts/takao-fonts/files/66-takao-fonts.conf b/media-fonts/takao-fonts/files/66-takao-fonts.conf
new file mode 100644
index 000000000000..f81227d45a7e
--- /dev/null
+++ b/media-fonts/takao-fonts/files/66-takao-fonts.conf
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <!-- Generic names -->
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>TakaoPGothic</family>
+ <family>TakaoExGothic</family>
+ <family>TakaoGothic</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>TakaoPMincho</family>
+ <family>TakaoExMincho</family>
+ <family>TakaoMincho</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>TakaoGothic</family>
+ <family>TakaoMincho</family>
+ </prefer>
+ </alias>
+
+ <!-- disable hinting -->
+<!--
+ <match target="font">
+ <test name="family">
+ <string>TakaoPGothic</string>
+ <string>TakaoExGothic</string>
+ <string>TakaoGothic</string>
+ <string>TakaoPMincho</string>
+ <string>TakaoExMincho</string>
+ <string>TakaoMincho</string>
+ </test>
+ <edit name="hinting" mode="assign">
+ <bool>false</bool>
+ </edit>
+ </match>
+-->
+</fontconfig>
diff --git a/media-fonts/takao-fonts/takao-fonts-003.02.01.ebuild b/media-fonts/takao-fonts/takao-fonts-003.02.01.ebuild
new file mode 100644
index 000000000000..3db8fe042d61
--- /dev/null
+++ b/media-fonts/takao-fonts/takao-fonts-003.02.01.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/takao-fonts/takao-fonts-003.02.01.ebuild,v 1.1 2010/04/04 15:53:44 matsuu Exp $
+
+inherit font
+
+MY_P="${PN}-ttf-${PV}"
+DESCRIPTION="A community developed derivatives of IPA Fonts"
+HOMEPAGE="https://launchpad.net/takao-fonts"
+SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${MY_P}.tar.gz"
+
+LICENSE="IPAfont"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+FONT_SUFFIX="ttf"
+FONT_S="${S}"
+FONT_CONF=( "${FILESDIR}/66-${PN}.conf" )
+
+DOCS="ChangeLog README*"
+
+# Only installs fonts
+RESTRICT="strip binchecks"