mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-14 16:52:56 +02:00
Option to change the font family in epub viewer
This commit is contained in:
@@ -42,6 +42,7 @@ export default {
|
||||
rendition: null,
|
||||
ereaderSettings: {
|
||||
theme: 'dark',
|
||||
font: 'serif',
|
||||
fontScale: 100,
|
||||
lineSpacing: 115,
|
||||
spread: 'auto'
|
||||
@@ -130,6 +131,7 @@ export default {
|
||||
|
||||
const fontScale = settings.fontScale || 100
|
||||
this.rendition.themes.fontSize(`${fontScale}%`)
|
||||
this.rendition.themes.font(settings.font)
|
||||
this.rendition.spread(settings.spread || 'auto')
|
||||
},
|
||||
prev() {
|
||||
|
||||
Reference in New Issue
Block a user