Add font selection setting in epub e-reader to match web-client (#1373)

This commit is contained in:
weilBaum9
2025-09-16 17:32:00 +02:00
parent 356e439715
commit e662dae396
3 changed files with 22 additions and 0 deletions
+2
View File
@@ -37,6 +37,7 @@ export default {
isRefreshingUI: false,
ereaderSettings: {
theme: 'dark',
font: 'serif',
fontScale: 100,
lineSpacing: 115,
textStroke: 0
@@ -134,6 +135,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')
},
goToChapter(href) {