Skip to content

Commit

Permalink
Context: Remove use of custom font
Browse files Browse the repository at this point in the history
Fixes #932
  • Loading branch information
jonaski committed Apr 4, 2022
1 parent 7f8834c commit b5d39c5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion data/data.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
<file>pictures/rainbowdash.png</file>
<file>pictures/star-on.png</file>
<file>pictures/star-off.png</file>
<file>fonts/HumongousofEternitySt.ttf</file>
<file>mood/sample.mood</file>
<file>text/ghosts.txt</file>
</qresource>
Expand Down
Binary file removed data/fonts/HumongousofEternitySt.ttf
Binary file not shown.
4 changes: 1 addition & 3 deletions src/context/contextview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,6 @@ ContextView::ContextView(QWidget *parent)

labels_play_all_ = labels_play_ << labels_play_data_;

QFontDatabase::addApplicationFont(":/fonts/HumongousofEternitySt.ttf");

QObject::connect(widget_album_, &ContextAlbum::FadeStopFinished, this, &ContextView::FadeStopFinished);

}
Expand Down Expand Up @@ -458,7 +456,7 @@ void ContextView::NoSong() {
widget_album_->show();
}

label_top_->setStyleSheet("font: 20pt \"Humongous of Eternity St\"; font-weight: Regular;");
label_top_->setStyleSheet("font: 20pt \"Liberation Serif\"; font-weight: Regular;");

label_top_->setText(tr("No song playing"));

Expand Down

0 comments on commit b5d39c5

Please sign in to comment.