Description: When converting a word document to a PDF the PDF symbols do not match those of the word doc. Steps to Reproduce: 1. Convert file to PDF using 'soffice --headless --nolockcheck --nodefault --nofirststartwizard --nologo --norestore --convert-to pdf --outdir /tmp /tmp/test.docx' 2. Open PDF using a viewer 3. Observe the symbols do not match Actual Results: The math symbols are incorrect. Expected Results: The math symbols are correct. Reproducible: Always User Profile Reset: No Additional Info: None
Created attachment 159799 [details] The word document - correct symbols
Created attachment 159800 [details] The pdf - incorrect symbols
When opening the docx file and pdf files, I don't see the difference. Could you attach a screenshot of what you expect?
Created attachment 159812 [details] The correct symbols screenshot
Created attachment 159813 [details] The incorrect symbols screenshot
Updated with screenshots
Thank you for your feedback. Last question but it's more to confirm, if you open docx, do you see right symbols? Indeed, I don't see them and noticed these logs on console: warn:xmloff:41059:41059:sax/source/fastparser/fastparser.cxx:1267: unknown element xsi:type http://www.w3.org/2001/XMLSchema-instance warn:xmloff:41059:41059:sax/source/fastparser/fastparser.cxx:1267: unknown element xsi:type http://www.w3.org/2001/XMLSchema-instance warn:xmloff:41059:41059:sax/source/fastparser/fastparser.cxx:1267: unknown element w15:val http://schemas.microsoft.com/office/word/2012/wordml warn:xmloff:41059:41059:sax/source/fastparser/fastparser.cxx:1195: unknown attribute vid={4A3C46E8-61CC-4603-A589-7422A47A8E4A} warn:starmath.ooxml:41059:41059:starmath/source/ooxmlimport.cxx:226: Unknown m:chr in m:acc '̅' warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath.ooxml:41059:41059:starmath/source/ooxmlimport.cxx:226: Unknown m:chr in m:acc '̅' warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath.ooxml:41059:41059:starmath/source/ooxmlimport.cxx:226: Unknown m:chr in m:acc '̅' warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:starmath:41059:41059:starmath/source/document.cxx:240: !! SmDocShell::ArrangeFormula: reference device missing !! warn:legacy.osl:41059:41059:oox/source/helper/storagebase.cxx:66: StorageBase::StorageBase - missing base input stream
Works if opened in word, does not work if opened in libre!
I gave a try with: https://gerrit.libreoffice.org/c/core/+/92698
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/be23b4a91504b81a19510f8562e92203b4317edf tdf#132305: Teach Starmath MS_COMBOVERLINE = 0x0305 It will be available in 7.0.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.
Patch waiting for review for 6.4 branch: https://gerrit.libreoffice.org/c/core/+/92770
Verified in Version: 7.0.0.0.alpha0+ Build ID: 4ba1909f12b49f020195b5e767045340717ce6df CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded @Julien, thanks for fixing this issue!! This is actually a FILEOPEN issue, and it can also be reproduced in LibreOffice 4.4
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/47c2a85b41d669281b0e9f0063f024360485f0d5 tdf#132305: Teach Starmath MS_COMBOVERLINE = 0x0305 It will be available in 6.4.4. 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.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/781a1a82231ee4b95733dfb76249224948d6d894 tdf#132305: sw: Add unittest It will be available in 7.0.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.
*** Bug 125463 has been marked as a duplicate of this bug. ***