summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-05 11:44:24 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-05 11:44:24 +0000
commit0a00d03e37071e4f23d8526db74a5ce175c20c11 (patch)
tree7a437f6a10259a506df183701279de2b56645aa5 /media-fonts/pothana2k
parentUnmask selinux packages since we have >=glibc-2.4 (diff)
downloadhistorical-0a00d03e37071e4f23d8526db74a5ce175c20c11.tar.gz
historical-0a00d03e37071e4f23d8526db74a5ce175c20c11.tar.bz2
historical-0a00d03e37071e4f23d8526db74a5ce175c20c11.zip
adding fontconfig file to enable rendering Telugu even though a single glyph is missing
Package-Manager: portage-2.1.5.3
Diffstat (limited to 'media-fonts/pothana2k')
-rw-r--r--media-fonts/pothana2k/ChangeLog10
-rw-r--r--media-fonts/pothana2k/Manifest5
-rw-r--r--media-fonts/pothana2k/files/65-pothana2k.conf31
-rw-r--r--media-fonts/pothana2k/pothana2k-2006-r1.ebuild (renamed from media-fonts/pothana2k/pothana2k-2006.ebuild)8
4 files changed, 50 insertions, 4 deletions
diff --git a/media-fonts/pothana2k/ChangeLog b/media-fonts/pothana2k/ChangeLog
index 45117fc974b8..c69fbde6a95b 100644
--- a/media-fonts/pothana2k/ChangeLog
+++ b/media-fonts/pothana2k/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-fonts/pothana2k
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/pothana2k/ChangeLog,v 1.1 2008/06/05 11:13:24 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/pothana2k/ChangeLog,v 1.2 2008/06/05 11:44:24 loki_val Exp $
+
+*pothana2k-2006-r1 (05 Jun 2008)
+
+ 05 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/65-pothana2k.conf, -pothana2k-2006.ebuild,
+ +pothana2k-2006-r1.ebuild:
+ adding fontconfig file to enable rendering Telugu even though a single
+ glyph is missing
*pothana2k-2006 (05 Jun 2008)
diff --git a/media-fonts/pothana2k/Manifest b/media-fonts/pothana2k/Manifest
index 28c7a1d934e5..a124ea480c9d 100644
--- a/media-fonts/pothana2k/Manifest
+++ b/media-fonts/pothana2k/Manifest
@@ -1,4 +1,5 @@
+AUX 65-pothana2k.conf 744 RMD160 691bcc928a634f410f45809526702562f718a6fa SHA1 05d95ffd2da5a5660bb6e8a5c3aa5219b0acf702 SHA256 9c2aea0b59ba6489f7b6eda73cc66fb1576552d27ce63cfa8f30aaf5efa44b8d
DIST pothana2k-2006.zip 1068921 RMD160 e7a5d10e6cf4eb7c9d8d0bed2b2fd502ebee3210 SHA1 7b709f2f6a70e4d2dc24a2a2845c933eb6821bd0 SHA256 fe6f69cdbc4691f98213624e7cd59f52c7dda7126bdb5c6eb1c9561df26178e1
-EBUILD pothana2k-2006.ebuild 607 RMD160 96d576ba5105781224d1fc79c4c002a2d3d3f706 SHA1 76a2f8738730071eade57746afd2d09ec2025e72 SHA256 d1e7f7c781c55c22d2da6c08b5d5950767862d66a55c72886473689680b33e31
-MISC ChangeLog 490 RMD160 aba9294059209c463997cfc602ae5698ddd9f542 SHA1 f40b4b94cbaf21b774ef1d983e521673bca770d8 SHA256 bab24673cced7854ee7902f95d0a583f2df000e25628c1e57cc062973414f85a
+EBUILD pothana2k-2006-r1.ebuild 809 RMD160 191236b254a2b607f3521f2dd119453a51acc58f SHA1 e3aca9f56d586d537f5339219628cf062318d0cd SHA256 4d45eecb3d47dedd91dff736664ad77406c9aa695f8b6cfe57ca880bb7ccbdbb
+MISC ChangeLog 751 RMD160 dcfa8e060796169e4584201dad9e5905e03ccfca SHA1 f225e6dc236b89ea34cfebf4f1b1127e5484a2c2 SHA256 f5446e2e901c5f9442f308f1e1647ab7de3dac21d94ceb950039a4e52ffb2ac7
MISC metadata.xml 159 RMD160 960b06def1afcfaca87d5dc2f5a3fcfc508cf423 SHA1 772e6a83025e034eaee948833278ee46f1bfc0f5 SHA256 ad008d96fe36a7e9201b1d92332022bec87b557c8a36ea05a72ddf3b729102b1
diff --git a/media-fonts/pothana2k/files/65-pothana2k.conf b/media-fonts/pothana2k/files/65-pothana2k.conf
new file mode 100644
index 000000000000..5577a3567ba8
--- /dev/null
+++ b/media-fonts/pothana2k/files/65-pothana2k.conf
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!-- Telugu (te) -->
+<match target="font">
+ <test name="lang" compare="contains">
+ <string>te</string>
+ </test>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Pothana2000</family>
+ </prefer>
+ </alias>
+</match>
+
+<match target="font">
+ <test name="lang" compare="contains">
+ <string>te</string>
+ </test>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Vemana</family>
+ </prefer>
+ </alias>
+</match>
+<!-- Telugu (te) ends -->
+
+</fontconfig>
+
diff --git a/media-fonts/pothana2k/pothana2k-2006.ebuild b/media-fonts/pothana2k/pothana2k-2006-r1.ebuild
index 54ceaf7afbfd..a2ad0ac99be7 100644
--- a/media-fonts/pothana2k/pothana2k-2006.ebuild
+++ b/media-fonts/pothana2k/pothana2k-2006-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/pothana2k/pothana2k-2006.ebuild,v 1.1 2008/06/05 11:13:24 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/pothana2k/pothana2k-2006-r1.ebuild,v 1.1 2008/06/05 11:44:24 loki_val Exp $
inherit font
@@ -20,6 +20,8 @@ S="${WORKDIR}"
FONT_S="${WORKDIR}"
FONT_SUFFIX="ttf"
+FONT_CONF=( "${FILESDIR}/65-pothana2k.conf" )
+
src_install() {
font_src_install
if use doc
@@ -28,3 +30,7 @@ src_install() {
fi
}
+pkg_postinst() {
+ elog "To actually use this font for rendering Telugu, enable it in fontconfig:"
+ elog "eselect fontconfig enable 65-pothana2k.conf"
+}