When I insert special caracters, using certain TrueType TTF fonts, within my text, these symbols stretch about 17 cm down my page. The TTF fonts I have trouble with all come from a CorelDraw 9 CD. I even recopied these fonts from the original CD into the C:\WINDOWS\FONTS folder. I tried converting my ODT to a DOCX file but the problem remains. I even created a new ODT document ... the problem remains. Nothing helped. Standard Windows fonts such as Webding and the three Wingding fonts work perfectly.
This bug started about 8 months ago. I just upgraded to LibreOffice 22.214.171.124 and my problem remains. Please note that my problem, when opening the same ODT file in OpenOffice 4.1.5, everything is perfect ... no stretched symbols. I'm using a 64 bits Windows 10 version 1803 on a HP notebook.
Steps to Reproduce:
1. Create a new document.
2. Click Insert then Special Charaters.
3. Select Arrows 1 or Food or Household font and insert a symbol.
Some special characters stretch to 17 cm long.
Should remain the standard font size selected for the rest of the text (ex. 12).
User Profile Reset: No
Created attachment 145071 [details]
Example PDF file of the problem
Created attachment 145074 [details]
One TTF file which cases the problem
I confirm it with the font Arrows1: Formatting mark has the correct size, but cursor is around 14cm
But I think it's not only about special characters. I justed opened an new document and changed the font to Arrows1 and the bug appeared.
Version: 126.96.36.199.alpha0+ (x64)
Build ID: 62cd86977ca41677c56fb2d1f97bb1c5cbdbd416
CPU threads: 4; OS: Windows 10.0; UI render: GL;
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-09-20_02:34:32
Locale: en-US (de_DE); Calc: CL
Version: 188.8.131.52 (x64)
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard;
Gebietsschema: de-DE (de_DE); Calc: group
Situation in LO 5.4 is different: I can't add special characrer from font Arrwos1 (special character list is empty) but when I open the document createdwith LO 6, the bug is still there
Created attachment 145142 [details]
Arrows1 font modified in Fontlab
It appears that this font is quite old, has some metrics issues, and it is not a Unicode font.
Opened it in Fontlab and noticed an odd setting: Safe bottom = -40000
My guess is that is a missing setting, not the actual setting.
So I let Fontlab determine what it thought it should be: -93
Renamed and exported the font.
Fontlab converted it to OpenType and Unicode.
Installed the modified font - and it does not have the issue.
Fontlab has moved some things around, but it all appears to be there.
And the insert Special Characters seems to work properly.
Did not test thoroughly.
You can install both fonts as this one has been renamed to Arrows1Fontlab.
So to summarize - old font, not unicode, with some odd metrics issues.
@LibreTraining, thanks for the analysis in comment 4.
@Khaled, should it be closed as RESOLVED NOTOURBUG ?
I guess so. The font has an OS/2.usWinDescent value of 65447, which is rather odd. Looks like 0xFFFE - 89, so looks like some tool screwed up while encoding the number in the TTF file.