change font
authorGuillaume Castagnino <casta@xwing.info>
Mon, 27 May 2019 11:52:14 +0000 (13:52 +0200)
committerGuillaume Castagnino <casta@xwing.info>
Mon, 27 May 2019 11:52:14 +0000 (13:52 +0200)
37 files changed:
dist-font/cm-data/99-font.sh.addon
dist-font/cm-data/IBMPlexSans/.uuid [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Bold.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-BoldItalic.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLight.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLightItalic.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Italic.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Light.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-LightItalic.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Medium.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-MediumItalic.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Regular.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBold.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBoldItalic.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Text.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-TextItalic.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Thin.ttf [new file with mode: 0644]
dist-font/cm-data/IBMPlexSans/IBMPlexSans-ThinItalic.ttf [new file with mode: 0644]
dist-font/cm-data/lato/Lato-Black.ttf [deleted file]
dist-font/cm-data/lato/Lato-BlackItalic.ttf [deleted file]
dist-font/cm-data/lato/Lato-Bold.ttf [deleted file]
dist-font/cm-data/lato/Lato-BoldItalic.ttf [deleted file]
dist-font/cm-data/lato/Lato-Hairline.ttf [deleted file]
dist-font/cm-data/lato/Lato-HairlineItalic.ttf [deleted file]
dist-font/cm-data/lato/Lato-Heavy.ttf [deleted file]
dist-font/cm-data/lato/Lato-HeavyItalic.ttf [deleted file]
dist-font/cm-data/lato/Lato-Italic.ttf [deleted file]
dist-font/cm-data/lato/Lato-Light.ttf [deleted file]
dist-font/cm-data/lato/Lato-LightItalic.ttf [deleted file]
dist-font/cm-data/lato/Lato-Medium.ttf [deleted file]
dist-font/cm-data/lato/Lato-MediumItalic.ttf [deleted file]
dist-font/cm-data/lato/Lato-Regular.ttf [deleted file]
dist-font/cm-data/lato/Lato-Semibold.ttf [deleted file]
dist-font/cm-data/lato/Lato-SemiboldItalic.ttf [deleted file]
dist-font/cm-data/lato/Lato-Thin.ttf [deleted file]
dist-font/cm-data/lato/Lato-ThinItalic.ttf [deleted file]
dist-font/cm.sh

index 67d42a1af120629518506051639a554e3548fe6f..402689eb4a4436124b70fc5652d85c483923b55c 100755 (executable)
@@ -24,24 +24,24 @@ export PATH="${PATH}:$S/bin:$S/xbin"
 
 list_files() {
 cat <<EOF
-fonts/Lato-Black.ttf
-fonts/Lato-BlackItalic.ttf
-fonts/Lato-Bold.ttf
-fonts/Lato-BoldItalic.ttf
-fonts/Lato-Hairline.ttf
-fonts/Lato-HairlineItalic.ttf
-fonts/Lato-Heavy.ttf
-fonts/Lato-HeavyItalic.ttf
-fonts/Lato-Italic.ttf
-fonts/Lato-Light.ttf
-fonts/Lato-LightItalic.ttf
-fonts/Lato-Medium.ttf
-fonts/Lato-MediumItalic.ttf
-fonts/Lato-Regular.ttf
-fonts/Lato-Semibold.ttf
-fonts/Lato-SemiboldItalic.ttf
-fonts/Lato-Thin.ttf
-fonts/Lato-ThinItalic.ttf
+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
 EOF
 }
 
@@ -69,8 +69,8 @@ case "$1" in
   ;;
   post-restore)
     # update fonts.xml
-    cp "$SYS/etc/fonts.xml" "$SYS/etc/fonts.xml.bak"
-    sed -i -e "s/Roboto-/Lato-/g" \
+    cp -p "$SYS/etc/fonts.xml" "$SYS/etc/fonts.xml.bak"
+    sed -i -e "s/Roboto-/IBMPlexSans-/g" \
         "$SYS/etc/fonts.xml"
     # Fix ownership/permissions
     for i in $(list_files); do
