Created attachment 191070 [details] Sample RTF file RTF filter on import is using default style font or current style font instead of current inline font for field name and field results. Attached testcase is demonstrating given problem: field text result is 36pt instead of expected 8pt (like in MS Word). Seems deduplication of props is missing for fields.
Vasily Melenchuk committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/1b0b11db497f76faf576d28e11860c3502f8deb2 tdf#158409: RTF import: use current run props for fields It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 94f0744648539f1dc4efd42ea55a1e533364ff07 CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded @Vasily, thanks for fixing this issue!!
Vasily Melenchuk committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/e52d61431b43336eca338d4afe061433fb7c97a2 tdf#158409: RTF import: use current run props for fields It will be available in 24.2.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.