summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2014-11-14 03:23:05 +0000
committerYixun Lan <dlan@gentoo.org>2014-11-14 03:23:05 +0000
commitd33d2b2d96d44dcc0451442952beeaf552983491 (patch)
tree4da27d737b52372de0209fd195d315fa26a549d4 /media-fonts
parentInstall global docs (part of bug 457028). Generate and install qtchooser conf... (diff)
downloadgentoo-2-d33d2b2d96d44dcc0451442952beeaf552983491.tar.gz
gentoo-2-d33d2b2d96d44dcc0451442952beeaf552983491.tar.bz2
gentoo-2-d33d2b2d96d44dcc0451442952beeaf552983491.zip
fix wrong horizontal advance for Korean characters, bug 529104, patch borrow from debian, thanks Hongjiu Zhang for reporting
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/wqy-microhei/ChangeLog10
-rw-r--r--media-fonts/wqy-microhei/wqy-microhei-0.2.0_beta-r1.ebuild33
2 files changed, 41 insertions, 2 deletions
diff --git a/media-fonts/wqy-microhei/ChangeLog b/media-fonts/wqy-microhei/ChangeLog
index d973e58efd40..3839a7dfd9f8 100644
--- a/media-fonts/wqy-microhei/ChangeLog
+++ b/media-fonts/wqy-microhei/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/wqy-microhei
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/wqy-microhei/ChangeLog,v 1.3 2013/02/05 00:55:05 heroxbd Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/wqy-microhei/ChangeLog,v 1.4 2014/11/14 03:23:05 dlan Exp $
+
+*wqy-microhei-0.2.0_beta-r1 (14 Nov 2014)
+
+ 14 Nov 2014; Yixun Lan <dlan@gentoo.org> +wqy-microhei-0.2.0_beta-r1.ebuild:
+ fix wrong horizontal advance for Korean characters, bug 529104, patch borrow
+ from debian, thanks Hongjiu Zhang for reporting
05 Feb 2013; Benda Xu <heroxbd@gentoo.org> wqy-microhei-0.2.0_beta.ebuild:
keyword ~arm
diff --git a/media-fonts/wqy-microhei/wqy-microhei-0.2.0_beta-r1.ebuild b/media-fonts/wqy-microhei/wqy-microhei-0.2.0_beta-r1.ebuild
new file mode 100644
index 000000000000..46f0034b3759
--- /dev/null
+++ b/media-fonts/wqy-microhei/wqy-microhei-0.2.0_beta-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/wqy-microhei/wqy-microhei-0.2.0_beta-r1.ebuild,v 1.1 2014/11/14 03:23:05 dlan Exp $
+
+EAPI=5
+inherit font
+
+MY_P="${P/_/-}"
+DESCRIPTION="A droid derived Sans-Serif style CJK font"
+HOMEPAGE="http://wqy.sourceforge.net/en/"
+SRC_URI="mirror://sourceforge/wqy/${MY_P}.tar.gz
+ http://dev.gentoo.org/~dlan/distfiles/${PN}.ttc.xd3"
+
+LICENSE="Apache-2.0 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Only installs fonts
+RESTRICT="strip binchecks"
+
+S="${WORKDIR}/${PN}"
+FONT_S="${S}"
+
+FONT_SUFFIX="ttc"
+DOCS="AUTHORS.txt ChangeLog.txt README.txt"
+
+DEPEND="${DEPEND}
+ dev-util/xdelta:3"
+
+src_prepare() {
+ xdelta3 -f -d -s "${S}"/wqy-microhei.ttc "${DISTDIR}"/wqy-microhei.ttc.xd3 "${S}"/wqy-microhei.ttc || die
+}