diff --git a/dist-font/cm-data/IBMPlexSans/.uuid b/dist-font/cm-data/IBMPlexSans/.uuid
new file mode 100644 (file)
index 0000000..5949321
--- /dev/null
@@ -0,0 +1 @@
+db0429c8-b4b1-4467-9896-c04eaba7b86e
\ No newline at end of file
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Bold.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Bold.ttf
new file mode 100644 (file)
index 0000000..eba206b
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Bold.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-BoldItalic.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-BoldItalic.ttf
new file mode 100644 (file)
index 0000000..7f69bff
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-BoldItalic.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLight.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLight.ttf
new file mode 100644 (file)
index 0000000..187fcac
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLight.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLightItalic.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLightItalic.ttf
new file mode 100644 (file)
index 0000000..e9e6871
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLightItalic.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Italic.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Italic.ttf
new file mode 100644 (file)
index 0000000..c690ee7
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Italic.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Light.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Light.ttf
new file mode 100644 (file)
index 0000000..6cee3f5
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Light.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-LightItalic.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-LightItalic.ttf
new file mode 100644 (file)
index 0000000..807554e
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-LightItalic.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Medium.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Medium.ttf
new file mode 100644 (file)
index 0000000..79271e6
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Medium.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-MediumItalic.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-MediumItalic.ttf
new file mode 100644 (file)
index 0000000..f78e202
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-MediumItalic.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Regular.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Regular.ttf
new file mode 100644 (file)
index 0000000..705fdf6
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Regular.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBold.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBold.ttf
new file mode 100644 (file)
index 0000000..a01c128
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBold.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBoldItalic.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBoldItalic.ttf
new file mode 100644 (file)
index 0000000..d5ac121
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBoldItalic.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Text.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Text.ttf
new file mode 100644 (file)
index 0000000..b39f143
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Text.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-TextItalic.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-TextItalic.ttf
new file mode 100644 (file)
index 0000000..fecc568
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-TextItalic.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Thin.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Thin.ttf
new file mode 100644 (file)
index 0000000..086f5b7
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-Thin.ttf differ
diff --git a/dist-font/cm-data/IBMPlexSans/IBMPlexSans-ThinItalic.ttf b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-ThinItalic.ttf
new file mode 100644 (file)
index 0000000..e33878b
Binary files /dev/null and b/dist-font/cm-data/IBMPlexSans/IBMPlexSans-ThinItalic.ttf differ
diff --git a/dist-font/cm-data/lato/Lato-Black.ttf b/dist-font/cm-data/lato/Lato-Black.ttf
deleted file mode 100644 (file)
index e2aeb6c..0000000
Binary files a/dist-font/cm-data/lato/Lato-Black.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-BlackItalic.ttf b/dist-font/cm-data/lato/Lato-BlackItalic.ttf
deleted file mode 100644 (file)
index 8167388..0000000
Binary files a/dist-font/cm-data/lato/Lato-BlackItalic.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-Bold.ttf b/dist-font/cm-data/lato/Lato-Bold.ttf
deleted file mode 100644 (file)
index ef5ae3b..0000000
Binary files a/dist-font/cm-data/lato/Lato-Bold.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-BoldItalic.ttf b/dist-font/cm-data/lato/Lato-BoldItalic.ttf
deleted file mode 100644 (file)
index 664cd02..0000000
Binary files a/dist-font/cm-data/lato/Lato-BoldItalic.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-Hairline.ttf b/dist-font/cm-data/lato/Lato-Hairline.ttf
deleted file mode 100644 (file)
index 4c5a8fd..0000000
Binary files a/dist-font/cm-data/lato/Lato-Hairline.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-HairlineItalic.ttf b/dist-font/cm-data/lato/Lato-HairlineItalic.ttf
deleted file mode 100644 (file)
index af5ac3d..0000000
Binary files a/dist-font/cm-data/lato/Lato-HairlineItalic.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-Heavy.ttf b/dist-font/cm-data/lato/Lato-Heavy.ttf
deleted file mode 100644 (file)
index fc70ab7..0000000
Binary files a/dist-font/cm-data/lato/Lato-Heavy.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-HeavyItalic.ttf b/dist-font/cm-data/lato/Lato-HeavyItalic.ttf
deleted file mode 100644 (file)
index 823188c..0000000
Binary files a/dist-font/cm-data/lato/Lato-HeavyItalic.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-Italic.ttf b/dist-font/cm-data/lato/Lato-Italic.ttf
deleted file mode 100644 (file)
index b23256f..0000000
Binary files a/dist-font/cm-data/lato/Lato-Italic.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-Light.ttf b/dist-font/cm-data/lato/Lato-Light.ttf
deleted file mode 100644 (file)
index 4213a64..0000000
Binary files a/dist-font/cm-data/lato/Lato-Light.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-LightItalic.ttf b/dist-font/cm-data/lato/Lato-LightItalic.ttf
deleted file mode 100644 (file)
index 2d03739..0000000
Binary files a/dist-font/cm-data/lato/Lato-LightItalic.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-Medium.ttf b/dist-font/cm-data/lato/Lato-Medium.ttf
deleted file mode 100644 (file)
index 2c612da..0000000
Binary files a/dist-font/cm-data/lato/Lato-Medium.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-MediumItalic.ttf b/dist-font/cm-data/lato/Lato-MediumItalic.ttf
deleted file mode 100644 (file)
index 63ecd02..0000000
Binary files a/dist-font/cm-data/lato/Lato-MediumItalic.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-Regular.ttf b/dist-font/cm-data/lato/Lato-Regular.ttf
deleted file mode 100644 (file)
index adbfc46..0000000
Binary files a/dist-font/cm-data/lato/Lato-Regular.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-Semibold.ttf b/dist-font/cm-data/lato/Lato-Semibold.ttf
deleted file mode 100644 (file)
index 60ac82d..0000000
Binary files a/dist-font/cm-data/lato/Lato-Semibold.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-SemiboldItalic.ttf b/dist-font/cm-data/lato/Lato-SemiboldItalic.ttf
deleted file mode 100644 (file)
index cc23390..0000000
Binary files a/dist-font/cm-data/lato/Lato-SemiboldItalic.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-Thin.ttf b/dist-font/cm-data/lato/Lato-Thin.ttf
deleted file mode 100644 (file)
index a559c23..0000000
Binary files a/dist-font/cm-data/lato/Lato-Thin.ttf and /dev/null differ
diff --git a/dist-font/cm-data/lato/Lato-ThinItalic.ttf b/dist-font/cm-data/lato/Lato-ThinItalic.ttf
deleted file mode 100644 (file)
index 7fbca2f..0000000
Binary files a/dist-font/cm-data/lato/Lato-ThinItalic.ttf and /dev/null differ
index 5c0206678e47ab95f7f3ad1744912ca234092e8e..35cafbce171c049523b03bb67fde8f08b75e0d0e 100755 (executable)
@@ -10,9 +10,9 @@ export PATH="${PATH}:${SYSTEM}/bin:${SYSTEM}/xbin"
 
 # install iptables script
 echo "Installing font"
-cp cm-data/lato/Lato*.ttf ${SYSTEM}/fonts/
-chown root:root ${SYSTEM}/fonts/Lato*.ttf
-chmod 750 ${SYSTEM}/fonts/Lato*.ttf
+cp cm-data/IBMPlexSans/IBMPlexSans*.ttf ${SYSTEM}/fonts/
+chown root:root ${SYSTEM}/fonts/IBMPlexSans*.ttf
+chmod 750 ${SYSTEM}/fonts/IBMPlexSans*.ttf
 
 # install restore script
 echo "Installing restore script"