summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/urw-fonts')
-rw-r--r--media-fonts/urw-fonts/ChangeLog24
-rw-r--r--media-fonts/urw-fonts/Manifest6
-rw-r--r--media-fonts/urw-fonts/files/digest-urw-fonts-2.01
-rw-r--r--media-fonts/urw-fonts/files/digest-urw-fonts-2.0-r11
-rw-r--r--media-fonts/urw-fonts/files/fonts.conf362
-rw-r--r--media-fonts/urw-fonts/urw-fonts-2.0-r1.ebuild43
-rw-r--r--media-fonts/urw-fonts/urw-fonts-2.0.ebuild40
7 files changed, 477 insertions, 0 deletions
diff --git a/media-fonts/urw-fonts/ChangeLog b/media-fonts/urw-fonts/ChangeLog
new file mode 100644
index 000000000000..8e69e0d57752
--- /dev/null
+++ b/media-fonts/urw-fonts/ChangeLog
@@ -0,0 +1,24 @@
+# ChangeLog for media-fonts/urw-fonts
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/urw-fonts/ChangeLog,v 1.1 2003/06/02 13:48:00 seemant Exp $
+
+*urw-fonts-2.0-r1 (02 Jun 2003)
+
+ 02 Jun 2003; Seemant Kulleen <seemant@gentoo.org> urw-fonts-2.0-r1.ebuild,
+ urw-fonts-2.0.ebuild, files/fonts.conf:
+ moved to media-fonts
+
+*urw-fonts-2.0-r1 (07 Apr 2003)
+
+ 07 Apr 2003; Seth Chandler <sethbc@gentoo.org>; urw-fonts-2.0-r1.ebuild,
+ files/fonts.conf:
+ make the ebuild change fonts.conf
+
+*urw-fonts-2.0 (05 Apr 2003)
+
+ 05 Apr 2003; foser <foser@gentoo.org>; urw-fonts-2.0.ebuild :
+ Some love from yours truly
+
+ 05 Apr 2003; Seth Chandler <sethbc@gentoo.org>; urw-fonts-2.0.ebuild:
+ added urw-fonts to portage, try em out, they're nice specially for mozilla
+
diff --git a/media-fonts/urw-fonts/Manifest b/media-fonts/urw-fonts/Manifest
new file mode 100644
index 000000000000..610d92e70b52
--- /dev/null
+++ b/media-fonts/urw-fonts/Manifest
@@ -0,0 +1,6 @@
+MD5 bb691f48b53f8d49fbf5b12cde7e7bff urw-fonts-2.0-r1.ebuild 1252
+MD5 04315ff593d1d4a4b5c46baf4ec9c883 urw-fonts-2.0.ebuild 1040
+MD5 d9bc7a43d50fec3cd6594a9744fc5ec7 ChangeLog 840
+MD5 c93a1f8a8417b0864a0b328cca029055 files/fonts.conf 10193
+MD5 55bed1fe8e23fa03a0dfc0c4cb6fcbe1 files/digest-urw-fonts-2.0 70
+MD5 55bed1fe8e23fa03a0dfc0c4cb6fcbe1 files/digest-urw-fonts-2.0-r1 70
diff --git a/media-fonts/urw-fonts/files/digest-urw-fonts-2.0 b/media-fonts/urw-fonts/files/digest-urw-fonts-2.0
new file mode 100644
index 000000000000..37eb588b61dd
--- /dev/null
+++ b/media-fonts/urw-fonts/files/digest-urw-fonts-2.0
@@ -0,0 +1 @@
+MD5 b3ee5afeccde254afeff877e993fa317 urw-fonts-2.0-29.src.rpm 3921650
diff --git a/media-fonts/urw-fonts/files/digest-urw-fonts-2.0-r1 b/media-fonts/urw-fonts/files/digest-urw-fonts-2.0-r1
new file mode 100644
index 000000000000..37eb588b61dd
--- /dev/null
+++ b/media-fonts/urw-fonts/files/digest-urw-fonts-2.0-r1
@@ -0,0 +1 @@
+MD5 b3ee5afeccde254afeff877e993fa317 urw-fonts-2.0-29.src.rpm 3921650
diff --git a/media-fonts/urw-fonts/files/fonts.conf b/media-fonts/urw-fonts/files/fonts.conf
new file mode 100644
index 000000000000..0084c09b7167
--- /dev/null
+++ b/media-fonts/urw-fonts/files/fonts.conf
@@ -0,0 +1,362 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- /etc/fonts.conf file to configure system font access -->
+<fontconfig>
+
+<!--
+ The intent of this standard configuration file is to be adequate for
+ most environments. If you have a reasonably normal environment and
+ have found problems with this configuration, they are probably
+ things that others will also want fixed. Please send any suggested
+ changes to fonts@xfree86.org so that future releases can include
+ such changes.
+
+ Note that the normal 'make install' procedure for XFree86 is to
+ replace any existing fonts.conf file with the new version. Place
+ any local customizations in local.conf which this file references.
+
+ Keith Packard
+-->
+
+
+ <dir>/usr/share/fonts</dir>
+ <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
+ <dir>/usr/X11R6/lib/X11/fonts/OTF</dir>
+ <dir>~/.fonts</dir>
+
+<!--
+ Enable sub-pixel rendering
+ <match target="font">
+ <test qual="all" name="rgba">
+ <const>unknown</const>
+ </test>
+ <edit name="rgba" mode="assign"><const>rgb</const></edit>
+ </match>
+-->
+
+<!--
+ Accept deprecated 'mono' alias, replacing it with 'monospace'
+-->
+ <match target="pattern">
+ <test qual="any" name="family">
+ <string>mono</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>monospace</string>
+ </edit>
+ </match>
+
+<!--
+ Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
+-->
+ <match target="pattern">
+ <test qual="any" name="family">
+ <string>sans serif</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>sans-serif</string>
+ </edit>
+ </match>
+
+<!--
+ Accept deprecated 'sans' alias, replacing it with 'sans-serif'
+-->
+ <match target="pattern">
+ <test qual="any" name="family">
+ <string>sans</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>sans-serif</string>
+ </edit>
+ </match>
+
+<!--
+ Mark common families with their generics so we'll get
+ something reasonable
+-->
+
+<!--
+ Serif faces
+ -->
+ <alias>
+ <family>Times</family>
+ <family>Times New Roman</family>
+ <family>Nimbus Roman No9 L</family>
+ <family>Luxi Serif</family>
+ <family>Kochi Mincho</family>
+ <family>AR PL SungtiL GB</family>
+ <family>AR PL Mingti2L Big5</family>
+ <family>Baekmuk Batang</family>
+ <default><family>serif</family></default>
+ </alias>
+<!--
+ Sans-serif faces
+ -->
+ <alias>
+ <family>Helvetica</family>
+ <family>Arial</family>
+ <family>Verdana</family>
+ <family>Nimbus Sans L</family>
+ <family>Luxi Sans</family>
+ <family>Kochi Gothic</family>
+ <family>AR PL KaitiM GB</family>
+ <family>AR PL KaitiM Big5</family>
+ <family>Baekmuk Dotum</family>
+ <family>SimSun</family>
+ <default><family>sans-serif</family></default>
+ </alias>
+<!--
+ Monospace faces
+ -->
+ <alias>
+ <family>Courier</family>
+ <family>Courier New</family>
+ <family>Andale Mono</family>
+ <family>Luxi Mono</family>
+ <family>Nimbus Mono L</family>
+ <family>NSimSun</family>
+ <default><family>monospace</family></default>
+ </alias>
+<!--
+ If the font still has no generic name, add sans-serif
+ -->
+ <match target="pattern">
+ <test qual="all" name="family" compare="not_eq">
+ <string>sans-serif</string>
+ </test>
+ <test qual="all" name="family" compare="not_eq">
+ <string>serif</string>
+ </test>
+ <test qual="all" name="family" compare="not_eq">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="append_last">
+ <string>sans-serif</string>
+ </edit>
+ </match>
+
+<!--
+ Some Asian fonts misadvertise themselves as monospaced when
+ in fact they are dual-spaced (half and full). This makes
+ FreeType very confused as it forces all widths to match.
+ Undo this magic by disabling the width forcing code -->
+ <match target="font">
+ <test name="family"><string>GulimChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+
+ <match target="font">
+ <test name="family"><string>DotumChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+
+ <match target="font">
+ <test name="family"><string>BatangChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+
+ <match target="font">
+ <test name="family"><string>GungsuhChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+
+<!--
+ Load per-user customization file
+-->
+ <include ignore_missing="yes">~/.fonts.conf</include>
+
+<!--
+ Load local system customization file
+-->
+ <include ignore_missing="yes">local.conf</include>
+
+<!--
+ Alias well known font names to available TrueType fonts
+-->
+ <alias>
+ <family>Times</family>
+ <accept><family>Times New Roman</family></accept>
+ </alias>
+ <alias>
+ <family>Helvetica</family>
+ <accept><family>Verdana</family></accept>
+ </alias>
+ <alias>
+ <family>Arial</family>
+ <accept><family>Verdana</family></accept>
+ </alias>
+ <alias>
+ <family>Courier</family>
+ <accept><family>Courier New</family></accept>
+ </alias>
+
+<!--
+ Provide required aliases for standard names
+-->
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Nimbus Roman No9 L</family>
+ <family>Luxi Serif</family>
+ <family>Kochi Mincho</family>
+ <family>ZYSong18030</family>
+ <family>AR PL SungtiL GB</family>
+ <family>AR PL Mingti2L Big5</family>
+ <family>Baekmuk Batang</family>
+ <family>Times New Roman</family>
+ <family>Times</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Luxi Sans</family>
+ <family>Nimbus Sans L</family>
+ <family>Helvetica</family>
+ <family>Kochi Gothic</family>
+ <family>ZYSong18030</family>
+ <family>AR PL SungtiL GB</family>
+ <family>AR PL Mingti2L Big5</family>
+ <family>Baekmuk Gulim</family>
+ <family>Verdana</family>
+ <family>Arial</family>
+ <family>SimSun</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>Luxi Mono</family>
+ <family>Nimbus Mono L</family>
+ <family>Kochi Gothic</family>
+ <family>ZYSong18030</family>
+ <family>AR PL SungtiL GB</family>
+ <family>AR PL Mingti2L Big5</family>
+ <family>Baekmuk Gulim</family>
+ <family>Andale Mono</family>
+ <family>Courier New</family>
+ </prefer>
+ </alias>
+
+<!--
+ We can't hint CJK fonts well, so turn off hinting for CJK fonts.
+ -->
+
+ <match target="font">
+ <test name="lang" compare="contains">
+ <string>ja</string>
+ </test>
+ <edit name="hinting" mode="assign">
+ <bool>false</bool>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="lang" compare="contains">
+ <string>ko</string>
+ </test>
+ <edit name="hinting" mode="assign">
+ <bool>false</bool>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="lang" compare="contains">
+ <string>zh</string>
+ </test>
+ <edit name="hinting" mode="assign">
+ <bool>false</bool>
+ </edit>
+ </match>
+
+<!--
+ Artificial oblique for fonts without an italic or oblique version
+ -->
+
+ <match target="font">
+ <!-- check to see if the font is roman -->
+ <test name="slant">
+ <const>roman</const>
+ </test>
+ <!-- check to see if the pattern requested non-roman -->
+ <test target="pattern" name="slant" compare="not_eq">
+ <const>roman</const>
+ </test>
+ <!-- multiply the matrix to slant the font -->
+ <edit name="matrix" mode="assign">
+ <times>
+ <name>matrix</name>
+ <matrix><double>1</double><double>.2</double>
+ <double>0</double><double>1</double>
+ </matrix>
+ </times>
+ </edit>
+ <!-- pretend the font is oblique now -->
+ <edit name="slant" mode="assign">
+ <const>oblique</const>
+ </edit>
+ </match>
+
+ <config>
+<!--
+ These are the default Unicode chars that are expected to be blank
+ in fonts. All other blank chars are assumed to be broken and
+ won't appear in the resulting charsets
+ -->
+ <blank>
+ <int>0x0020</int> <!-- SPACE -->
+ <int>0x00a0</int> <!-- NO-BREAK SPACE -->
+ <int>0x00ad</int> <!-- SOFT HYPHEN -->
+ <int>0x115f</int> <!-- HANGUL CHOSEONG FILLER -->
+ <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER -->
+ <int>0x1680</int> <!-- OGHAM SPACE MARK -->
+ <int>0x2000</int> <!-- EN QUAD -->
+ <int>0x2001</int> <!-- EM QUAD -->
+ <int>0x2002</int> <!-- EN SPACE -->
+ <int>0x2003</int> <!-- EM SPACE -->
+ <int>0x2004</int> <!-- THREE-PER-EM SPACE -->
+ <int>0x2005</int> <!-- FOUR-PER-EM SPACE -->
+ <int>0x2006</int> <!-- SIX-PER-EM SPACE -->
+ <int>0x2007</int> <!-- FIGURE SPACE -->
+ <int>0x2008</int> <!-- PUNCTUATION SPACE -->
+ <int>0x2009</int> <!-- THIN SPACE -->
+ <int>0x200a</int> <!-- HAIR SPACE -->
+ <int>0x200b</int> <!-- ZERO WIDTH SPACE -->
+ <int>0x200c</int> <!-- ZERO WIDTH NON-JOINER -->
+ <int>0x200d</int> <!-- ZERO WIDTH JOINER -->
+ <int>0x200e</int> <!-- LEFT-TO-RIGHT MARK -->
+ <int>0x200f</int> <!-- RIGHT-TO-LEFT MARK -->
+ <int>0x2028</int> <!-- LINE SEPARATOR -->
+ <int>0x2029</int> <!-- PARAGRAPH SEPARATOR -->
+ <int>0x202a</int> <!-- LEFT-TO-RIGHT EMBEDDING -->
+ <int>0x202b</int> <!-- RIGHT-TO-LEFT EMBEDDING -->
+ <int>0x202c</int> <!-- POP DIRECTIONAL FORMATTING -->
+ <int>0x202d</int> <!-- LEFT-TO-RIGHT OVERRIDE -->
+ <int>0x202e</int> <!-- RIGHT-TO-LEFT OVERRIDE -->
+ <int>0x202f</int> <!-- NARROW NO-BREAK SPACE -->
+ <int>0x205f</int> <!-- MEDIUM MATHEMATICAL SPACE -->
+ <int>0x2060</int> <!-- WORD JOINER -->
+ <int>0x2061</int> <!-- FUNCTION APPLICATION -->
+ <int>0x2062</int> <!-- INVISIBLE TIMES -->
+ <int>0x2063</int> <!-- INVISIBLE SEPARATOR -->
+ <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING -->
+ <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING -->
+ <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING -->
+ <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING -->
+ <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES -->
+ <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES -->
+ <int>0x3000</int> <!-- IDEOGRAPHIC SPACE -->
+ <int>0x3164</int> <!-- HANGUL FILLER -->
+ <int>0xfeff</int> <!-- ZERO WIDTH NO-BREAK SPACE -->
+ <int>0xffa0</int> <!-- HALFWIDTH HANGUL FILLER -->
+ <int>0xfff9</int> <!-- INTERLINEAR ANNOTATION ANCHOR -->
+ <int>0xfffa</int> <!-- INTERLINEAR ANNOTATION SEPARATOR -->
+ <int>0xfffa</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
+ </blank>
+<!--
+ Rescan configuration every 30 seconds when FcFontSetList is called
+ -->
+ <rescan>
+ <int>30</int>
+ </rescan>
+ </config>
+
+</fontconfig>
diff --git a/media-fonts/urw-fonts/urw-fonts-2.0-r1.ebuild b/media-fonts/urw-fonts/urw-fonts-2.0-r1.ebuild
new file mode 100644
index 000000000000..b665c6a97969
--- /dev/null
+++ b/media-fonts/urw-fonts/urw-fonts-2.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/urw-fonts/urw-fonts-2.0-r1.ebuild,v 1.1 2003/06/02 13:48:00 seemant Exp $
+
+DESCRIPTION="free good quality fonts gpl'd by URW++"
+SRC_URI="mirror://gentoo/urw-fonts-2.0-29.src.rpm"
+HOMEPAGE=""
+KEYWORDS="~x86 ~ppc"
+LICENSE="GPL-2"
+DEPEND="rpm2targz"
+SLOT="0"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ cp ${DISTDIR}/${A} ${WORKDIR}
+ cd ${S}
+ rpm2targz ${A}
+ tar -xzf ${A/.rpm/.tar.gz}
+ tar -xjf urw-fonts-2.0.tar.bz2
+ tar -xjf urw-symbol.tar.bz2
+ mv s050000l.* fonts/
+ tar -xjf urw-tweaks.tar.bz2
+ mv n019003l.* fonts/
+ tar -xjf urw-dingbats.tar.bz2
+ mv d050000l.* fonts/
+ epatch urw-fonts-2.0-encodings.patch
+}
+
+src_install() {
+ cd ${S}/fonts
+ mkdir -p ${D}/usr/share/fonts/default/Type1
+ cp -f *.afm *.pfb ${D}/usr/share/fonts/default/Type1
+ cp ${S}/fonts/fonts.scale ${D}/usr/share/fonts/default/Type1/
+ mkdir -p ${D}/etc/fonts
+ cp ${FILESDIR}/fonts.conf ${D}/etc/fonts/
+}
+
+pkg_postinst() {
+ # this just doesn't work here...i'm going to see if i can make it work later
+ # cat ${S}/fonts/fonts.scale >> /usr/share/fonts/default/Type1/fonts.scale
+ mkfontdir /usr/share/fonts/default/Type1
+}
diff --git a/media-fonts/urw-fonts/urw-fonts-2.0.ebuild b/media-fonts/urw-fonts/urw-fonts-2.0.ebuild
new file mode 100644
index 000000000000..028faf863f73
--- /dev/null
+++ b/media-fonts/urw-fonts/urw-fonts-2.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/urw-fonts/urw-fonts-2.0.ebuild,v 1.1 2003/06/02 13:48:00 seemant Exp $
+
+DESCRIPTION="free good quality fonts gpl'd by URW++"
+SRC_URI="mirror://gentoo/urw-fonts-2.0-29.src.rpm"
+HOMEPAGE=""
+KEYWORDS="~x86 ~ppc"
+LICENSE="GPL-2"
+DEPEND="rpm2targz"
+SLOT="0"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ cp ${DISTDIR}/${A} ${WORKDIR}
+ cd ${S}
+ rpm2targz ${A}
+ tar -xzf ${A/.rpm/.tar.gz}
+ tar -xjf urw-fonts-2.0.tar.bz2
+ tar -xjf urw-symbol.tar.bz2
+ mv s050000l.* fonts/
+ tar -xjf urw-tweaks.tar.bz2
+ mv n019003l.* fonts/
+ tar -xjf urw-dingbats.tar.bz2
+ mv d050000l.* fonts/
+ epatch urw-fonts-2.0-encodings.patch
+}
+
+src_install() {
+ cd ${S}/fonts
+ mkdir -p ${D}/usr/share/fonts/default/Type1
+ cp -f *.afm *.pfb ${D}/usr/share/fonts/default/Type1
+}
+
+pkg_postinst() {
+ cat ${S}/fonts/fonts.scale >> /usr/share/fonts/default/Type1/fonts.scale
+
+ mkfontdir /usr/share/fonts/default/Type1
+}