https://bugs.documentfoundation.org/show_bug.cgi?id=174350

--- Comment #6 from Robert <[email protected]> ---
Created attachment 209764
  --> https://bugs.documentfoundation.org/attachment.cgi?id=209764&action=edit
Numbering-tab repro: A tab suffix (overflows), B suff=space, C no numbering
(Montserrat embedded)

Another case of this bug, which may help narrow it down: it happens with
automatic list numbering (w:numPr, default tab suffix) even when the text after
the number is a single run with no bold or italic.

Attached file tdf174350-numbering-tab.docx:
- Word 2013+ compatibility (compatibilityMode 15), justified, A4.
- Montserrat 11 pt, embedded in the file (SIL OFL).
- Contains the same Ukrainian sentence three times:

A. Numbered with the default tab after "1.": the first line ends 2.83 pt past
the right margin.
B. Same numbering with <w:suff w:val="space"/>: the line ends 0.60 pt inside
the margin.
C. Same text without numbering, with the same left indent: the line ends 0.56
pt past the margin.

All three first lines break at the same place ("…відповідно до"), so the spaces
are shrunk in each case. A is the only one that clearly overflows, so the tab
after the number seems to be the trigger.

Measured on the PDF from `soffice --headless --convert-to pdf`:
Version: 26.8.3.1 (AARCH64), Build ID:
861effc5289d539f15c4c18d1ba8579ffd78728b, macOS.
With Liberation Sans instead of Montserrat, the three cases don't differ (A and
C both +0.27 pt), so the size of the overflow depends on the font.

Workaround we use: we type the number and the tab as text instead of using
w:numPr. With that, LibreOffice doesn't shrink the line and breaks it before
"до", so it stays within the margin.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to