Issue 121708 - Tokens, (like 'cdot') in Formula Editor are shifted
Summary: Tokens, (like 'cdot') in Formula Editor are shifted
Status: CONFIRMED
Alias: None
Product: Math
Classification: Application
Component: ui (show other issues)
Version: 3.4.1
Hardware: PC Windows 8, 8.1
: P3 Major with 18 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo
: 123312 (view as issue list)
Depends on:
Blocks:
 
Reported: 2013-02-03 21:50 UTC by unbxviqw
Modified: 2020-01-19 06:21 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Illustration of the shifted tokens. (1.10 KB, image/png)
2013-02-03 21:50 UTC, unbxviqw
no flags Details
Screen Shot of '-' and 'over' problem (6.60 KB, image/png)
2013-12-16 11:46 UTC, helmerf
no flags Details
Win7 OO 4.0.0 (19.38 KB, image/jpeg)
2013-12-17 11:29 UTC, helmerf
no flags Details
Win 8.1 OO 4.0.1 (21.89 KB, image/jpeg)
2013-12-17 11:30 UTC, helmerf
no flags Details
Enlarged Win8.1 OO 4.0.1 (41.25 KB, image/jpeg)
2013-12-17 11:30 UTC, helmerf
no flags Details
Screenshot of Sans-Font that is used instead of OpenSymbol font. (22.31 KB, image/png)
2014-01-22 17:04 UTC, juffif
no flags Details
Greek symbol not really defined with OpenSymbol font (21.68 KB, image/png)
2014-01-22 17:06 UTC, juffif
no flags Details
Formula Problems with OpenSymbol 2.4.3 (24.34 KB, image/png)
2014-01-23 13:31 UTC, juffif
no flags Details
Formula almost without problems, when no OpenSymbol is installed. (24.63 KB, image/png)
2014-01-23 13:32 UTC, juffif
no flags Details
Windows 7 Vs. Windws 8.1 (51.88 KB, image/jpeg)
2014-02-18 19:32 UTC, Mijail
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description unbxviqw 2013-02-03 21:50:24 UTC
Created attachment 80210 [details]
Illustration of the shifted tokens.

In the formula editor, the 'cdot' is shifted to the left, and the two parts of the sqrt are separated (see attachment)

This first happened when I installed Windows 8, and seems to be specific to this OS.
Comment 1 Nicholas Moisan 2013-09-24 23:31:21 UTC
I was able to replicate the two bugs shown in the example, also on a Windows 8 64-bit computer. I was able to reproduce this bug in 3.4.1 as well as version 4.0.0.
I did not notice this bug occurring with any other symbols besides the "cdot" and "sqrt" symbols. I was unable to test this on a Windows 7 machine, so I have no insight into whether this is an OS-related bug or not.

However, I would argue that this is a p5 level bug as it is only a minor issue and does not affect the functionality of the program, just makes it slightly more difficult to read.
Comment 2 Cem Kaner 2013-09-25 19:43:51 UTC
I am replicating this bug with Niholas Moisan, but on a Windows 7 computer, running OOo-dev 3.5.0 AOO350m1 (9611) and OOo 4.0.1 AOO401m5 (9714). In both cases, when I try 25*13 (replace the * with the cdot) or 5*3, the dot is correctly centered between the numbers. Also the square root sign (root of 5) is correctly drawn. 

The dot and the square root on Moison's computer look identical to those in the "Illustration of the shifted tokens" file, but they look normal on mine. 

I am running with an Nvidia video graphics card, Lenovo W520 i7 computer Windows 7.

Moison is running with a Lenovo ideaPad y410p with an NVidea GForce graphics card, also an i7.

