Bug 103150 - TOC: Dots between heading and page number aren't placed equally distanced
Summary: TOC: Dots between heading and page number aren't placed equally distanced
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: TableofContents-Indexes
  Show dependency treegraph
 
Reported: 2016-10-12 11:11 UTC by Frank Brütting
Modified: 2017-10-24 20:52 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example odt file (12.47 KB, application/vnd.oasis.opendocument.text)
2017-01-31 19:29 UTC, Frank Brütting
Details
Example screenshot of the attached file (530.61 KB, image/png)
2017-01-31 19:29 UTC, Frank Brütting
Details
same font on thunderbird (534 bytes, image/png)
2017-10-24 20:52 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Brütting 2016-10-12 11:11:49 UTC
Description:
The standard TOC places dots between the heading and the page number, but these aren't placed with equal distance. So there are some overlapping dots the space in between these isn't equal in general. 

Steps to Reproduce:
1. Create some headings
2. Insert a TOC

Actual Results:  
Non-uniform distance between dots.

Expected Results:
Unifor distance between dots.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Comment 1 Regina Henschel 2016-10-12 14:06:33 UTC
I see no "Non-uniform distance between dots." Can you please add an example document and a screenshot of the TOC, where you mark the problem?
Comment 2 Frank Brütting 2017-01-31 19:29:11 UTC
Created attachment 130803 [details]
Example odt file
Comment 3 Frank Brütting 2017-01-31 19:29:53 UTC
Created attachment 130804 [details]
Example screenshot of the attached file
Comment 4 Frank Brütting 2017-01-31 19:33:12 UTC
Sorry for the delay, here are the files. Appeared also in 5.2.5.1. I'm running Fedora 25.
Comment 5 Frank Brütting 2017-01-31 19:36:06 UTC
This just happens to older documents, as far as I tried out. When I create a new file with a TOC, the dots are aligned well. But I don't know if the TOC will get corrupted at some point, or if it's due to the TOC being created not right at the beginning (time-related) of the document.
Comment 6 Xisco Faulí 2017-06-08 09:42:57 UTC Comment hidden (obsolete)
Comment 7 Frank Brütting 2017-07-23 20:43:00 UTC
Still happens with the current Flatpak release.
Comment 8 Frank Brütting 2017-10-21 01:04:41 UTC
Ok, I tracked it down to just appearing with Linux-Libertine fonts (also Biolinum). Setting paragraph template “TOC 1” to Liberation, displays the dots correctly – setting it back to a Libertine font, leads to this uneven spacing.
Comment 9 Xisco Faulí 2017-10-24 20:50:35 UTC
(In reply to zyklon87 from comment #8)
> Ok, I tracked it down to just appearing with Linux-Libertine fonts (also
> Biolinum). Setting paragraph template “TOC 1” to Liberation, displays the
> dots correctly – setting it back to a Libertine font, leads to this uneven
> spacing.

it seems to be a problem in the font, not in LibreOffice. Please see the attached screenshot. Closing as RESOLVED NOTOURBUG
Comment 10 Xisco Faulí 2017-10-24 20:52:17 UTC
Created attachment 137261 [details]
same font on thunderbird