mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-04-24 07:59:44 +00:00
Option to change the font family in epub viewer
This commit is contained in:
parent
8dc4490169
commit
24228b4424
15 changed files with 45 additions and 11 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue