add inter fonts to assets (#22704)
old-commit-hash: 950acb476c0bed4b03b3359b3030d492d982c664
This commit is contained in:
BIN
selfdrive/assets/fonts/Inter-Black.ttf
LFS
Normal file
BIN
selfdrive/assets/fonts/Inter-Black.ttf
LFS
Normal file
Binary file not shown.
BIN
selfdrive/assets/fonts/Inter-Bold.ttf
LFS
Normal file
BIN
selfdrive/assets/fonts/Inter-Bold.ttf
LFS
Normal file
Binary file not shown.
BIN
selfdrive/assets/fonts/Inter-ExtraBold.ttf
LFS
Normal file
BIN
selfdrive/assets/fonts/Inter-ExtraBold.ttf
LFS
Normal file
Binary file not shown.
BIN
selfdrive/assets/fonts/Inter-ExtraLight.ttf
LFS
Normal file
BIN
selfdrive/assets/fonts/Inter-ExtraLight.ttf
LFS
Normal file
Binary file not shown.
BIN
selfdrive/assets/fonts/Inter-Light.ttf
LFS
Normal file
BIN
selfdrive/assets/fonts/Inter-Light.ttf
LFS
Normal file
Binary file not shown.
BIN
selfdrive/assets/fonts/Inter-Medium.ttf
LFS
Normal file
BIN
selfdrive/assets/fonts/Inter-Medium.ttf
LFS
Normal file
Binary file not shown.
BIN
selfdrive/assets/fonts/Inter-Regular.ttf
LFS
Normal file
BIN
selfdrive/assets/fonts/Inter-Regular.ttf
LFS
Normal file
Binary file not shown.
BIN
selfdrive/assets/fonts/Inter-SemiBold.ttf
LFS
Normal file
BIN
selfdrive/assets/fonts/Inter-SemiBold.ttf
LFS
Normal file
Binary file not shown.
BIN
selfdrive/assets/fonts/Inter-Thin.ttf
LFS
Normal file
BIN
selfdrive/assets/fonts/Inter-Thin.ttf
LFS
Normal file
Binary file not shown.
@@ -54,7 +54,14 @@ MainWindow::MainWindow(QWidget *parent) : QWidget(parent) {
|
||||
// load fonts
|
||||
QFontDatabase::addApplicationFont("../assets/fonts/opensans_regular.ttf");
|
||||
QFontDatabase::addApplicationFont("../assets/fonts/opensans_bold.ttf");
|
||||
QFontDatabase::addApplicationFont("../assets/fonts/opensans_semibold.ttf");
|
||||
QFontDatabase::addApplicationFont("../assets/fonts/Inter-Black.ttf");
|
||||
QFontDatabase::addApplicationFont("../assets/fonts/Inter-Bold.ttf");
|
||||
QFontDatabase::addApplicationFont("../assets/fonts/Inter-ExtraBold.ttf");
|
||||
QFontDatabase::addApplicationFont("../assets/fonts/Inter-ExtraLight.ttf");
|
||||
QFontDatabase::addApplicationFont("../assets/fonts/Inter-Medium.ttf");
|
||||
QFontDatabase::addApplicationFont("../assets/fonts/Inter-Regular.ttf");
|
||||
QFontDatabase::addApplicationFont("../assets/fonts/Inter-SemiBold.ttf");
|
||||
QFontDatabase::addApplicationFont("../assets/fonts/Inter-Thin.ttf");
|
||||
|
||||
// no outline to prevent the focus rectangle
|
||||
setStyleSheet(R"(
|
||||
|
||||
Reference in New Issue
Block a user