Problems with font size in tables on Writter version 26.2

Hi. I’ve recently updated to 26.2 and tried opening an older file created in 25.8. I’ve noticed that files from older versions have the font size in their tables modified in such a way that lines font sizes below 12pt does not dynamically adjust its height.

Below are screenshots for demonstration:

I am not sure whether this is a bug or not, so would like to have some opinion about this issue. Though, creating a brand new document does not trigger this bug.

Another issue I found is that the amount of text you could fit into a line has decreased? Or it could be related to my JabRef citation. On version 25.8.3.2 ot fits in a single line. Perhaps it could be related to the recent blog post about font management?

I would love to hear more of your input, I don’t mind people pointing out what I did wrong (or the poor way I create my documents). Thanks!

Such an issue is nearly impossible to diagnose from a screenshot. Please attach a reduced version of your document and make sure the problem persists in the sample.

You are right. I should have seen this.

This only made me realize copy pasting from the document into another document does not carry over the issue, but only updating the specific document appears have an effect.

It could be an issue with the file itself, so here’s a copy without all the important stuff :slight_smile:

Test.odt (24.3 KB)

What should I look exactly?

Preliminary remarks:

  • Your document was originally written with M$ Word (or has ben edited with at some step)
    There are many remains of M$ idiosyncrasies polluting your document structure
  • You practise direct formatting instead of styling
    This will make formatting and layout optimisation extremely painful
  • Your tables were manually adjusted, though I didn’t find (but not checked exhaustively) cell height is set to Fit to size.
  • You have frequent non-legitimate use of non-breaking space instead of ordinary space
    This mishap is frequent under Window$, so exercise care. NBSP have a big impact on text flow.
  • Your references are in a section
    This is probably your reference/citation manager which created it. Sections are primarily intended to changed “locally” the number of columns without needing a separate page style.

Here are my responses:

  • The document was started in MS Word for originally the cover sheet, which was removed.
  • Direct formatting was used to save on time at the time, but the issue seems to appear on all tables in the document.
  • I had tried to set to Fit to size, but that had no affect on the font size inside tables.
  • The document was mostly edited on Linux.
  • That one was created inside of JabRef.

Please read the original post thoroughly before replying, and test out the document comparing between 25.8 and 26.1; I don’t expect there to be changes that changes the number of pages present between versions. Thanks for your help!

There seems to be a new compatibility setting.
Click Tools > Options > LibreOffice Writer > Compatibility and second from bottom untick Adjust line heights to grid height in table. OK

Note that it seems to be that it is 25.x that is out of step. Earlier versions such as 24.2, or 7.6.7.2 display the table with similar height as 26.2

1 Like

Cf. tdf#167583
(“FILEOPEN DOC/X: AdjustLineHeightInTable: grid killed in tables without taking into account the compat flag”)

2 Likes

Thanks for pointing me to this compatibility flag.

For the other rendering thing unticking Adjust spaces to half the width of ideographic spaces, using Word-compatible rules solved it for me.

However, what would be the direction that the LibreOffice Team take for this discrepancy? If you would kindly add. Could we somehow “de-Word-ify” a document?

Create a new blank document. Copy all text from existing one. Paste into blank as unformatted text. Apply styles (which you must recreate or link from an .ott template). Footnotes must me handled individually.

I wouldn’t be asking if it was just to abandon the original file.

The roughly sketched procedure keeps your text, discarding all Word idiosyncrasies. If you thrash the original file, everything must be retyped. It is up to you to balance the choices.

Thanks, but the text was one-time use anyways.

Tbh I did not expect a reply from you, since this suggestion is just common sense, but I guess you are either assuming I am a new person on the forum, or you are trying to increase your comment counts.

Whatever it might be, what you have provided is a user workaround, and does not answer #8 which was addressed in a technical standpoint. I might just be nitpicking, and I don’t hope to turn this into a fight like on social media.