Skip to content

Commit

Permalink
Use Fira Sans
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 authored and jackpot51 committed Oct 8, 2020
1 parent e2e8e56 commit 000f1ca
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Homepage: https://github.com/system76/pop-plymouth-theme

Package: plymouth-theme-pop-basic
Architecture: all
Depends: ${misc:Depends}, plymouth, plymouth-label, plymouth-themes
Depends: ${misc:Depends}, plymouth, plymouth-label, plymouth-themes, pop-fonts
Provides: plymouth-theme
Breaks: pop-default-settings (<< 2)
Replaces: pop-default-settings (<< 2)
Expand Down
1 change: 1 addition & 0 deletions debian/plymouth-theme-pop-basic.install
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
usr/share/plymouth/themes/pop-basic/
usr/share/initramfs-tools/hooks/plymouth-pop
9 changes: 9 additions & 0 deletions usr/share/initramfs-tools/hooks/plymouth-pop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

# Based on part of the behavior from Ubuntu's /usr/share/initramfs-tools/hooks/plymouth

set -e

mkdir -p "${DESTDIR}/usr/share/fonts/truetype/fira"
cp -a /usr/share/fonts/opentype/fira/FiraSans-Regular.otf "${DESTDIR}/usr/share/fonts/fira"
fc-cache -s -y "${DESTDIR}" > /dev/null 2>&1
2 changes: 1 addition & 1 deletion usr/share/plymouth/themes/pop-basic/pop-basic.script
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ fun display_message_callback (text) {
return;
}

text_image = Image.Text(text, 1, 1, 1);
text_image = Image.Text(text, 1, 1, 1, 1, "Fira Sans, Regular 11");
text_image = text_image.Scale(
scale(text_image.GetWidth()),
scale(text_image.GetHeight())
Expand Down

0 comments on commit 000f1ca

Please sign in to comment.