diff --git a/components/readers/EpubReader.vue b/components/readers/EpubReader.vue
index 75176f8e..813b64e7 100644
--- a/components/readers/EpubReader.vue
+++ b/components/readers/EpubReader.vue
@@ -38,7 +38,8 @@ export default {
ereaderSettings: {
theme: 'dark',
fontScale: 100,
- lineSpacing: 115
+ lineSpacing: 115,
+ textStroke: 0
}
}
},
@@ -113,7 +114,8 @@ export default {
'*': {
color: `${fontColor}!important`,
'background-color': `${backgroundColor}!important`,
- 'line-height': this.ereaderSettings.lineSpacing + '%!important'
+ 'line-height': this.ereaderSettings.lineSpacing + '%!important',
+ '-webkit-text-stroke': this.ereaderSettings.textStroke/100 + 'px ' + fontColor + '!important'
},
a: {
color: `${fontColor}!important`
diff --git a/components/readers/Reader.vue b/components/readers/Reader.vue
index ddd2d7bf..fb6ce969 100644
--- a/components/readers/Reader.vue
+++ b/components/readers/Reader.vue
@@ -82,6 +82,12 @@
{{ $strings.LabelFontBoldness }}:
+{{ $strings.LabelLayout }}:
@@ -116,7 +122,8 @@ export default { theme: 'dark', fontScale: 100, lineSpacing: 115, - spread: 'auto' + spread: 'auto', + textStroke: 0 } } }, @@ -396,4 +403,4 @@ export default { this.unregisterListeners() } } - \ No newline at end of file + diff --git a/strings/en-us.json b/strings/en-us.json index c1de9cef..e2abd497 100644 --- a/strings/en-us.json +++ b/strings/en-us.json @@ -137,6 +137,7 @@ "LabelFilename": "Filename", "LabelFinished": "Finished", "LabelFolder": "Folder", + "LabelFontBoldness": "Font Boldness", "LabelFontScale": "Font scale", "LabelGenre": "Genre", "LabelGenres": "Genres", @@ -293,4 +294,4 @@ "ToastPodcastCreateSuccess": "Podcast created successfully", "ToastRSSFeedCloseFailed": "Failed to close RSS feed", "ToastRSSFeedCloseSuccess": "RSS feed closed" -} \ No newline at end of file +}