bump crengine, fribidi, xtext

- bump crengine: (Upstream) DocX: fix paragraphs with single hyperlink
- bump fribidi to 1.0.8 (for nested isolates fix)
- xtext.makeLine(): return no_allowed_break_met=true when that
  happens, so we know the line breaks inside a word.

TextBoxWidget: add forgotten property (when use_xtext=true) when no
line break opportunity was found: has_split_inside_word=true.
(Only used by CoverBrowser Mosaic mode to make nicer text covers
by reducing font size when that happens.)
reviewable/pr5705/r1
poire-z 4 years ago
parent 739a3009ff
commit d89317e820

@ -1 +1 @@
Subproject commit f94e953b32858a02aa2d0a6b780ee28b88717ced
Subproject commit 3813bb1b950abdd75a11b96e237ca9932f3dc1a5

@ -304,6 +304,10 @@ function TextBoxWidget:_splitToLines()
-- - Between a line end_offset= and the next line offset=, there may be only
-- a single indice not included: the \n or the space that allowed the break.
self.vertical_string_list[ln] = line
if line.no_allowed_break_met then
-- let the fact a long word was splitted be known
self.has_split_inside_word = true
end
if line.hard_newline_at_eot and not line.next_start_offset then
-- Add an empty line to reprensent the \n at end of text
-- and allow positionning cursor after it

Loading…
Cancel
Save