I don't know how to class this in terms of priority or severity for a broader market. I personally do a lot of mathematical writing (e.g. preparing slides for classes, writing textbooks). If the program had these problems on my computer, I would never use it.
Comment 3 Regina Henschel 2013-09-25 19:57:41 UTC
*** Issue 123312 has been marked as a duplicate of this issue. ***
Comment 4 helmerf 2013-12-16 11:46:33 UTC
Created attachment 82112 [details]
Screen Shot of '-' and 'over' problem
Comment 5 helmerf 2013-12-16 11:55:42 UTC
This is still a bug under win8.1 64-bit: there are additional problems with the vertical placement of the '-' sign and a seemingly random allocation of a thicker and thinner 'over' line (the latter is not in a printout, so may be an aliasing issue on the screen). However, the displacement in to the left AND down does seem to affect most (all?) operators (see attached screenshot also for the ':'

The document was started on Win7 and 4.00, and now migrated to a new machine - it was fine before so there must be a difference how Win8.1 handles fonts and distributes spaces...
Can we have a fix please, because this makes working with equations really annoying
Comment 6 Regina Henschel 2013-12-16 13:38:00 UTC
Please make sure, that the OpenSymbol font is installed on your new Win8.1 machine. The filename is opens___.ttf

If the font is installed, please tell us the version of the font.
Comment 7 papayes 2013-12-17 08:47:21 UTC
hello,
I confirm that I wrote on issue 123312:
installed on WIN 8.1 version is downloaded on your link.
https://svn-master.apache.org/repos/asf/openoffice/trunk/main/extras/source/truetype/symbol/
opens___.ttf
v 2.4.3
No change since the move to 8.1.
cordially
Comment 8 helmerf 2013-12-17 11:28:35 UTC
Thanks for the download, but I had 2.4.3 already installed - so this cannot be the source of the trouble. To illustrate the problem again I attach three screen snips from the exactly the same file:
1) on Win 7 OO 4.0.0 Font 2.4.3
2) on Win 8.1 OO 4.0.1 Font 2.4.3
3) enlargement of 2) to show detail of Sqrt break, cdot and - positions
shots are from two laptops, both i7 and geforce graphics, albeit of slightly different specs and at different screen resolutions (I tested that, it makes no difference to the effect)
Comment 9 helmerf 2013-12-17 11:29:34 UTC
Created attachment 82116 [details]
Win7 OO 4.0.0
Comment 10 helmerf 2013-12-17 11:30:12 UTC
Created attachment 82117 [details]
Win 8.1 OO 4.0.1
Comment 11 helmerf 2013-12-17 11:30:46 UTC
Created attachment 82118 [details]
Enlarged Win8.1 OO 4.0.1
Comment 12 juffif 2014-01-22 17:03:46 UTC
I can confirm the bug with a freshly installed OO 4.0.1. (in fact, I had tried to switch to OO because the bug bothered me in LibreOffice). I think that this is also related to the problem that Greek letters are shown in some Sans-Serif font, which looks ugly. If I go to the selection of special symbols in OO Formula (where you can edit and define special characters) the selection menu says that they are from OpenSymbol, but the font that is actually used is, IMHO, a different one. 

I attach two screenshots.
Comment 13 juffif 2014-01-22 17:04:55 UTC
Created attachment 82365 [details]
Screenshot of Sans-Font that is used instead of OpenSymbol font.
Comment 14 juffif 2014-01-22 17:06:46 UTC
Created attachment 82366 [details]
Greek symbol not really defined with OpenSymbol font
Comment 15 Regina Henschel 2014-01-22 18:03:44 UTC
I can see from the screenshot, that it is indeed not "OpenSymbol".

Please take a text document in Writer and look, what the character table of the "Insert Special Character" dialog shows, when you select font "OpenSymbol".

Please try whether a simple editor can select font "OpenSymbol".

My guess is, that the font is not properly registered in Windows. You can try to delete the font OpenSymbol in Windows and reinstall it.

Only to be sure, look whether a replacement is entered in Tools > Options > OpenOffice > Fonts.

