Malformed Product (Pi) symbol in 4.1.2

Discuss the formula editor

Malformed Product (Pi) symbol in 4.1.2

Postby FJCC » Tue Nov 17, 2015 9:31 pm

An issue with the product symbol, upper case pi, has been reported on the dev list and confirmed by one other person. A formula such as
Code: Select all   Expand viewCollapse view
prod from {x=1} to 10 x+5

produces an odd looking Pi without serifs in Writer, though the PDF export looks fine. The two users used Windows 8.1 and 10. I cannot reproduce the defect on Windows 7 or Redhat Linux. I opened
a bugzilla issue 126666.

Can anyone else reproduce the problem? Any suggestions about what is going on? Files related to the problem are at http://www.patriciashanahan.com/OpenOffice
Windows 10 and Linux Mint, since 2017
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
FJCC
Moderator
 
Posts: 7224
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Malformed Product (Pi) symbol in 4.1.2

Postby acknak » Wed Nov 18, 2015 12:02 am

Seems ok for me (4.1.2rc3 on Linux)
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Malformed Product (Pi) symbol in 4.1.2

Postby pats@acm.org » Wed Nov 18, 2015 12:39 am

I have installed aoo 4.1.2 on a Windows 7 laptop, and it does not reproduce the problem. I see a beautiful capital Pi, occupying the whole of its frame, and everything properly aligned. I am pushing ahead with trying to build. If I can do that, I can put the Windows 7 laptop next to the Windows 8 computer that reproduces the problem, and do comparative debug.
OpenOffice 4.1.2 on Windows 8.1 / OpenOffice 4.1.2 on Windows 7
pats@acm.org
 
Posts: 2
Joined: Wed Nov 18, 2015 12:31 am

Re: Malformed Product (Pi) symbol in 4.1.2

Postby orcmid » Wed Nov 18, 2015 3:45 am

FJCC wrote:Can anyone else reproduce the problem? Any suggestions about what is going on? Files related to the problem are at http://www.patriciashanahan.com/OpenOffice


In AOO 4.1.2 on Windows 10, I opened Formula (OpenOffice Math) and entered the code directly into it. I see the same problem with the capital Pi and centering of the above and below items. (The Pi looks left aligned rather than centered beneath the over/under rows.)

This isolates more to be looked at in the saved document.

An amusing aspect of this for ODF-wonks is the use of the settings.xml file for something that is not quite what the intended purpose of that is. Since settings.xml is implementation specific (and documented who-knows-where for OpenOffice.org).

Here are some more results:

For the *.odf (Formula) file on Windows 10, both Apache OpenOffice 4.1.2 and LibreOffice 5.0 show the same defect.

For the *.odt (Text) file on Windows 10, both Apache OpenOffice 4.1.2 and LibreOffice 5.0 show the same defect. Microsoft Office Word shows the product notation entirely as expected; there is extra space between the product symbol and the "x + 5". I can't tell if that is showing where something is expected in the Equation Design or it is an actual space. It may be that the {x + 5} is needed in the OpenOffice Math entry. Something to check.
Apache OpenOffice 4.1.1 on Windows 8.1 and 10
User avatar
orcmid
Volunteer
 
Posts: 167
Joined: Mon Jun 20, 2011 11:43 pm
Location: Seattle, Washington

Re: Malformed Product (Pi) symbol in 4.1.2

Postby Daiwe01 » Wed Nov 18, 2015 6:28 pm

I see no problem with the quoted code using AOO412m3(Build:9782) - Rev. 1709696 on WinXP SP3 (where I am coding at the moment).
I am using the STIX font.
What font is used where a problem is seen?
AOO 4.1.5 Win7Pro/2KPro/XP & *nix (But my heart is still VAX/VMS)
Daiwe01
 
Posts: 124
Joined: Fri Nov 21, 2008 4:49 am
Location: Georgia USA

Re: Malformed Product (Pi) symbol in 4.1.2

Postby MrProgrammer » Wed Nov 18, 2015 8:25 pm

Perhaps read [Solved] Symbols font on Windows 8.1. OOo 3.2 on Mac OS X 10.9.5 produces a nice pi symbol with serifs.
Screen Shot 2015-11-18 at 12.21.19 .png
Screen Shot 2015-11-18 at 12.21.19 .png (7.84 KiB) Viewed 4237 times


If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.5 Build 9789 on MacOS 10.11.6.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
MrProgrammer
Moderator
 
Posts: 3779
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Malformed Product (Pi) symbol in 4.1.2

Postby FJCC » Thu Nov 19, 2015 5:58 am

The bugzilla issue I opened has been closed as a duplicate of 124203. It is indeed the issue linked by MrProgrammer.
Windows 10 and Linux Mint, since 2017
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
FJCC
Moderator
 
Posts: 7224
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Malformed Product (Pi) symbol in 4.1.2

Postby pats@acm.org » Thu Nov 19, 2015 5:49 pm

I think it is a duplicate in the sense that both are about failure to use a suitable font for the math symbols. I tried the workaround, forcing Cambria Math for OpenSymbol. It did put serifs on the capital Pi, but the alignment is still not quite right.
OpenOffice 4.1.2 on Windows 8.1 / OpenOffice 4.1.2 on Windows 7
pats@acm.org
 
Posts: 2
Joined: Wed Nov 18, 2015 12:31 am

Re: Malformed Product (Pi) symbol in 4.1.2

Postby Lupp » Fri Nov 20, 2015 1:58 pm

Another possible workaround:
Using my "old" (2013-01-29) opens___.ttf I can resort to (e.g.):
Code: Select all   Expand viewCollapse view
oper %PI  from {x=1} to 10 (x+5)

In the attached example (fake extension due to forum software's stubbornness) I get the "ugly hook" using the 'prod' command and a well formed uppercase pi with serifs using the 'oper' command with %PI.
(The updated OpenSymbol fonts offered in https://forum.openoffice.org/en/forum/v ... 12&t=67772 did not work satisfyingly for me. I got the PI only on the screen but not when printing - and did not understand why.)
Attachments
ooo80398SymbolTest.odf.ods
(6.42 KiB) Downloaded 262 times
On Windows 10: LibreOffice 6.2 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 2523
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany


Return to Math

Who is online

Users browsing this forum: No registered users and 0 guests