diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-07-19 16:11:33 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-07-19 22:38:42 +0200 |
commit | d06de2e049761b7b9e8a95f17557d309812f7acc (patch) | |
tree | 8cf44ef775670837639b6eef4b7c05089486b47e /io | |
parent | 6fd88230b543e98ff6981472cc075fd7bd2f6d9b (diff) |
Related: tdf#162072 DOCX import: handle font family for characters
Open the bugdoc, the first paragraph is meant to be sans and the second
paragraph is meant to be serif, but both of them are serif.
The bugdoc uses the fonts 'IBM Plex Sans' and 'IBM Plex Serif', which is
not something we bundle, so the font fallback is expected, but the
fallback should have a matching font family (roman vs swiss).
Fix the problem by implementing support for <w:family w:val="..."> in
the DOCX import, which was just ignored previously.
Now the DOCX import result in on par with the ODT import result.
Change-Id: I321b9fc6f63126ca5ad61af57af8a5bc7456d5b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170772
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'io')
0 files changed, 0 insertions, 0 deletions