aboutsummaryrefslogtreecommitdiffstats
path: root/testing/t1-urw-fonts
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-06-14 13:27:22 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-06-14 13:27:22 +0200
commitf29a5a32cf028a9525b04f9862d9bc3eafcc88fd (patch)
tree3735b273b8cb05726cf0d52e6cc13cd85afb84e7 /testing/t1-urw-fonts
parent0d086c683aa4a73b652251ab848a1d13612efd5d (diff)
downloadaports-f29a5a32cf028a9525b04f9862d9bc3eafcc88fd.tar.bz2
aports-f29a5a32cf028a9525b04f9862d9bc3eafcc88fd.tar.xz
testing/t1-urw-fonts: new aport
Diffstat (limited to 'testing/t1-urw-fonts')
-rw-r--r--testing/t1-urw-fonts/45-urw-fonts.conf54
-rw-r--r--testing/t1-urw-fonts/90-non-tt-urw-fonts.conf167
-rw-r--r--testing/t1-urw-fonts/APKBUILD53
3 files changed, 274 insertions, 0 deletions
diff --git a/testing/t1-urw-fonts/45-urw-fonts.conf b/testing/t1-urw-fonts/45-urw-fonts.conf
new file mode 100644
index 0000000000..379cf915b9
--- /dev/null
+++ b/testing/t1-urw-fonts/45-urw-fonts.conf
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <alias>
+ <family>Nimbus Mono</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Nimbus Roman</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Nimbus Sans</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Bookman URW</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Chancery URW</family>
+ <default>
+ <family>cursive</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>URW Gothic</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Palladio URW</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+
+</fontconfig>
diff --git a/testing/t1-urw-fonts/90-non-tt-urw-fonts.conf b/testing/t1-urw-fonts/90-non-tt-urw-fonts.conf
new file mode 100644
index 0000000000..95eaf20ee5
--- /dev/null
+++ b/testing/t1-urw-fonts/90-non-tt-urw-fonts.conf
@@ -0,0 +1,167 @@
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
+<fontconfig>
+
+ <match target="font">
+ <test name="family">
+ <string>Dingbats</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Nimbus Mono</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Nimbus Roman</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Nimbus Sans</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Bookman URW</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Chancery URW</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>URW Gothic</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Palladio URW</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Standard Symbols L</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+</fontconfig>
diff --git a/testing/t1-urw-fonts/APKBUILD b/testing/t1-urw-fonts/APKBUILD
new file mode 100644
index 0000000000..eba7ff1c3f
--- /dev/null
+++ b/testing/t1-urw-fonts/APKBUILD
@@ -0,0 +1,53 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=t1-urw-fonts
+pkgver=1.10
+pkgrel=0
+pkgdesc="Standard Ghostscript Type1 fonts from URW for infinality-bundle-fonts."
+url="http://sourceforge.net/projects/gs-fonts/"
+arch="noarch"
+license="GPL2"
+depends="fontconfig"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+# added fontconfig configuration from:
+# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings
+source="http://dev.alpinelinux.org/archive/t1-urw-fonts/urw-core35-fonts-$pkgver.tar.xz
+ 45-urw-fonts.conf
+ 90-non-tt-urw-fonts.conf"
+
+_builddir="$srcdir"
+
+build() {
+ cd "$_builddir"
+}
+
+package() {
+ cd "$_builddir"
+
+ mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \
+ "$pkgdir"/etc/fonts/conf.avail \
+ "$pkgdir"/etc/fonts/conf.d
+
+ install -m644 *.pfb "$pkgdir"/usr/share/fonts/$pkgname/ || return 1
+ install -m644 *.pfm "$pkgdir"/usr/share/fonts/$pkgname/ || return 1
+ install -m644 *.afm "$pkgdir"/usr/share/fonts/$pkgname/ || return 1
+
+ for j in "$srcdir"/*.conf; do
+ install -m644 "$j" \
+ "$pkgdir"/etc/fonts/conf.avail/ || return 1
+ cd "$pkgdir"/etc/fonts/conf.d
+ ln -sf /etc/fonts/conf.avail/${j##*/}
+ done
+}
+md5sums="fd98607bf533d583f3af2c3a6ac16a11 urw-core35-fonts-1.10.tar.xz
+48de0ded85f8185c3226e32e44ca5916 45-urw-fonts.conf
+d34210d1717da74a150cf0c09ddeba92 90-non-tt-urw-fonts.conf"
+sha256sums="1bbf31f39980ef401bf373a6581cd17cefe77166d045a009c04703f68feebcd8 urw-core35-fonts-1.10.tar.xz
+7e7a7ebd942523a824e41956e7eff5bad5f0934bad4fbab8141704594c6894c2 45-urw-fonts.conf
+99cd727c211603a1aa04c83c1ebc9b81eea8200228226f0880f1b7910666b5c6 90-non-tt-urw-fonts.conf"
+sha512sums="adae3ab7d075c8bc40116fd1761f1a043ad84fe8aa0ada8ed0676caa202bced7a5a073fd6e7f1fce7ecb149a91136dec31759d1054fa4cffa503e17ac9523a14 urw-core35-fonts-1.10.tar.xz
+e79b3eb7cacc1c4f98756937a65c8b37cce21e845fd158f52f70de4907d1e5be42ce69862060c6d07f8ede4b1624104a0375f02aa4eb8a282fed6bd869019320 45-urw-fonts.conf
+7f341926a31831082cb2a9f231e4e0a268fd89f6abc26187d954822e6f4d6e2827ffd5509e2f1de8d7e20576fa5414d9c2a4da330241588343faf31d1c9a0b2e 90-non-tt-urw-fonts.conf"