Which local has your Win 8.1.?
Comment 16 juffif 2014-01-23 13:29:24 UTC
Opensymbol was, from what I could tell, properly installed but it was an old version (V1.10 from Sun, 2005). It looked the same in other applications.

I now replaced it with a newer version, 2.4.3 from Oracle 2010. I am not sure whether this is the newest, but this is the newest I could find.

There part of the problem is gone (the capital Greek letters now look reasonable and are no longer Sans-Serif) but the formatting shows all the problems that I had since I run it on Windows 8 (square-roots off, cdots shifted to the left, the divides-bar is much too short...). I attach a screen-shot of that.

Interestingly, I got the best results when I completely uninstalled the open symbol font. There the Sans-Serif capital letters are back, but everything else looks fairly reasonable. I attach a screen shot of that as well.

Thanks for your help!
Comment 17 juffif 2014-01-23 13:31:25 UTC
Created attachment 82372 [details]
Formula Problems with OpenSymbol 2.4.3
Comment 18 juffif 2014-01-23 13:32:30 UTC
Created attachment 82373 [details]
Formula almost without problems, when no OpenSymbol is installed.
Comment 19 Mijail 2014-02-18 03:39:40 UTC
(In reply to juffif from comment #18)
> Created attachment 82373 [details]
> Formula almost without problems, when no OpenSymbol is installed.

Could you try to write a formula that includes integrals and partial differentials? I have the same problem since I work in Windows 8.1 with OO 4.0.1 and integrals really look awful. Have you tried to use built-in Export as pdf? Documents generated by that don't seem to be affected by this issue.
Comment 20 Mijail 2014-02-18 03:45:29 UTC
(In reply to Nicholas Moisan from comment #1)
> I was able to replicate the two bugs shown in the example, also on a Windows
> 8 64-bit computer. I was able to reproduce this bug in 3.4.1 as well as
> version 4.0.0.
> I did not notice this bug occurring with any other symbols besides the
> "cdot" and "sqrt" symbols. I was unable to test this on a Windows 7 machine,
> so I have no insight into whether this is an OS-related bug or not.
> 
> However, I would argue that this is a p5 level bug as it is only a minor
> issue and does not affect the functionality of the program, just makes it
> slightly more difficult to read.

Well, I agree that it doesn't affect the functionality of the program, but I can't use OO Impress anymore since slides present formulas with a wrong aspect for a presentation. This bug is really annoying, specially when using integrals and partial derivatives.
Comment 21 poivron5 2014-02-18 16:48:58 UTC
*** This issue has been confirmed by popular vote. ***
Comment 22 Mijail 2014-02-18 19:32:01 UTC
Created attachment 82622 [details]
Windows 7 Vs. Windws 8.1
Comment 23 juffif 2014-02-26 20:47:31 UTC
I can reproduce the problems with integrals and partial derivatives posted by Mijail. I can also confirm that the problems are not visible in the PDF export, only on screen. This is also the case for the examples that I posted, withe sole exception of the square root, which has the (comparably minor) problem that there remains a small gap between the root sign and the overline.

I also do not share the point of view that this does not affect the functionality of the program. I use OpenOffice mostly for slides, and I need to be able to project them in a way that looks professional.
Comment 24 choffardet 2015-11-19 21:25:19 UTC
Confirming these problems with Windows 10 And AOo 4.1.2
All my slides using formulas with cdot and sqrt look ugly
Comment 25 askoh 2020-01-19 05:02:12 UTC
It is 2020. How can we get this problem fixed? Ugliness is very costly to OpenOffice's reputation.

Thanks,
Aik-Siong Koh
Comment 26 Matthias Seidel 2020-01-19 06:21:23 UTC
(In reply to askoh from comment #25)
> It is 2020. How can we get this problem fixed? Ugliness is very costly to
> OpenOffice's reputation.
> 
> Thanks,
> Aik-Siong Koh

OpenOffice is completely developed by volunteers.

Feel free to help, if you can! ;-)

Thanks!