Created attachment 195355 [details] Minimal reproducer Steps to reproduce the bug: 1) Open the attached ODT bugdoc 2) Look at the picked fonts in the 2 paragraphs in the document as part of font fallback Expected result: first para is sans, second para is serif. Actual result: both paragraphs are sans.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6dfac38bacd449c64a13363797b56aff49cf8f52 tdf#162072 vcl, fontconfig: consider font-family-generic for substitute It will be available in 25.2.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.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d06de2e049761b7b9e8a95f17557d309812f7acc Related: tdf#162072 DOCX import: handle font family for characters It will be available in 25.2.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.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/e621b6fefef307048c035298649e7cc5159945ae tdf#162072 vcl, fontconfig: consider font-family-generic for substitute It will be available in 24.8.0.2. 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.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/91dc75b03defdc2faefde1822588dcc96ab9b145 Related: tdf#162072 DOCX import: handle font family for characters It will be available in 24.8.0.2. 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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d01dcab81a6a66fd5b4448ccff348f69c82c538d Related: tdf#162072 compare fallback to what "serif" resolves to It will be available in 25.2.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.
Is it a solution for bug 161378 or bug 161373?
I believe bug 161373 is a duplicate, I just asked there. The other one is about UI and I didn't touch UI here, so probably not. Thanks, I'm really bad at searching for duplicates.