summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2013-10-25 17:14:52 +0000
committerBen de Groot <yngwin@gentoo.org>2013-10-25 17:14:52 +0000
commit9368680ca34b11e2f99139e2d77a5ccc1425e13a (patch)
tree0bc7a05656e9bdcb171a483343a6ff60dc684bcb /media-fonts
parentversion bump (diff)
downloadgentoo-2-9368680ca34b11e2f99139e2d77a5ccc1425e13a.tar.gz
gentoo-2-9368680ca34b11e2f99139e2d77a5ccc1425e13a.tar.bz2
gentoo-2-9368680ca34b11e2f99139e2d77a5ccc1425e13a.zip
Version bump. Add fontconfig file to set Regular weight as default, instead of Black. Thanks to John Flatness in bug #464666.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2B2474AD43CE296E!)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/roboto/ChangeLog9
-rw-r--r--media-fonts/roboto/files/90-roboto-regular.conf10
-rw-r--r--media-fonts/roboto/roboto-20130731.ebuild21
3 files changed, 39 insertions, 1 deletions
diff --git a/media-fonts/roboto/ChangeLog b/media-fonts/roboto/ChangeLog
index e6b03ed8a359..65a6f468d3f3 100644
--- a/media-fonts/roboto/ChangeLog
+++ b/media-fonts/roboto/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-fonts/roboto
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/roboto/ChangeLog,v 1.3 2013/10/21 12:16:29 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/roboto/ChangeLog,v 1.4 2013/10/25 17:14:52 yngwin Exp $
+
+*roboto-20130731 (25 Oct 2013)
+
+ 25 Oct 2013; Ben de Groot <yngwin@gentoo.org> +files/90-roboto-regular.conf,
+ +roboto-20130731.ebuild:
+ Version bump. Add fontconfig file to set Regular weight as default, instead of
+ Black. Thanks to John Flatness in bug #464666.
21 Oct 2013; Fabian Groffen <grobian@gentoo.org> roboto-20120823.ebuild:
Marked ~x64-macos, bug #486818
diff --git a/media-fonts/roboto/files/90-roboto-regular.conf b/media-fonts/roboto/files/90-roboto-regular.conf
new file mode 100644
index 000000000000..49b9bfc8ab79
--- /dev/null
+++ b/media-fonts/roboto/files/90-roboto-regular.conf
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <match target="pattern">
+ <test name="family" compare="eq"><string>Roboto</string></test>
+ <edit name="weight" mode="append"><const>regular</const></edit>
+ </match>
+
+</fontconfig>
diff --git a/media-fonts/roboto/roboto-20130731.ebuild b/media-fonts/roboto/roboto-20130731.ebuild
new file mode 100644
index 000000000000..d1385a689d30
--- /dev/null
+++ b/media-fonts/roboto/roboto-20130731.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/roboto/roboto-20130731.ebuild,v 1.1 2013/10/25 17:14:52 yngwin Exp $
+
+inherit font
+
+MY_PV="1.100141"
+
+DESCRIPTION="Standard font for Android 4.0 (Ice Cream Sandwich) and later"
+HOMEPAGE="http://developer.android.com/design/style/typography.html"
+SRC_URI="http://developer.android.com/downloads/design/${PN}-${MY_PV}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
+FONT_CONF=( "${FILESDIR}/90-roboto-regular.conf" )