diff options
author | nimrud | 2018-11-17 14:14:50 -0500 |
---|---|---|
committer | nimrud | 2018-11-17 14:14:50 -0500 |
commit | 3fe759e7e05b26faff1f77b3dc9201edd93c812e (patch) | |
tree | ec0be6c7a991efa3d59a5df9777fc95780c9ae7c | |
parent | b23ad24a4bc5b20b20536cdb321dae447bee5bcd (diff) | |
download | aur-3fe759e7e05b26faff1f77b3dc9201edd93c812e.tar.gz |
update fontconfig file
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | 65-ubuntu-arabic.conf | 14 | ||||
-rwxr-xr-x | PKGBUILD | 4 |
3 files changed, 16 insertions, 7 deletions
@@ -5,15 +5,12 @@ pkgbase = ttf-ubuntu-arabic url = https://launchpad.net/ubuntu/+source/ubuntu-font-family-sources/0.84~mono0.83+arabicfontconfig-0ubuntu1 arch = any license = custom:Ubuntu Font Licence 1.0 - depends = fontconfig - depends = xorg-font-utils - provides = ttf-font source = https://launchpad.net/ubuntu/+archive/primary/+files/ubuntu-font-family-sources_0.84~mono0.83+arabicfontconfig.orig-arabicbeta.tar.gz source = LICENCE.txt source = 65-ubuntu-arabic.conf md5sums = 561ba71ea16185e0fc389890c2631724 md5sums = 325a1a9029112a2405e743c7f816427b - md5sums = ccf8e318ee69498d0094f27e4a15d5ac + md5sums = e8d413b3e001764007e9fc26d4dcf7dd pkgname = ttf-ubuntu-arabic diff --git a/65-ubuntu-arabic.conf b/65-ubuntu-arabic.conf index 248c1ddd64f1..213c6b1bfec6 100644 --- a/65-ubuntu-arabic.conf +++ b/65-ubuntu-arabic.conf @@ -2,6 +2,20 @@ <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> + <!-- Append Ubuntu Arabic at end of font lists --> + <match target="pattern"> + <test name="family"><string>serif</string></test> + <edit name="family" mode="append"><string>Ubuntu Arabic</string></edit> + </match> + <match target="pattern"> + <test name="family"><string>sans-serif</string></test> + <edit name="family" mode="append"><string>Ubuntu Arabic</string></edit> + </match> + <match target="pattern"> + <test name="family"><string>monospace</string></test> + <edit name="family" mode="append"><string>Ubuntu Arabic</string></edit> + </match> + <!-- Preferred fonts for Arabic --> <match target="pattern"> <test name="lang" compare="contains"> @@ -8,14 +8,12 @@ pkgdesc="Public release of Arabic font to Ubuntu Xenial Xerus" arch=('any') url="https://launchpad.net/ubuntu/+source/ubuntu-font-family-sources/0.84~mono0.83+arabicfontconfig-0ubuntu1" license=('custom:Ubuntu Font Licence 1.0') -depends=('fontconfig' 'xorg-font-utils') -provides=('ttf-font') source=('https://launchpad.net/ubuntu/+archive/primary/+files/ubuntu-font-family-sources_0.84~mono0.83+arabicfontconfig.orig-arabicbeta.tar.gz' 'LICENCE.txt' '65-ubuntu-arabic.conf') md5sums=('561ba71ea16185e0fc389890c2631724' '325a1a9029112a2405e743c7f816427b' - 'ccf8e318ee69498d0094f27e4a15d5ac') + 'e8d413b3e001764007e9fc26d4dcf7dd') package() { install -d ${pkgdir}/usr/share/fonts/TTF/ ${pkgdir}/etc/fonts/conf.d |