aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-06-14 13:24:16 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-06-14 13:24:16 +0200
commite51a00ce962655a1e2a0a653e29a91b30962d61e (patch)
tree696a1ce67c2af580d6fa465238ce7844d819bb7f /testing
parente63b0b53e0b14ee52367241e1f544690f27cd35a (diff)
downloadaports-e51a00ce962655a1e2a0a653e29a91b30962d61e.tar.bz2
aports-e51a00ce962655a1e2a0a653e29a91b30962d61e.tar.xz
testing/otf-quintessential: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/otf-quintessential/45-quintessential.conf12
-rw-r--r--testing/otf-quintessential/90-non-tt-quintessential.conf23
-rw-r--r--testing/otf-quintessential/APKBUILD50
3 files changed, 85 insertions, 0 deletions
diff --git a/testing/otf-quintessential/45-quintessential.conf b/testing/otf-quintessential/45-quintessential.conf
new file mode 100644
index 0000000000..0e0a0f83ad
--- /dev/null
+++ b/testing/otf-quintessential/45-quintessential.conf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <alias>
+ <family>Quintessential</family>
+ <default>
+ <family>cursive</family>
+ </default>
+ </alias>
+
+</fontconfig>
diff --git a/testing/otf-quintessential/90-non-tt-quintessential.conf b/testing/otf-quintessential/90-non-tt-quintessential.conf
new file mode 100644
index 0000000000..eead1b186d
--- /dev/null
+++ b/testing/otf-quintessential/90-non-tt-quintessential.conf
@@ -0,0 +1,23 @@
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
+<fontconfig>
+
+ <match target="font">
+ <test name="family">
+ <string>Quintessential</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/otf-quintessential/APKBUILD b/testing/otf-quintessential/APKBUILD
new file mode 100644
index 0000000000..047baea613
--- /dev/null
+++ b/testing/otf-quintessential/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=otf-quintessential
+pkgver=1.000
+pkgrel=0
+pkgdesc="The Quintessential typeface is a calligraphic lettering style based on the Italic Hand."
+url="http://www.impallari.com"
+arch="noarch"
+license="OFL"
+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://googlefontdirectory.googlecode.com/hg/ofl/quintessential/src/Quintessential-Regular.otf
+ 45-quintessential.conf
+ 90-non-tt-quintessential.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 -Dm644 *.otf \
+ "${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="a8324545c8c11da13d440855400cd0e6 Quintessential-Regular.otf
+a01dd1b0fab960cc85c360dbb3f49ad4 45-quintessential.conf
+12812943d242a2458b6d35eb70d97601 90-non-tt-quintessential.conf"
+sha256sums="3490a47283b18390ded494938605810073354e9444e0ad3bb1525c9f40698fb8 Quintessential-Regular.otf
+a2d8634952dc67fac7064acec999b4fd914a151c9ed8b548baeba627af122866 45-quintessential.conf
+deb7279000a6591a594bcb485eaa84f074ef8e6e9cf810f78e504f7b9c213bbf 90-non-tt-quintessential.conf"
+sha512sums="e51d17ba4f89fe33bfe8de1e3e206911ee69b14c7f3ebcf86bd972f457f36c1467d82905f9d6477f31363a37d67bb434b7d3abdca4a5fda7f5da06475337ba11 Quintessential-Regular.otf
+a93d3ba56621dca42f6f58763cab0300128b2de068c94234a5fb081cfdfb4f389f873f3de663a39158c61af892d619e6cfcc66e50366bd854d6b0ad96a953cca 45-quintessential.conf
+31bf9b35c61dfd4d1621570e7d7b833055daf8ac86e2da50bc94a02616d819ce0b2bf387a160221b6c011ee93f05247973beead846a154bcc9448e92318ba593 90-non-tt-quintessential.conf"