Skip to content
Snippets Groups Projects
Commit 8f42e3af authored by SeeLook's avatar SeeLook :musical_note:
Browse files

Convert Nootka font to otf

parent dae0b268
No related branches found
No related tags found
No related merge requests found
File added
...@@ -123,9 +123,8 @@ void prepareTranslations(QGuiApplication *a, QTranslator &qt, QTranslator &noo) ...@@ -123,9 +123,8 @@ void prepareTranslations(QGuiApplication *a, QTranslator &qt, QTranslator &noo)
bool loadNootkaFont(QGuiApplication *a) bool loadNootkaFont(QGuiApplication *a)
{ {
Q_UNUSED(a) Q_UNUSED(a)
QFontDatabase fd; int fid = QFontDatabase::addApplicationFont(Tpath::main + QLatin1String("fonts/nootka.otf"));
int fid = fd.addApplicationFont(Tpath::main + QLatin1String("fonts/nootka.ttf")); int fid2 = QFontDatabase::addApplicationFont(Tpath::main + QLatin1String("fonts/Scorek.otf"));
int fid2 = fd.addApplicationFont(Tpath::main + QLatin1String("fonts/Scorek.otf"));
if (fid == -1 || fid2 == -1) { if (fid == -1 || fid2 == -1) {
qDebug() << "Cannot load Nootka fonts!\nDid you forget to invoke:\n" qDebug() << "Cannot load Nootka fonts!\nDid you forget to invoke:\n"
<< "make runinplace\nor\nninja runinplace\nafter the first compilation?\n"; << "make runinplace\nor\nninja runinplace\nafter the first compilation?\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment