diff --git a/UI/Web/src/app/book-reader/_components/book-reader/book-reader.component.scss b/UI/Web/src/app/book-reader/_components/book-reader/book-reader.component.scss index f0a064718e..dcfa9ddcd3 100644 --- a/UI/Web/src/app/book-reader/_components/book-reader/book-reader.component.scss +++ b/UI/Web/src/app/book-reader/_components/book-reader/book-reader.component.scss @@ -40,6 +40,18 @@ font-display: swap; } +@font-face { + font-family: "FastFontSerif"; + src: url(../../../../assets/fonts/Fast_Font/Fast_Serif.woff2) format("woff2"); + font-display: swap; +} + +@font-face { + font-family: "FastFontSans"; + src: url(../../../../assets/fonts/Fast_Font/Fast_Sans.woff2) format("woff2"); + font-display: swap; +} + :root { --br-actionbar-button-text-color: #6c757d; --accordion-body-bg-color: black; diff --git a/UI/Web/src/app/book-reader/_services/book.service.ts b/UI/Web/src/app/book-reader/_services/book.service.ts index 65549ab48c..d98f09f38a 100644 --- a/UI/Web/src/app/book-reader/_services/book.service.ts +++ b/UI/Web/src/app/book-reader/_services/book.service.ts @@ -28,7 +28,7 @@ export class BookService { getFontFamilies(): Array { return [{title: 'default', family: 'default'}, {title: 'EBGaramond', family: 'EBGaramond'}, {title: 'Fira Sans', family: 'Fira_Sans'}, {title: 'Lato', family: 'Lato'}, {title: 'Libre Baskerville', family: 'Libre_Baskerville'}, {title: 'Merriweather', family: 'Merriweather'}, - {title: 'Nanum Gothic', family: 'Nanum_Gothic'}, {title: 'RocknRoll One', family: 'RocknRoll_One'}, {title: 'Open Dyslexic', family: 'OpenDyslexic2'}]; + {title: 'Nanum Gothic', family: 'Nanum_Gothic'}, {title: 'Open Dyslexic', family: 'OpenDyslexic2'}, {title: 'RocknRoll One', family: 'RocknRoll_One'}, {title: 'Fast Font Serif (Bionic)', family: 'FastFontSerif'}, {title: 'Fast Font Sans (Bionic)', family: 'FastFontSans'}]; } getBookChapters(chapterId: number) { diff --git a/UI/Web/src/app/carousel/_components/carousel-reel/carousel-reel.component.scss b/UI/Web/src/app/carousel/_components/carousel-reel/carousel-reel.component.scss index cad8e95bcc..0384b2c614 100644 --- a/UI/Web/src/app/carousel/_components/carousel-reel/carousel-reel.component.scss +++ b/UI/Web/src/app/carousel/_components/carousel-reel/carousel-reel.component.scss @@ -30,7 +30,7 @@ } ::ng-deep .swiper-slide { - width: auto !important; + width: 160px !important; } ::ng-deep .swiper-wrapper { diff --git a/UI/Web/src/assets/fonts/Fast_Font/Fast_Sans.woff2 b/UI/Web/src/assets/fonts/Fast_Font/Fast_Sans.woff2 new file mode 100644 index 0000000000..cc0a8d06fa Binary files /dev/null and b/UI/Web/src/assets/fonts/Fast_Font/Fast_Sans.woff2 differ diff --git a/UI/Web/src/assets/fonts/Fast_Font/Fast_Serif.woff2 b/UI/Web/src/assets/fonts/Fast_Font/Fast_Serif.woff2 new file mode 100644 index 0000000000..45f7ccf9eb Binary files /dev/null and b/UI/Web/src/assets/fonts/Fast_Font/Fast_Serif.woff2 differ