bump crengine: better linebreaks at em-dash, fb2 fixes (#6521)

Includes:
- (Upstream) LVBase64NodeStream: fix possible segfault
- (Upstream) Fix getting encoding from HTML META tags
- FB2: also look for cover in <src-title-info>
- FB2: fix cover image colors
- FB2: don't draw cover in scroll mode
- TextLang: better linebreaks at em-dash (EN/ES/FR)
- TextLang: increase _lb_props static array size

FB2 footnotes style tweaks: avoid gap above first footnote,
caused by the title bottom margin collapsing into it.
This commit is contained in:
poire-z
2020-08-18 13:34:28 +02:00
committed by GitHub
parent d53dc3f890
commit c8b8ee3ba9
2 changed files with 13 additions and 1 deletions

2
base

Submodule base updated: a96cb1c555...65d3ee1e46

View File

@@ -652,6 +652,8 @@ This is just an example, that will need to be adapted into a user style tweak.]]
Show FB2 footnote text at the bottom of pages that contain links to them.]]),
-- Restrict this to FB2 documents, even if we won't probably
-- match in any other kind of document
-- (Last selector avoids title bottom margin from collapsing
-- into the first footnote by substituting it with padding.)
css = [[
body[name="notes"] section {
-cr-only-if: fb2-document;
@@ -661,6 +663,11 @@ body[name="notes"] section {
body[name="notes"] > section {
-cr-only-if: fb2-document;
font-size: 0.75rem;
}
body[name="notes"] > title {
-cr-only-if: fb2-document;
margin-bottom: 0;
padding-bottom: 0.5em;
}
]],
},
@@ -678,6 +685,11 @@ body[name="comments"] section {
body[name="comments"] > section {
-cr-only-if: fb2-document;
font-size: 0.85rem;
}
body[name="comments"] > title {
-cr-only-if: fb2-document;
margin-bottom: 0;
padding-bottom: 0.5em;
}
]],
separator = true,