mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-03 07:54:34 +02:00
system/noto-fonts: added conf files.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
95f4c6fca2
commit
2a706c1672
6 changed files with 66 additions and 12 deletions
16
system/noto-fonts/66-noto-mono.conf
Normal file
16
system/noto-fonts/66-noto-mono.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Noto Mono</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Noto Mono</family>
|
||||
<default>
|
||||
<family>monospace</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
16
system/noto-fonts/66-noto-sans.conf
Normal file
16
system/noto-fonts/66-noto-sans.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Noto Sans</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Noto Sans</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
16
system/noto-fonts/66-noto-serif.conf
Normal file
16
system/noto-fonts/66-noto-serif.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Noto Serif</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Noto Serif</family>
|
||||
<default>
|
||||
<family>serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
|
@ -3,12 +3,12 @@ noto-fonts (Googles Noto fonts)
|
|||
Noto's goal is to provide a beautiful reading experience for all
|
||||
languages.
|
||||
|
||||
It is a free, professionally-designed, open-source collection of fonts
|
||||
with a harmonious look and feel in multiple weights and styles. All
|
||||
Noto fonts are published under the SIL Open Font License (OFL) v1.1,
|
||||
which allows you to copy, modify, and redistribute them if you need to.
|
||||
It is a free, professionally-designed, open-source collection of
|
||||
fonts with a harmonious look and feel in multiple weights and styles.
|
||||
Noto fonts are published under the SIL Open Font License (OFL) v1.1.
|
||||
which allows you to copy, modify, and redistribute them if you need.
|
||||
|
||||
Currently, Noto covers all major languages of the world and many others,
|
||||
including European, African, Middle Eastern, Indic, South and Southeast
|
||||
Asian, Central Asian, American, and East Asian languages. Several
|
||||
minority and historical languages are also supported.
|
||||
Currently, Noto covers all major languages of the world and many
|
||||
others, including European, African, Middle Eastern, Indic, South and
|
||||
Southeast Asian, Central Asian, American, and East Asian languages.
|
||||
Several minority and historical languages are also supported.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Slackware build script for noto-fonts.
|
||||
#
|
||||
# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
|
||||
# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=noto-fonts
|
||||
VERSION=${VERSION:-20150929}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ARCH=noarch
|
||||
|
@ -60,7 +60,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
|||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
install -d $PKG/usr/share/fonts/TTF/
|
||||
install -m644 hinted/Noto*.ttf $PKG/usr/share/fonts/TTF/
|
||||
install -m644 hinted/Noto*.tt[fc] $PKG/usr/share/fonts/TTF/
|
||||
install -m644 unhinted/Noto*.tt[fc] $PKG/usr/share/fonts/TTF/
|
||||
|
||||
rm $PKG/usr/share/fonts/TTF/NotoSans{,UI}-*.ttf
|
||||
|
||||
mkdir -p $PKG/etc/fonts/conf.avail
|
||||
install -m644 $CWD/*.conf $PKG/etc/fonts/conf.avail/
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a FAQ.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
|
|
|
@ -12,7 +12,7 @@ noto-fonts: Noto's goal is to provide a beautiful reading experience for all
|
|||
noto-fonts: languages.
|
||||
noto-fonts:
|
||||
noto-fonts: It is a free, professionally-designed, open-source collection of
|
||||
noto-fonts: fonts with a harmonious look and feel in multiple weights and styles.
|
||||
noto-fonts: fonts with a harmonious look and feel in multiple weights and styles.
|
||||
noto-fonts: Noto fonts are published under the SIL Open Font License (OFL) v1.1.
|
||||
noto-fonts:
|
||||
noto-fonts: Home page: https://github.com/googlei18n/noto-fonts
|
||||
|
|
Loading…
Reference in a new issue