diff --git a/client/components/Reader/SettingsPage/SettingsPage.vue b/client/components/Reader/SettingsPage/SettingsPage.vue
index 46c8675c..fc271daf 100644
--- a/client/components/Reader/SettingsPage/SettingsPage.vue
+++ b/client/components/Reader/SettingsPage/SettingsPage.vue
@@ -65,7 +65,7 @@
Сдвиг шрифта по вертикали в процентах от размера.
Отрицательное значение сдвигает вверх, положительное -
- вниз
+ вниз. Значение зависит от метрики шрифта.
@@ -111,6 +111,16 @@
+
+
+
+ Сдвиг текста по вертикали в процентах от размера шрифта.
+ Отрицательное значение сдвигает вверх, положительное -
+ вниз. Менять, как правило, не требуется.
+
+
+
+
По ширине
Перенос по слогам
diff --git a/client/components/Reader/TextPage/TextPage.vue b/client/components/Reader/TextPage/TextPage.vue
index 540f5c53..b82406b1 100644
--- a/client/components/Reader/TextPage/TextPage.vue
+++ b/client/components/Reader/TextPage/TextPage.vue
@@ -170,6 +170,7 @@ class TextPage extends Vue {
this.currentTransition = '';
this.pageChangeDirectionDown = true;
this.fontShift = this.fontVertShift/100;
+ this.textShift = this.textVertShift/100 + this.fontShift;
//drawHelper
this.drawHelper.realWidth = this.realWidth;
@@ -430,7 +431,7 @@ class TextPage extends Vue {
const spaceWidth = this.measureText(' ', {});
- let y = this.indentTB + (this.h - this.pageLineCount*this.lineHeight + this.lineInterval)/2 + this.fontSize*this.fontShift;
+ let y = this.indentTB + (this.h - this.pageLineCount*this.lineHeight + this.lineInterval)/2 + this.fontSize*this.textShift;
if (this.showStatusBar)
y += this.statusBarHeight*(this.statusBarTop ? 1 : 0);
diff --git a/client/store/modules/reader.js b/client/store/modules/reader.js
index 4b37ff3f..5786b6c9 100644
--- a/client/store/modules/reader.js
+++ b/client/store/modules/reader.js
@@ -27,6 +27,7 @@ const settingDefaults = {
fontName: 'ReaderDefault',
webFontName: '',
fontVertShift: 0,
+ textVertShift: -20,
lineInterval: 3,// px, межстрочный интервал
textAlignJustify: true,// выравнивание по ширине