replace Noto with IBM Plex
This commit is contained in:
parent
c2c4300794
commit
5a97cb5cfc
|
@ -2,18 +2,28 @@ __HEADER__
|
|||
|
||||
list_files() {
|
||||
cat <<EOF
|
||||
fonts/NotoSans-BlackItalic.ttf
|
||||
fonts/NotoSans-Black.ttf
|
||||
fonts/NotoSans-BoldItalic.ttf
|
||||
fonts/NotoSans-Bold.ttf
|
||||
fonts/NotoSans-Italic.ttf
|
||||
fonts/NotoSans-LightItalic.ttf
|
||||
fonts/NotoSans-Light.ttf
|
||||
fonts/NotoSans-MediumItalic.ttf
|
||||
fonts/NotoSans-Medium.ttf
|
||||
fonts/NotoSans-Regular.ttf
|
||||
fonts/NotoSans-ThinItalic.ttf
|
||||
fonts/NotoSans-Thin.ttf
|
||||
fonts/IBMPlexSans-Bold.ttf
|
||||
fonts/IBMPlexSans-BoldItalic.ttf
|
||||
fonts/IBMPlexSans-Italic.ttf
|
||||
fonts/IBMPlexSans-Light.ttf
|
||||
fonts/IBMPlexSans-LightItalic.ttf
|
||||
fonts/IBMPlexSans-Medium.ttf
|
||||
fonts/IBMPlexSans-MediumItalic.ttf
|
||||
fonts/IBMPlexSans-Regular.ttf
|
||||
fonts/IBMPlexSans-Thin.ttf
|
||||
fonts/IBMPlexSans-ThinItalic.ttf
|
||||
fonts/IBMPlexSansCondensed-Bold.ttf
|
||||
fonts/IBMPlexSansCondensed-BoldItalic.ttf
|
||||
fonts/IBMPlexSansCondensed-Italic.ttf
|
||||
fonts/IBMPlexSansCondensed-Light.ttf
|
||||
fonts/IBMPlexSansCondensed-LightItalic.ttf
|
||||
fonts/IBMPlexSansCondensed-Medium.ttf
|
||||
fonts/IBMPlexSansCondensed-MediumItalic.ttf
|
||||
fonts/IBMPlexSansCondensed-Regular.ttf
|
||||
fonts/IBMPlexSerif-Bold.ttf
|
||||
fonts/IBMPlexSerif-BoldItalic.ttf
|
||||
fonts/IBMPlexSerif-Italic.ttf
|
||||
fonts/IBMPlexSerif-Regular.ttf
|
||||
EOF
|
||||
}
|
||||
|
||||
|
@ -43,7 +53,10 @@ case "$1" in
|
|||
# update fonts.xml
|
||||
cp -p $(get_output_path "$SYS/etc/fonts.xml") $(get_output_path "$SYS/etc/fonts.xml").bak
|
||||
sed -i \
|
||||
-e "s/Roboto-/NotoSans-/g" \
|
||||
-e "/Roboto-Black-/d" \
|
||||
-e "s/Roboto-/IBMPlexSans-/" \
|
||||
-e "s/RobotoCondensed-/IBMPlexSansCondensed-/" \
|
||||
-e "s/NotoSerif-/IBMPlexSerif-/" \
|
||||
$(get_output_path "$SYS/etc/fonts.xml")
|
||||
# Fix ownership/permissions
|
||||
for i in $(list_files); do
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
efb2c895-9a00-47d3-9446-5c6d2083f920
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
for font in dist-font/cm-data/NotoSans/*
|
||||
for font in $(find dist-font/cm-data/ -name "*.ttf")
|
||||
do
|
||||
echo "Patching $font"
|
||||
fontforge -script fontpatcher.pe $font
|
||||
|
|
Loading…
Reference in New Issue