diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-14 13:33:22 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-14 13:33:22 +0200 |
commit | fca1a1319641600769b83e6b73195a7bbc437c16 (patch) | |
tree | 0b8fe27662a0c8276d11edf76b5acec6fb7b7f1c /testing | |
parent | 00838ae76f0689ba244f0371a4135b04b8ba7bc1 (diff) | |
download | aports-fca1a1319641600769b83e6b73195a7bbc437c16.tar.bz2 aports-fca1a1319641600769b83e6b73195a7bbc437c16.tar.xz |
testing/ttf-cantoraone: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/ttf-cantoraone/45-cantoraone.conf | 12 | ||||
-rw-r--r-- | testing/ttf-cantoraone/90-tt-cantoraone.conf | 26 | ||||
-rw-r--r-- | testing/ttf-cantoraone/APKBUILD | 49 |
3 files changed, 87 insertions, 0 deletions
diff --git a/testing/ttf-cantoraone/45-cantoraone.conf b/testing/ttf-cantoraone/45-cantoraone.conf new file mode 100644 index 0000000000..6433b904cb --- /dev/null +++ b/testing/ttf-cantoraone/45-cantoraone.conf @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>CantoraOne</family> + <default> + <family>fantasy</family> + </default> + </alias> + +</fontconfig> diff --git a/testing/ttf-cantoraone/90-tt-cantoraone.conf b/testing/ttf-cantoraone/90-tt-cantoraone.conf new file mode 100644 index 0000000000..3d69cdcaf0 --- /dev/null +++ b/testing/ttf-cantoraone/90-tt-cantoraone.conf @@ -0,0 +1,26 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>CantoraOne</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + </match> + +</fontconfig> diff --git a/testing/ttf-cantoraone/APKBUILD b/testing/ttf-cantoraone/APKBUILD new file mode 100644 index 0000000000..1e9505dd6c --- /dev/null +++ b/testing/ttf-cantoraone/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=ttf-cantoraone +pkgver=1.001 +pkgrel=0 +pkgdesc="Cantora is a friendly semi formal, semi condensed, semi sans serif." +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/cantoraone/CantoraOne-Regular.ttf + 45-cantoraone.conf + 90-tt-cantoraone.conf" + +build() { + cd "$_builddir" +} + +package() { + mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \ + "$pkgdir"/etc/fonts/conf.avail \ + "$pkgdir"/etc/fonts/conf.d + for i in "$srcdir"/*.ttf; do + install -m644 $i \ + "$pkgdir"/usr/share/fonts/$pkgname/ || return 1 + done + 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="8363dec7021a33ac3132c341c04d41e1 CantoraOne-Regular.ttf +8ef656137418c63ef5d41880fe03e994 45-cantoraone.conf +a03dc1e3c4f5dd75f271e137406a1e3c 90-tt-cantoraone.conf" +sha256sums="0a41216a2daa8f0fd7e23bc51fefd6bbabe4565db23c4df7d7956e3fc8b8213b CantoraOne-Regular.ttf +ebde06514c3b69766fc8b8abc0eff6551dc3f06a6a46a2f6a14b2b2b3895336a 45-cantoraone.conf +2b20f19ba5a2f491c570bd9fef46957a71b57399be95dd17f226b7282550a36a 90-tt-cantoraone.conf" +sha512sums="05b0c1364a92b436b86ca819e66b63480d1bc2fb399f6c0cf8bffbf8199ccc2a22a199348de099356a6059af533f3dcea817c519b0b237c9a18e92737fe33007 CantoraOne-Regular.ttf +d2c8393f8cd32896e9fe4e720b018131f9cda1da74523a8ec1253233b2b44e95b471eed3a91a8e3f2680d4cf85eca5ef742ecedecd00e76b4e4ee3bd2c76cafd 45-cantoraone.conf +2ea75c9ed24cad85fb347899798e8478bc2a55ea9e31169ec35b7ae9ec3f21bff57dc05d8f5e2b572b0a31c08f155e21c0b26789d2d04908c8f0232afb87de95 90-tt-cantoraone.conf" |