Merge pull request #1708 from chrox/fix_1701

fix hold-to-set font size not effective
pull/1709/head
Qingping Hou 9 years ago
commit 01b2fea21d

@ -76,7 +76,7 @@ and cross compiling.
Users of Debian and Ubuntu can install the required packages using:
```
sudo apt-get install build-essential git patch wget unzip \
autoconf cmake libtool nasm luarocks \
gettext autoconf cmake libtool nasm luarocks \
libssl-dev libffi-dev libsdl2-dev linux-libc-dev:i386
```
Note that the `linux-libc-dev:i386` package is only necessary for x86_64 machines.

@ -80,6 +80,7 @@ function ReaderFont:onReadSettings(config)
self.ui.document:setHeaderFont(self.header_font_face)
self.font_size = config:readSetting("font_size")
or G_reader_settings:readSetting("copt_font_size")
or DCREREADER_CONFIG_DEFAULT_FONT_SIZE or 22
self.ui.document:setFontSize(Screen:scaleBySize(self.font_size))

Loading…
Cancel
Save