Bug 68731 - DOCX embedded Math OLE mangled on WIndows
Summary: DOCX embedded Math OLE mangled on WIndows
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
4.2.0.0.alpha0+ Master
Hardware: Other Windows (All)
: medium normal
Assignee: Michael Stahl (allotropia)
URL:
Whiteboard: target:4.2.0 target:4.1.3
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-08-29 22:20 UTC by Michael Stahl (allotropia)
Modified: 2013-09-04 07:49 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (186.77 KB, image/png)
2013-09-03 14:39 UTC, Caolán McNamara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Stahl (allotropia) 2013-08-29 22:20:30 UTC
with this attachment:

https://bugs.freedesktop.org/attachment.cgi?id=51359

the embedded Math OLE thing is displayed wrongly
on current master, but strangely only on Windows,
it looks right on Linux.

it looks like various special math symbols are
mapped to weird non-math symbols, perhaps a font issue?

used to work in LO 4.0.1.1 on Windows.
Comment 1 Caolán McNamara 2013-09-03 14:14:09 UTC
So I just grabbed http://dev-builds.libreoffice.org/daily/master/Win-x86@6-debug/current/master~2013-09-03_00.55.02_LibreOfficeDev_4.2.0.0.alpha0_Win_x86.msi and installed it and I don't see immediately anything visually wrong vs linux

Are we talking about the image at the end of page 7 ?
Comment 2 Michael Stahl (allotropia) 2013-09-03 14:21:31 UTC
(In reply to comment #1)
> Are we talking about the image at the end of page 7 ?

oh there's another one, didn't notice that, it looks okay here.

the broken one (2 actually) is on top of page 6
Comment 3 Caolán McNamara 2013-09-03 14:39:13 UTC
Created attachment 85118 [details]
screenshot

They look the same to me, so presumably you don't see ^^^this^^^, right ?

Maybe opensymbol isn't being found for some reason. How about format->bullets and numbers, are they busted in the previews, or do they look right and/or does the font dropdown list show opensymbol in a blank new document ?
Comment 4 Michael Stahl (allotropia) 2013-09-03 15:43:50 UTC
ok it turns out the symbol font can't be found;
on this VM i never had LO actually installed
so the fonts only exist in the installation dir
and since the removal of the Brand/Basis split this
didn't work; not sure how exactly it worked for me with 4.0
on another VM...

fixed on master.
Comment 5 Commit Notification 2013-09-03 15:48:36 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=c91f7082180d1ca90467891f3b7ca9a3e845d9e7

fdo#68731: vcl: fix path for bundled fonts on Windows



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 6 Michael Stahl (allotropia) 2013-09-03 17:57:36 UTC
so it appears that if the MSI is actually installed (without /a)
then the fonts are copied to C:/Windows/Fonts dir and so this bug should
only affect installations with msiexec /a or from archive / dev-install.
Comment 7 Commit Notification 2013-09-04 07:49:15 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-4-1":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=5e279f6efdf582812825d0ed388511b21c676f56&h=libreoffice-4-1

fdo#68731: vcl: fix path for bundled fonts on Windows


It will be available in LibreOffice 4.1.3.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.