switch ibm plex to noto
This commit is contained in:
parent
55a21689b7
commit
047f25fee4
|
@ -24,24 +24,18 @@ export PATH="${PATH}:$S/bin:$S/xbin"
|
|||
|
||||
list_files() {
|
||||
cat <<EOF
|
||||
fonts/IBMPlexSans-Black.ttf
|
||||
fonts/IBMPlexSans-BlackItalic.ttf
|
||||
fonts/IBMPlexSans-Bold.ttf
|
||||
fonts/IBMPlexSans-BoldItalic.ttf
|
||||
fonts/IBMPlexSans-Hairline.ttf
|
||||
fonts/IBMPlexSans-HairlineItalic.ttf
|
||||
fonts/IBMPlexSans-Heavy.ttf
|
||||
fonts/IBMPlexSans-HeavyItalic.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-Semibold.ttf
|
||||
fonts/IBMPlexSans-SemiboldItalic.ttf
|
||||
fonts/IBMPlexSans-Thin.ttf
|
||||
fonts/IBMPlexSans-ThinItalic.ttf
|
||||
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
|
||||
EOF
|
||||
}
|
||||
|
||||
|
@ -71,7 +65,7 @@ case "$1" in
|
|||
# update fonts.xml
|
||||
cp -p "$SYS/etc/fonts.xml" "$SYS/etc/fonts.xml.bak"
|
||||
sed -i \
|
||||
-e "s/Roboto-/IBMPlexSans-/g" \
|
||||
-e "s/Roboto-/NotoSans-/g" \
|
||||
"$SYS/etc/fonts.xml"
|
||||
# Fix ownership/permissions
|
||||
for i in $(list_files); do
|
||||
|
|
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.
|
@ -10,9 +10,9 @@ export PATH="${PATH}:${SYSTEM}/bin:${SYSTEM}/xbin"
|
|||
|
||||
# install iptables script
|
||||
echo "Installing font"
|
||||
cp cm-data/IBMPlexSans/IBMPlexSans*.ttf ${SYSTEM}/fonts/
|
||||
chown root:root ${SYSTEM}/fonts/IBMPlexSans*.ttf
|
||||
chmod 750 ${SYSTEM}/fonts/IBMPlexSans*.ttf
|
||||
cp cm-data/NotoSans/NotoSans*.ttf ${SYSTEM}/fonts/
|
||||
chown root:root ${SYSTEM}/fonts/NotoSans*.ttf
|
||||
chmod 750 ${SYSTEM}/fonts/NotoSans*.ttf
|
||||
|
||||
# install restore script
|
||||
echo "Installing restore script"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env fontforge
|
||||
|
||||
Open($1)
|
||||
Select(0u003A);
|
||||
Copy();
|
||||
Select(0uEE01);
|
||||
Paste();
|
||||
Generate($1)
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
for font in dist-font/cm-data/NotoSans/*
|
||||
do
|
||||
echo "Patching $font"
|
||||
fontforge -script fontpatcher.pe $font
|
||||
done
|
Loading…
Reference in New Issue