SOLVED: How can I get the formula editor to stop cutting off the top of the font?

I’ve never had this issue, but it appeared when I installed Xubuntu 18.04 with LibreOffice 6.0.3.2.

The formula seems to be displayed correctly, but it seems as though the line spacing is set too close for the font size. Png is attached.

In Ubuntu 18.04 the font metrics of the Liberation fonts were damaged.
See: Bug 117411 - Font metrics slightly changed after update OS to Ubuntu 18.04
In that bug there is a link to fixed font files.
Or you can go back to the previous versions of the font files.

You can also change the font used in the LibreOffice code areas.
Tools > Options > LibreOffice > Fonts
You can specify a different font to use for HTML, Basic and SQL.

If this has answered you question, please check the checkmark at left.

.

Changing these options had no visible effect on the formula editor. I selected several fonts and changed sizes – the formula editor remains the same. This may not be related to the bug cited in the report you provided, but if it is, the problem was evident in LO 5.4 as well: it didn’t just start in 6.0.

  1. Why do you insert text of Note into Math formula?
  2. Try insert else one command newline in Math editor
  3. Can you check this problem in old version of LibreOffice?

The note is to demonstrate that the issue is problematic: the backtick [ ` ] characters are present on either side of the equal sign, but the user cannot see them. Newline is used to separate the formula from the note.

Neither newline or the note are pertinent to the problem: they are simply used to illustrate the effects of the problem.

I did check old versions of LO: the problem is present in 5.4, but not 5.1

please fill a bug in our bugzilla

bugs.documentfoundation.org

write steps for reproduce it and attach two screenshots: from 5.1 and from 6.0.3

thaknk you

Okay, got it fixed. Libretraining, it is related to the font metrics issue. Kompilainenn, no need to file a bug.

The issue is with the liberation fonts. Once I figured out what folks were talking about, I downloaded the fonts from here:

https://packages.debian.org/sid/fonts-liberation

and here:

https://packages.debian.org/sid/fonts-liberation2

These Debian packages (apparently) fix whatever’s wrong. I installed them, did a restart, and everything’s fine.

This seems like it would be easy to rectify upstream . . . wish they would: cost hours of time.

Thanks: Ken

Thanks for the time saving, this solves my problem too. These packages of older version are in ubuntu’s repository, but it is the new ones in your links fixes the problem.