Description: From Libreoffice 5.0.0.0 beta 1 to recent versions, it seems that the height of characters (or the margin of the font itself) is not expressed properly in certain fonts. Steps to Reproduce: 1. Run Writer version 5.0.0.0 ahpha or lower. 2. Set the Font to "Malgun Gothic" and type A enter b enter. (Probably, most fonts that support other multi-languages other than "Malgun Gothic" show the same phenomenon.) 3. Set Line Spacing Single, Below paragraph spacing to 0.28cm (or 8 pt). (Below paragraph spacing 0 also shows the same result.) Font size is 11pt. 4. Turn on the vertical tape measure option and check how many cm it is. (The end of b is about 1.5~1.6cm.) 5. You can check the same length in other offices such as MS Word, Google docs, and OpenOffice. 6. Proceed with the same test with Writer version 5.0.0.0 beta or higher. In all versions, including the most recent version 7.6.0, only Libreoffice is about 1 cm long. 7. The above symptoms are not seen in English-oriented fonts such as Arial or Tahoma. (maybe) In conclusion, it seems that the height of certain fonts is not expressed properly from version 5.0.0.0 beta. Actual Results: short height Expected Results: same height Reproducible: Always User Profile Reset: No Additional Info: I tested some 6.X versions and most of 5.X and 7.X versions. I'm not an English native, so please forgive me if there are any strange parts.
ask.libreoffice related question: https://ask.libreoffice.org/t/there-is-no-margin-above-below-a-specific-font-or-it-is-expressed-narrowly/94266
Please attach a test document.
Created attachment 188860 [details] Font test set with PDF converted.
(In reply to خالد حسني from comment #2) > Please attach a test document. Here's a document for testing. Along with Docx and ODT documents, files converted to PDF in Msoffice, Libreoffice 5.3.0.0 alpha, Libreoffice 5.3.0.0 beta 1, and Libreoffice 7.6.0.3 are also uploaded. I uploaded it by including the font in the docx file. (Malgun gothic)
[Automated Action] NeedInfo-To-Unconfirmed
Not all the fonts other than pure English fonts change the height, but some do produce this error. Version: 7.5.4.2 (X86_64) / LibreOffice Community Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6 CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
The font has (Malgun Gothic) has inconsistent line metrics data. It is a complicated issue and there is no way to get it right for all fonts. MS one set of line metrics and LibreOffice chooses another, unfortunately no matter how we change this, some font will break, so we have settled on a heuristic and we are not touching it again. If the default settings are not satisfactory, I suggest manually setting line spacing and not depend on the font’s default.