diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-14 13:28:43 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-14 13:28:43 +0200 |
commit | 00838ae76f0689ba244f0371a4135b04b8ba7bc1 (patch) | |
tree | cbd790212d6d0cb01226ffda190caea2d7735d78 | |
parent | f29a5a32cf028a9525b04f9862d9bc3eafcc88fd (diff) | |
download | aports-00838ae76f0689ba244f0371a4135b04b8ba7bc1.tar.bz2 aports-00838ae76f0689ba244f0371a4135b04b8ba7bc1.tar.xz |
testing/ttf-caladea: new aport
-rw-r--r-- | testing/ttf-caladea/45-caladea.conf | 13 | ||||
-rw-r--r-- | testing/ttf-caladea/90-tt-caladea.conf | 54 | ||||
-rw-r--r-- | testing/ttf-caladea/APKBUILD | 51 |
3 files changed, 118 insertions, 0 deletions
diff --git a/testing/ttf-caladea/45-caladea.conf b/testing/ttf-caladea/45-caladea.conf new file mode 100644 index 0000000000..7f9e8d6894 --- /dev/null +++ b/testing/ttf-caladea/45-caladea.conf @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>Caladea</family> + <default> + <family>serif</family> + </default> + </alias> + +</fontconfig> + diff --git a/testing/ttf-caladea/90-tt-caladea.conf b/testing/ttf-caladea/90-tt-caladea.conf new file mode 100644 index 0000000000..5cd4435058 --- /dev/null +++ b/testing/ttf-caladea/90-tt-caladea.conf @@ -0,0 +1,54 @@ +<?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>Caladea</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> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Caladea</string> + </test> + <test name="weight" compare="less"> + <const>medium</const> + </test> + <test name="pixelsize" compare="less"> + <double>13.5</double> + </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>hintfull</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + +</fontconfig> + diff --git a/testing/ttf-caladea/APKBUILD b/testing/ttf-caladea/APKBUILD new file mode 100644 index 0000000000..63bcd36682 --- /dev/null +++ b/testing/ttf-caladea/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=ttf-caladea +pkgver=20130214 +pkgrel=0 +pkgdesc="Caladea is a serif font metrically compatible with Cambria." +url="https://code.google.com/p/chromium/issues/detail?id=168879" +arch="noarch" +license="Apache" +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://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-$pkgver.tar.gz + 45-caladea.conf + 90-tt-caladea.conf" + +_builddir="$srcdir"/crosextrafonts-$pkgver + +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="368f114c078f94214a308a74c7e991bc crosextrafonts-20130214.tar.gz +5482372b72ca819be4a6b3cc483d0243 45-caladea.conf +2a82278467fb1fe0a2187aed2269e0ea 90-tt-caladea.conf" +sha256sums="c48d1c2fd613c9c06c959c34da7b8388059e2408d2bb19845dc3ed35f76e4d09 crosextrafonts-20130214.tar.gz +3be38eb979beccd02fa8e6d7dbdbf1e0fa95c4c91ce42c392366214bfddb31fc 45-caladea.conf +b34aa966aae42be63d6f1344f9b8963b6d230d3dc26eadcef8d42829d6cd93db 90-tt-caladea.conf" +sha512sums="71f3cfcfbec33d8526184dce32f244f13b29f97aff31c0609487f27135adc0a4d5950e068f8be101e4fd06498cf103be68d781fc611142f060bbc9cb0b81273e crosextrafonts-20130214.tar.gz +e9c9e2a396682d0d25e2efdc103ab3bf9893c9d94f203a126d31e0546ee50e841254ee276a30b713aecd8ce50792a687308c4b6d2c978049253e910b4a4f3130 45-caladea.conf +ba9c1a0bea7eeee4494f3c42dc83dc0d37961f3535f574bf5bf7424628d160197304bab35c9558007f3b2163ddac9bc9ee5fa93d69a802477055f13c52d05a74 90-tt-caladea.conf" |