add inter fonts to assets (#22704)

old-commit-hash: 950acb476c
commatwo_master
Adeeb Shihadeh 4 years ago committed by GitHub
parent 2e995ea41a
commit 95f5cabc04
  1. 3
      selfdrive/assets/fonts/Inter-Black.ttf
  2. 3
      selfdrive/assets/fonts/Inter-Bold.ttf
  3. 3
      selfdrive/assets/fonts/Inter-ExtraBold.ttf
  4. 3
      selfdrive/assets/fonts/Inter-ExtraLight.ttf
  5. 3
      selfdrive/assets/fonts/Inter-Light.ttf
  6. 3
      selfdrive/assets/fonts/Inter-Medium.ttf
  7. 3
      selfdrive/assets/fonts/Inter-Regular.ttf
  8. 3
      selfdrive/assets/fonts/Inter-SemiBold.ttf
  9. 3
      selfdrive/assets/fonts/Inter-Thin.ttf
  10. 9
      selfdrive/ui/qt/window.cc

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05f95cac81f1d97b3fad925cb03e835be1fa46b6fe1e8ef8160b01aca5f8c3a6
size 294396

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d597e753e78d8bf9db34c13343146545fb3be5a1c99a175bc381fe3f6f787f31
size 293448

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3f3fb6225a0eacaa537f65bbd8980136c7abaf7eb76e95ceac098d866b1b124
size 294072

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a95896c2a2e7d4edfb5ce3e977b404e9e374e4ede57340f5cda4c0b1e5709a67
size 288400

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d1c68fe19e331437dfcae5cbf37fd30db294ba80959f6bd824c239eee761e9ba
size 288088

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5249ae5f8ddfded34c98c6e3cf09e08f178f234e1bfa28a68f98f6f957628418
size 292140

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1041a8cf17dab7579acef0cc46b21f6497ec1ae01918ddc3495416efb81a4780
size 287928

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98542636e6c900d04e987ca7a37e160a407df344be073fb041fd88f2cd90085a
size 293028

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83be1891f3a7b9db4579ebdfe550741d0aebf45b2c845b6081d4c161924e7df1
size 288568

@ -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"(

Loading…
Cancel
Save