diff options
author | Erik Dubois | 2017-05-12 10:58:50 -0400 |
---|---|---|
committer | Erik Dubois | 2017-05-12 10:58:50 -0400 |
commit | f1bb040f1a533f3f4c39ba7f3e00d3e3dc7e4aed (patch) | |
tree | aabefcd2ca8f5673d2ecad8c35011dd1d7b34bf0 | |
download | aur-f1bb040f1a533f3f4c39ba7f3e00d3e3dc7e4aed.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rwxr-xr-x | 45-playfair-display.conf | 19 | ||||
-rwxr-xr-x | 90-tt-playfair-display.conf | 47 | ||||
-rwxr-xr-x | PKGBUILD | 37 |
4 files changed, 125 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4b3ab7191b09 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +# Generated by mksrcinfo v8 +# Fri May 12 14:58:44 UTC 2017 +pkgbase = ttf-playfair-display-ibx + pkgdesc = An Open Source typeface family for display and titling use. + pkgver = 1.002 + pkgrel = 3 + url = http://www.forthehearts.net/ + arch = any + groups = infinality-bundle-fonts-extra + license = custom:OFL + depends = fontconfig + source = http://www.1001freefonts.com/d/5486/playfair_display.zip + source = http://www.1001freefonts.com/d/5487/playfair_display_sc.zip + source = 45-playfair-display.conf + source = 90-tt-playfair-display.conf + sha256sums = 21a850f09da462fc27f8c21078f34aff00fcb1f1781ed0c0e88716cd830dd940 + sha256sums = a7290cb3b64973d42b7f50bf46f23d7f90d10d82e9b60f28cbd78d223c858e99 + sha256sums = 8a895998b40d15219c974515c36af38a92b7acb00cd0df27a3fd52891e28606d + sha256sums = 433544aba28f32a2ea249aa3ac098d22e1ed9dc880475c77e010ddd096c9b438 + +pkgname = ttf-playfair-display-ibx + diff --git a/45-playfair-display.conf b/45-playfair-display.conf new file mode 100755 index 000000000000..2f0f7921f7d7 --- /dev/null +++ b/45-playfair-display.conf @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>Playfair Display</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Playfair Display SC</family> + <default> + <family>serif</family> + </default> + </alias> + +</fontconfig> diff --git a/90-tt-playfair-display.conf b/90-tt-playfair-display.conf new file mode 100755 index 000000000000..f6625e8510d4 --- /dev/null +++ b/90-tt-playfair-display.conf @@ -0,0 +1,47 @@ +<?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>Playfair Display</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> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Playfair Display SC</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/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..79fb23f01c93 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: bohoomil <@zoho.com> + +pkgname=ttf-playfair-display-ibx +pkgver=1.002 +pkgrel=3 +depends=('fontconfig') +pkgdesc="An Open Source typeface family for display and titling use." +url="http://www.forthehearts.net/" +arch=('any') +groups=('infinality-bundle-fonts-extra') +license=('custom:OFL') +source=(http://www.1001freefonts.com/d/5486/playfair_display.zip + http://www.1001freefonts.com/d/5487/playfair_display_sc.zip + 45-playfair-display.conf + 90-tt-playfair-display.conf) +sha256sums=('21a850f09da462fc27f8c21078f34aff00fcb1f1781ed0c0e88716cd830dd940' + 'a7290cb3b64973d42b7f50bf46f23d7f90d10d82e9b60f28cbd78d223c858e99' + '8a895998b40d15219c974515c36af38a92b7acb00cd0df27a3fd52891e28606d' + '433544aba28f32a2ea249aa3ac098d22e1ed9dc880475c77e010ddd096c9b438') + +package(){ + + install -D -m644 OFL.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/COPYING + + install -m755 -d "${pkgdir}"/usr/share/fonts/"${pkgname}" + install -m644 *.ttf "${pkgdir}"/usr/share/fonts/"${pkgname}" + + install -D -m644 45-playfair-display.conf \ + "${pkgdir}"/etc/fonts/conf.avail/45-playfair-display.conf + install -D -m644 90-tt-playfair-display.conf \ + "${pkgdir}"/etc/fonts/conf.avail/90-tt-playfair-display.conf + + install -m755 -d "${pkgdir}"/etc/fonts/conf.d + cd "${pkgdir}"/etc/fonts/conf.d + ln -s ../conf.avail/45-playfair-display.conf . + ln -s ../conf.avail/90-tt-playfair-display.conf . +} |