diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-14 13:45:47 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-14 13:45:47 +0200 |
commit | 53e24985e7ca3a82cd3c741b28a5fbaf540f9a66 (patch) | |
tree | 661cb7fab0b84bea78d01c52150d9841a19b28f9 /testing | |
parent | 8d8a65b72e12c5e9fc7b74662b29a6f75aa136f0 (diff) | |
download | aports-53e24985e7ca3a82cd3c741b28a5fbaf540f9a66.tar.bz2 aports-53e24985e7ca3a82cd3c741b28a5fbaf540f9a66.tar.xz |
testing/ttf-signika-family
Diffstat (limited to 'testing')
-rw-r--r-- | testing/ttf-signika-family/45-signika.conf | 12 | ||||
-rw-r--r-- | testing/ttf-signika-family/90-tt-signika.conf | 26 | ||||
-rw-r--r-- | testing/ttf-signika-family/APKBUILD | 50 |
3 files changed, 88 insertions, 0 deletions
diff --git a/testing/ttf-signika-family/45-signika.conf b/testing/ttf-signika-family/45-signika.conf new file mode 100644 index 0000000000..2f080b091c --- /dev/null +++ b/testing/ttf-signika-family/45-signika.conf @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>Signika</family> + <default> + <family>sans-serif</family> + </default> + </alias> + +</fontconfig> diff --git a/testing/ttf-signika-family/90-tt-signika.conf b/testing/ttf-signika-family/90-tt-signika.conf new file mode 100644 index 0000000000..ce7a4024a4 --- /dev/null +++ b/testing/ttf-signika-family/90-tt-signika.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>Signika</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + +</fontconfig> diff --git a/testing/ttf-signika-family/APKBUILD b/testing/ttf-signika-family/APKBUILD new file mode 100644 index 0000000000..38b7f97823 --- /dev/null +++ b/testing/ttf-signika-family/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=ttf-signika-family +pkgver=1.0001 +pkgrel=0 +pkgdesc="Signika is a sans-serif with a gentle character. TrueType version." +url="http://fontfabric.com/signika-font/" +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://bohoomil.com/src/signika.zip + 45-signika.conf + 90-tt-signika.conf" + +_builddir="$srcdir" + +build() { + cd "$_builddir" +} + +package() { + mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \ + "$pkgdir"/etc/fonts/conf.avail \ + "$pkgdir"/etc/fonts/conf.d + for i in "$_builddir"/*.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="0b6bd70d3c5c49067b5b8d4d31c28a23 signika.zip +e80feaf4275d8c51ab6958bea98656bb 45-signika.conf +e61a56958c56c76adfba952e280bdb0a 90-tt-signika.conf" +sha256sums="a1092b85e68db2aa67fa97c0ec51436d2942b1860b974efdcb6b090d4c252032 signika.zip +d2425f0d723f72db90e00f323aaa83610a067fe244bcaf13b9dde58a902f0e39 45-signika.conf +b5aa77899c9b3511adcb6a8cdd4b09c654913a9d3266207c0d8de381d4e7ea8a 90-tt-signika.conf" +sha512sums="b443b46fdae38731364583f84eb271e576897b8edae1a46efc78463619a896d64fcf6d811cf240e62ddacd3d6531269763c1a28a63f93bfa161c173e70bb6088 signika.zip +ae5ed92bf84e7091476f83ae1415b8b1cf7cb0db15218d24595f4a590c1f6919cbd088d8ea60101530e0064bca40a249ea2961d0e8d7ca1e6cea8e3ae57304a7 45-signika.conf +4d7afe74c8255b7cb14f3997fa01d0076aba9edd24b97e515251678e52b7fa54b7bc62ac63ae90e1b05a7d1d1d177ba446ea6bfd952d2f2f1707e7d9da22d35a 90-tt-signika.conf" |