Created attachment 85371 [details]
Sample document with a Text Frame with the bug ("Imported Text Frame") and a Text Frame without the bug ("New Text Frame")
Steps to reproduce:
1. Open an arbitrary pdf file with LibreOffice (in order to import it into Drawing)
2. Mark text in any Text Frame with characters of the same font family and same font size. Note the font size.
3. Select the whole Text Frame and open Format > Character... Note different ("default") font size.
The font size of the marked text inside the Text Frame and the font size of the selected Text Frame is not the same.
The font size of the marked text inside the Text Frame and the font size of the selected Text Frame is the same.
The bug is not present if I create a new Text Frame. I noticed the font size of Text Frames created by an imported pdf often aren't integers (e.g. 9.9). But it is not possible to create e new Text Frame with font size with decimals.
The bug is also present on Mac OS X (LibreOffice Version 18.104.22.168)
Operating System: Windows XP
Version: 22.214.171.124 rc
thanks for the report. What you say, basically, is that the fonts in imported PDFs have direct formatting and that the font setting of the text frame is not used. Is that correct?
Yes that's correct.
This bug is a problem if I want to change the font family of all the text frames of an imported PDF by selecting them all. Then LibreOffice doesn't preserve the different font sizes of the text in the text frames but instead sets all the font sizes to the default value.
ok then! Set this to new and make it an enhancement request.
Now font size property applied also to text frame.