Martín Fernández
53234fcdc1
add hasSystemFonts device property ( #7535 )
...
Add system + user paths to the ReMarkable (has normal linux paths)
2021-04-19 09:04:31 +02:00
NiLuJe
a62561e81e
Fontlist: Move cache file in a subdirectory, so as not to mess with
...
Cache's state tracking
Re #7510
Legacy cache has to be deleted in Cache,
*before* the first getDiskCache call.
Reword the "Clear caches" Dev menu entry & callback:
We now have an actual "Restart" action (on most, if not all, platforms).
And we clear the whole cache folder, which may host other things (e.g.,
fontlist)
2021-04-10 00:39:49 +02:00
Martín Fdez
1148e46651
migrate fontlist to persist
2021-01-13 15:00:13 +01:00
ezdiy
144fd78986
fontlist: Skip fonts with missing family_name ( #6820 )
...
* Also don't trip on pipes
2020-10-24 13:23:05 +02:00
ezdiy
a73bf1afda
fontlist: Cache categorized font info (for mupdf) ( #6786 )
...
Info about each face (l10n, name, family, style etc) is
now cached offline, so fonts can be queried ahead of time.
Fixes https://github.com/koreader/koreader/issues/6763
2020-10-20 06:30:41 +02:00
Martín Fdez
454ed0ebeb
enable usage of system fonts
2020-08-27 21:40:18 +02:00
Martín Fdez
8e831eb756
desktop: disable battery on touch menu and reader footer
...
isDesktop and isEmulator are now different entities
2020-04-13 19:24:28 +02:00
NiLuJe
bb0c01757d
Blacklist a few Amazon Ember styles to get the main ones to behave. ( #5951 )
...
Fix #5950
2020-03-14 11:14:23 +01:00
Martín Fernández
a5069f1c26
android: make system fonts toggable ( #5670 )
...
Also add droid font back to android and remove the workaround
2019-12-08 14:54:14 +01:00
Martín Fernández
87334801ea
android: fix ko paths when primary storage is a SD card
2019-10-14 09:11:58 +02:00
Frans de Jonge
2cd9b50137
[Android] Don't ship Noto ( #5310 )
...
Follow-up to <https://github.com/koreader/koreader/pull/5252 >. This greatly reduces the Android package size.
See discussion in <https://github.com/koreader/koreader/pull/5264#issuecomment-525517001 >.
2019-09-04 20:50:25 +02:00
Frans de Jonge
418aa1e5d6
Cache fontlist
2019-08-30 19:53:36 +02:00
Martín Fernández
3a957d71e3
[Desktop] Open writable font dir, toggle system+user/user fonts, fix openLink on mac ( #5220 )
...
Fixes #5093
2019-08-20 18:38:02 +02:00
Qingping Hou
587758939e
split UI agnostic code from font.lua into fontlist.lua
2019-03-03 13:10:45 +01:00