bump crengine, which includes:
- Adds support for symbol fonts (local or embedded)
- Fix some issues when rendering text in constrained width
- Page splitting: fix possible missing blocks
- CSS: adds support for 'auto', ignore % for borders
- Fix right border drawing position
- Fix: adds missing properties in copystyle()
- Adds comments, erm_killed rendering method
- Adds getRenderedWidths(): get node min/max node content width
- Tables rendering: fixes and improvements
- getRenderedWidths: enable min_width to be a single CJK char
- Fix wrong text wrap avoid in some case
- epub.css: add style for 'blockquote'
- Fix rendering issue when line ends with an image
Adds a few style tweaks related to tables.
Enforce table width: 100% in Wikipedia EPUBs to keep
previous look, which feels better with the various kinds
of tables in Wikipedia pages.
Fix unit tests as juliet.epub (full of blockquotes), grew quite
a few pages with the epub.css update.
title=_("Alternate background color of table rows"),
{
css=[[
id="table_full_width";
title=_("Full-width tables"),
description=_("Make table expand to the full width of the page. (Tables with small content now use only the width needed to display that content. This restores the previous behavior.)"),
css=[[table { width: 100% !important; }]],
},
{
id="table_td_width_auto";
title=_("Ignore publisher table and cell widths"),
description=_("Ignore table and cells widths specified by the publisher, and let the engine decide the most appropriate widths."),
css=[[table, td, th { width: auto !important; }]],
},
{
id="table_margin_left_right_auto";
title=_("Center small tables"),
description=_("Horizontally center tables that do not use the full page width."),
css=[[table { margin-left: auto !important; margin-right: auto !important; }]],
separator=true,
},
{
id="td_vertical_align_none";
title=_("Ignore publisher vertical alignment in tables"),
-- Using "vertical-align: top" would vertical-align children text nodes to top.
-- "vertical-align: baseline" has no meaning in table rendering, and is as fine